-
Notifications
You must be signed in to change notification settings - Fork 252
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
Remove admin only sources/repos #603
Labels
Feature
Issues that introduce new functionality to the project, instead of updating existing functionality
Milestone
Comments
gep13
added
the
Feature
Issues that introduce new functionality to the project, instead of updating existing functionality
label
Jun 18, 2018
No logic will actually be included in Chocolatey GUI to provide this filtering, instead, this will be defered to Chocolatey Lib, where things like whether it is a licensed version of Chocolatey etc will be inspected, and the correct list of sources/repos will be returned. |
Related to #432 |
gep13
added a commit
to gep13/ChocolateyGUI
that referenced
this issue
Jun 18, 2018
- Rather than reading the configuration file directly - This means that Chocolatey.Lib will do the work for filtering this sources list if/when required
gep13
added a commit
to gep13/ChocolateyGUI
that referenced
this issue
Jun 19, 2018
- To ensure that multiple operations don't happen at same time
gep13
added a commit
that referenced
this issue
Apr 22, 2019
When we changed to getting sources directly from Chocolatey.Lib, rather reading directly from the config file, we introduced a bug. Other parts of Chocolatey GUI expect to have all information about a source available to it, i.e. UserName and Password of an authenticated feed. However, this information isn't available when using Chocolatey.Lib to get the sources. Instead, still read the sources from the config file as before, but filter this list, based on the sources that are retrieved from Chocolatey.Lib. This is a duplication of effort, however, it does mean that the work of filtering the sources list remains where it needs to be, i.e. in Chocolatey.Lib.
🎉 This issue has been resolved in version 0.17.0 🎉 The release is available on: Your GitReleaseManager bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Feature
Issues that introduce new functionality to the project, instead of updating existing functionality
Currently, the available sources/repos are pulled directly from the Chocolatey Configuration file. As a result, functionality that is included in Chocolatey Lib to filter out the available sources, based on other aspects is lost. Rather than reading directly from the configuration file, the
sources_list
function of theIChocolateyConfigSettingsService
should be used.The text was updated successfully, but these errors were encountered: