xbps icon indicating copy to clipboard operation
xbps copied to clipboard

--dry-run --update output format

Open eoli3n opened this issue 3 years ago • 1 comments

I want to parse package update list. Is there a way to have with xbps-install --dry-run --update to print an output like xbps-install -Su ?

➜ xbps-install --dry-run --update xorg-server-xwayland
xorg-server-xwayland-1.20.10_2 update x86_64 https://alpha.de.repo.voidlinux.org/current 1979576 909924

➜ sudo xbps-install -Su xorg-server-xwayland
[...]
  xorg-server-xwayland (1.20.10_1 -> 1.20.10_2) 
[...]

I would like to get, in dry-run mode, a list of all packages with those informations:

$package_name_without_version $current_version $update_version

eoli3n avatar Dec 23 '20 16:12 eoli3n

up

eoli3n avatar Feb 08 '21 12:02 eoli3n