Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings

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

#611
Merged
Duncaen merged 1 commit into
void-linux:mastervoid-linux/xbps:masterfrom
classabbyamp:dry-run-consistentclassabbyamp/xbps:dry-run-consistentCopy head branch name to clipboard
Jan 21, 2025
Merged

bin/xbps-install/transaction: print consistently for dry run#611
Duncaen merged 1 commit into
void-linux:mastervoid-linux/xbps:masterfrom
classabbyamp:dry-run-consistentclassabbyamp/xbps:dry-run-consistentCopy head branch name to clipboard

Conversation

@classabbyamp

@classabbyamp classabbyamp commented Dec 10, 2024

Copy link
Copy Markdown
Member

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
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.