-
Notifications
You must be signed in to change notification settings - Fork 93
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
repoquery --qf newline behavior changed #709
Comments
Just want to add that this makes it rather hard to support |
I was thinking that the new behavior is not only consistent with rpm Since we are switching to dnf5 which includes other changes I thought it was a good time for such an improvement. However it is indeed a breaking change. |
DNF5 contains a breaking change in the repoquery --qf output, specifically it does not include the trailing newline. This breaks the test case e.g. on the latest Fedora Rawhide [1]. As a fix, explicitly use 'dnf4' for now, until the inconsistency is fixed in the upstream [2]. [1] https://artifacts.dev.testing-farm.io/3a3a2898-0a6a-42eb-8792-660f03c35c3c/ [2] rpm-software-management/dnf5#709 Signed-off-by: Tomáš Hozza <[email protected]>
DNF5 contains a breaking change in the repoquery --qf output, specifically it does not include the trailing newline. This breaks the test case e.g. on the latest Fedora Rawhide [1]. As a fix, explicitly use 'dnf4' for now, until the inconsistency is fixed in the upstream [2]. [1] https://artifacts.dev.testing-farm.io/3a3a2898-0a6a-42eb-8792-660f03c35c3c/ [2] rpm-software-management/dnf5#709 Signed-off-by: Tomáš Hozza <[email protected]>
Additionally, |
Fallout from the move to f41 and dnf5. A few issues: first, looks like Looks like dnf5 repoquery's `--qf` acts differently. Not only it no longer implicitly emits a newline, but also it doesn't interpret `\t` anymore. This is tracked at: rpm-software-management/dnf5#709 Second, `--quiet` is broken and still includes output from progress bar: rpm-software-management/dnf5#1915 Work around this by using spaces instead of `\t`, adding `\n`, and prefixing pkg entries with `pkg:`.
Fallout from the move to f41 and dnf5. A few issues: first, looks like Looks like dnf5 repoquery's `--qf` acts differently. Not only it no longer implicitly emits a newline, but also it doesn't interpret `\t` anymore. This is tracked at: rpm-software-management/dnf5#709 Second, `--quiet` is broken and still includes output from progress bar: rpm-software-management/dnf5#1915 Work around this by using spaces instead of `\t`, adding `\n`, and prefixing pkg entries with `pkg:`.
I moved your finding to a separate issue #1916 as it is an independent problem. |
The new-line issue was already rejected by DNF developer in Bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2324312. Closing this issue. |
Yes it may seem a smaller thing, but this change of behavior breaks scripts etc...
(even if consistent with rpmquery).
The text was updated successfully, but these errors were encountered: