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

Add a way to specify distribution profile #2

Open
esyr-rh opened this issue Nov 3, 2017 · 0 comments
Open

Add a way to specify distribution profile #2

esyr-rh opened this issue Nov 3, 2017 · 0 comments

Comments

@esyr-rh
Copy link
Contributor

esyr-rh commented Nov 3, 2017

As of now, there is already some profile support in place, which assumes different build scenarios (testing, release). However, in order to accommodate differences in various distributions in a usable way (rather that providing bunch of -C options each time), sets of configuration options for these should be bundled in some separate configuration files which then can be supplied to ddiskit in a way similar to the current profile setting. The open questions here:

  • Do we need more flexible support for additional configuration files rather than adding yet another profile?
  • How the priorities of these distribution profiles comparing to existing profiles should be set? As of now, all the options of interest are independent, but it might not always be the case. Should these priorities be configurable?
orosp pushed a commit that referenced this issue Jan 15, 2019
* profiles/rh-release (spec_file.rpm_dist): Define to
"el{major}_{minor}".
* profiles/rh-testing (spec_file.rpm_dist): Likewise.
* templates/config: Add configuration options for major/minor.
* bin/ddiskit (parse_cli): Add options for setting major/minor in
prepare_sources command.
* ddiskit.1 (.SS Options for prepare_sources action): Document -M and -m
options.

References: #2
References: #8
Signed-off-by: Eugene Syromiatnikov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant