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

Fix log parsing for DNF5 #59

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Fix log parsing for DNF5 #59

merged 1 commit into from
Jan 18, 2024

Conversation

yselkowitz
Copy link
Collaborator

@yselkowitz yselkowitz commented Jan 18, 2024

Based on logs from some of the first builds with DNF5, there are a couple differences in root.log that matter to our parser.

First, the NVR is quoted in the "already installed" message:

- Package coreutils-9.4-1.fc40.x86_64 is already installed.
+ Package "coreutils-9.4-1.fc40.x86_64" is already installed.

Second, IEC abbreviations are used when describing package sizes (and there also seems to be a change from download size to installed size, not that the number matters here):

- make   x86_64 1:4.4.1-2.fc39   build  579 k
+ make   x86_64 1:4.4.1-2.fc39   build  1.8 MiB

Based on logs from some of the first builds with DNF5, there are a
couple differences in root.log that matter to our parser.

First, the NVR is quoted in the "already installed" message:

- Package coreutils-9.4-1.fc40.x86_64 is already installed.
+ Package "coreutils-9.4-1.fc40.x86_64" is already installed.

Second, IEC abbreviations are used when describing package sizes (and
there also seems to be a change from download size to installed size,
not that the number matters here):

- make   x86_64 1:4.4.1-2.fc39   build  579 k
+ make   x86_64 1:4.4.1-2.fc39   build  1.8 MiB
@yselkowitz
Copy link
Collaborator Author

/cc @asamalik @sgallagher

@tdawson tdawson merged commit cc436b7 into minimization:master Jan 18, 2024
1 check passed
@yselkowitz yselkowitz deleted the dnf5 branch June 4, 2024 23:32
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

Successfully merging this pull request may close these issues.

None yet

3 participants