You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plugin: Windows local paths (C:\..., .\x.yaml) are treated as registry names #997
Found by the new Windows CI job (#971): TestRunPluginInspect_ResolvesLocalFile failed on windows-latest.
plugin.ParseRef recognises a local plugin file only by the prefixes ./, ../ and /. A Windows path such as C:\Users\me\demo.yaml or .\demo.yaml falls through to the official-registry branch, so spawn plugin inspect / install on a Windows controller looks the file name up in spore-host/spore-plugins over the network and fails with "has no published releases in spore-host/spore-plugins". A Windows user cannot use a local plugin file at all, and the test made a live GitHub API call from CI.
Fix: also treat filepath.IsAbs(ref) and the OS-separator forms of ./ and ../ as local.
Activity
Windows CI: fix Windows test failures and real Windows bugs, skip Lin…
Windows CI: fix Windows test failures and real Windows bugs, skip Lin…
Windows CI: fix Windows test failures and real Windows bugs, skip Lin…
Windows CI: fix Windows test failures and real Windows bugs, skip Lin…