-
Notifications
You must be signed in to change notification settings - Fork 197
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
Report version number when running rpm-ostree compose tree #1556
Comments
While we know the assembler is tracking FAHC, it's still useful information in general since the feature set of these is changing pretty quickly. Ref: coreos/rpm-ostree#1556
A patch to do that would probably be fewer lines than this reply, but...I lean a little bit towards having higher level tools do stuff like that. It should also be an easy patch for e.g. pungi right? Or for instance, a patch to our new coreos-assembler project. |
Why would pungi report the version of a tool that it's not in control off, that makes no sense what so ever, a line in the output of the tool would be useful especially when it generally isn't run interactively. I had to dig through a whole bunch of different log files this morning to work out the version of rpm-ostree. |
While we know the assembler is tracking FAHC, it's still useful information in general since the feature set of these is changing pretty quickly. Ref: coreos/rpm-ostree#1556
I sit on both sides of this fence. for peter's particular case it's not too hard to find the version by looking at what rpm got installed in the root.log (log here) from the koji task. on the other hand it can be useful in a build system to have output (log output) that gives you this information more freely right at the top of the log where people are going to look first. Another particular example of this I find useful is anaconda where the first statement in the log is something like:
|
@dustymabe you're right it's not hard, but it's time consuming where most tools like this would report it because it's useful information. Ultimately I have no particular urge to bike shed. I thought it is a useful piece of information to have reported by the tool itself. If you don't wish to be helpful to your users well ¯_(ツ)_/¯ |
@cgwalters - a PR for something like this would be a good "first issue" for someone learning the project. Would you accept a patch if a newcomer submitted one? |
Pungi today directly invokes rpm-ostree right? It's certainly in control.
Hey now, let's be civil here. I think my initial response here was - note I'm not saying no. One other important piece of background here is that today, rpm-ostree doesn't have any kind of split between client and server side compose tooling, and I regret that now. Part of working on the new coreos-assembler project is to implicitly create that split. We have far more freedom to depend on whatever tooling we want in a separate project. Particularly for rojig we depend on e.g. |
Sure. |
Users doing builds that are using newer features want to be sure they have the right version. Closes: coreos#1556
Users doing builds that are using newer features want to be sure they have the right version. Closes: coreos#1556
Users doing builds that are using newer features want to be sure they have the right version. Closes: coreos#1556
Users doing builds that are using newer features want to be sure they have the right version. Closes: coreos#1556
When running a compose tree within other tools such as pungi rpm-ostree doesn't output any details of the version that's running. It would be useful to enable quick and easier debug if it output a line with version, and possibly some other pertinent information (no I'm not sure what that might be) to aid debug.
An example extract of the beginning of a compose currently looks like this:
The text was updated successfully, but these errors were encountered: