-
Notifications
You must be signed in to change notification settings - Fork 126
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
xbps-install -n prints nothing for installed/download size if 0 #610
Comments
classabbyamp
added a commit
to classabbyamp/xbps
that referenced
this issue
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. Fixes: void-linux#610
classabbyamp
added a commit
to classabbyamp/xbps
that referenced
this issue
Jan 2, 2025
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
classabbyamp
added a commit
to classabbyamp/xbps
that referenced
this issue
Jan 21, 2025
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
classabbyamp
added a commit
to classabbyamp/xbps
that referenced
this issue
Jan 21, 2025
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
classabbyamp
added a commit
to classabbyamp/xbps
that referenced
this issue
Jan 21, 2025
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
pushed a commit
that referenced
this issue
Jan 21, 2025
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: #610
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for a metapackage like
removed-packages
,installed-size
is 0, soxbps-install -n
prints nothing for that field:xbps/bin/xbps-install/transaction.c
Lines 69 to 72 in e82437f
combined with
download-size
possibly being 0, this makes parsing the output harder/impossible because there aren't a consistent number of fields per line.this should probably print
0
or-
, but having json output (like xbps-query is getting) would also be nice for simpler parsing by other programsThe text was updated successfully, but these errors were encountered: