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

Merged
merged 1 commit into from
Jan 21, 2025

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

@classabbyamp classabbyamp force-pushed the dry-run-consistent branch 2 times, most recently from 72bd5df to ee85eaa Compare January 21, 2025 14:05
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
@Duncaen Duncaen merged commit 8f01155 into void-linux:master Jan 21, 2025
6 checks passed
@classabbyamp classabbyamp deleted the dry-run-consistent branch January 21, 2025 14:54
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
2 participants