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

Multiple authenticated sources with same base url fail when authentication is different #1248

Closed
ferventcoder opened this issue Apr 12, 2017 · 1 comment

Comments

@ferventcoder
Copy link
Member

What You Are Seeing?

Add two authenticated sources with the same base url

eg: https://internal.location/repo1 / https://internal.location/repo2

What is Expected?

That you can query and receive packages from each of those sources.

How Did You Get This To Happen? (Steps to Reproduce)

It only returns packages from the first source.

@ferventcoder
Copy link
Member Author

This is fixed for 0.10.6.

ferventcoder added a commit that referenced this issue Jun 1, 2017
Previously, when matching to an authenticated source that uses
credentials, Chocolatey used the first source it found, even if there
may have been multiple sources. Instead build a list of candidate
sources by matching host (base url), and if multiple sources are found,
then match against the full source url for a match. If that
fails, fall back to the previous behavior of using the first found
source.
ferventcoder added a commit that referenced this issue Jun 1, 2017
* stable:
  (doc) update CHANGELOG/nuspec
  (maint) formatting
  (GH-1248) Fix - multiple sources w/same base url fail
  (doc) CONTRIBUTING - automated testing
  (doc) CONTRIBUTING - build artifacts
  (doc) Testing - note frameworks used
  (GH-1315) Skip AutoUninstaller if no uninstall string
  (doc) update CHANGELOG/nuspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants