Details
-
Task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
-
Modules
-
2
-
Windows 2016-08-24, Windows 2016-09-07, Modules 2016-09-21
Description
Not required before next unsupported release.
Ideally these tests are automated
Originally I wanted to specify a source name and location as a one shot deal:
chocolateysource { 'c:\\packages': }
|
However this could cause confusion - A user could specify
chocolateysource {'chocolatey':}
|
Would set the default repository source id to chocolatey and source location to chocolatey, instead of the default https://chocolatey.org/api/v2. This is just an example as most would disable that source, but if it happens, it could be quite alarming for users. We've looked over other repo configuration providers, yumrepo and it requires explicitly setting the baseurl. So we've decided we should follow the same approach and remove the default setting.
It's possible that if someone set source disabled and then removed the disabled, they could accidentally trigger this behavior.
Attachments
Issue Links
- duplicates
-
MODULES-3851 chocolatey (master): Smoke Tests Error
-
- Closed
-
- relates to
-
MODULES-3037 Chocolatey - custom provider for source (configuration)
-
- Resolved
-
- links to