Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift package-registry <url> subcommand has inconsistent behaviro #8133

Open
1 task done
BlaiseMuhirwa opened this issue Nov 21, 2024 · 0 comments
Open
1 task done
Labels

Comments

@BlaiseMuhirwa
Copy link

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

I don't really have much time to describe this, but I'll go ahead and says this. When I use swift package-registry <url> and input a token after being prompted, the token doesn't get forwarded in the Authorization header. However, when I do swift package-registry <url> --token foo it does.

Expected behavior

Consistency between the two scenarios.

Actual behavior

Being prompted for a token doesn't set it in the authorization header.

Steps to reproduce

No response

Swift Package Manager version/commit hash

5.10

Swift & OS version (output of swift --version ; uname -a)

swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant