-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osbuild: add rpmDownloader to
GenSources()
argument
This commit enables to select what rpm downloader backend to use. The signature of GenSources() is just expanded to take an additonal parameter. It would be nice to re-use the `manifest.Inputs` struct but it is (subtly) different from what GenSource needs :/ I was also tempated to add a "Options" struct to GenSources instead of the enum but YAGNI - if we ever need to add another one this will become a options struct.
- Loading branch information
Showing
3 changed files
with
31 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters