Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

Support HTTP Basic authentication when fetching dependencies #254

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ragalie
Copy link

@ragalie ragalie commented Sep 14, 2016

Hello!

I need to be able to supply HTTP Basic auth as part of the discovery process, so I modeled an implementation off of the rkt file format.

Can you take a look and let me know if this is along the lines of what you were thinking?

Thanks!

@ragalie
Copy link
Author

ragalie commented Nov 7, 2016

@jonboulle is this something you'd consider including?

@cgonyeo
Copy link
Member

cgonyeo commented Nov 30, 2016

Wow, so sorry about not getting around to this. I'm just now getting back into acbuild development. I'll review this now.

@cgonyeo
Copy link
Member

cgonyeo commented Nov 30, 2016

Would you be willing to move the authConfigDir into the ACBuild struct in lib/common.go, instead of having it be an argument to Begin? I feel as if it belongs there better.


err := filepath.Walk(directory, func(path string, file os.FileInfo, err error) error {
if err != nil {
return nil
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it would be better to log here what went wrong?

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

Successfully merging this pull request may close these issues.

None yet

2 participants