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

netrc #16

Merged
merged 1 commit into from
Oct 20, 2020
Merged

netrc #16

merged 1 commit into from
Oct 20, 2020

Conversation

nebhale
Copy link
Member

@nebhale nebhale commented Oct 19, 2020

This change adds support for reading a netrc file for basic auth credentials when downloading a buildpack's dependency. It also makes some modifications to the download layer API to simplify it using a variadic argument.

This change adds support for reading a netrc[1] file for basic auth
credentials when downloading a buildpack's dependency.  It also makes some
modifications to the download layer API to simplify it using a variadic
argument.

[1]: https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html

Signed-off-by: Ben Hale <[email protected]>
@nebhale nebhale added type:enhancement A general enhancement semver:minor A change requiring a minor version bump labels Oct 19, 2020
@nebhale nebhale requested a review from a team October 19, 2020 23:33
@nebhale
Copy link
Member Author

nebhale commented Oct 19, 2020

@ekcasey Please cut a release of libpak once this merges in. Thanks!

Copy link
Member

@ekcasey ekcasey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! It's probably worth documenting this feature of the packager somewhere in the future.

@ekcasey ekcasey merged commit 38155c5 into main Oct 20, 2020
@ekcasey ekcasey deleted the netrc branch October 20, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:minor A change requiring a minor version bump type:enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants