-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit makes the `cmd/build` command use the manifestgen module to remove some code duplication. It does not move to use the actual `manifestgen.Generator` because the way the repositories are used is not supported by manifestgen right now: `build` supports loading a single repository file but manifestgen expects a reporegistry so that it can map "distroname" to a "repository". We could add support for loading a repo json directly in `manifestgen.Generator` but I do feel uneasy about it because it seems a good property that there is some connection between the distroname and the repo in the general case.
- Loading branch information
Showing
1 changed file
with
4 additions
and
58 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