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

bin/xbps-install/transaction: print consistently for dry run #611

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

classabbyamp
Copy link
Member

@classabbyamp classabbyamp commented Dec 10, 2024

this ensures there will always be 6 fields per line, making it possible to parse the output consistently. arch and repository default to -. installed_size and filename-size default to 0 to allow for easy tabulation.

example:

# before
linux-lts-6.6_1 update x86_64 /home/abi/void/packages/hostdir/binpkgs/test 560
# after
linux-lts-6.6_1 update x86_64 /home/abi/void/packages/hostdir/binpkgs/test 0 560

Fixes: #610

this ensures there will always be 6 fields per line, making it possible
to parse the output consistently. `arch` and `repository` default to `-`.
`installed_size` and `filename-size` default to `0` to allow for easy
tabulation.

Fixes: void-linux#610
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.

xbps-install -n prints nothing for installed/download size if 0
1 participant