-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add support for Netrc for Downloader (cherry-pick #2833) #2955
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
Conversation
@neonichu can this be considered for merge to the release/5.3 branch? |
@swift-ci please smoke test |
@MaxDesiatov Depends on the pending tools PR referenced |
swiftlang/swift-tools-support-core#133 |
@MaxDesiatov I'm assuming self-hosted had a package caching issue? |
It could be because self-hosted build points to the |
Yep, self-hosted uses what's declared in the manifest and doesn't support cross-repo testing at the moment. As far as inclusion into 5.3 goes, I kicked off a thread with the relevant folks to decide. |
@neonichu any update on this? |
Hi @sstadelman, sorry for the delay. We discussed this now, but first would like to see two tweaks here:
|
Hi @neonichu , Right now, the behavior is closer to I infer from the quote that we should not use the default configuration file, if If the intention is to precisely imitate Perhaps we should instead add |
I think this sounds like a good course of action. |
…ags; adapted behavior for --netrc-file.
@swift-ci please test |
@MaxDesiatov I updated Package.swift to reference |
@MaxDesiatov had a local path in the test, should be clear now. |
@swift-ci please test |
We decided to not take this for 5.3, but as the changes are on |
Adds support for authenticated download for binary artifacts. Cherry-picking PR #2833 from main.
Depends on swift-tools-support-core PR #133.