Closed NicoHood closed 7 years ago
I'll look into this. I am surprised snapper doesn't truncate long descriptions.
Concerning "Edit2": I can't easily grab the packages and version info from pacman with the hook. I think the best way for the user to do that is by looking at the snapshot number and finding it in the pacman log (since it is now output by snap-pac it should show up there). The pacman log will then give the exact details of the transaction.
So the problem is that I'll never know how big your screen is or anticipate how large your terminal emulator might be. snapper might be able to do that though when it displays via snapper list
. Can you file an issue with snapper?
Filed here: https://github.com/openSUSE/snapper/issues/268
You are right, it would be better to fix in snapper, as this way we have more details in the description, if it is really desired. Thatswhy I am closing this and hope to get a fix from upstream.
I recently installed my DE on another system and used the following command:
This command is also used as snapper description. It totally messes up the list when you call
snapper list
. I do not know what would be the best way to solve this, maybe you can add extended information to the xml file but cut off the description after 100chars or so?Edit: Another idea would be to fix it upstream. It could by default show a description of 100 chars and a new parameter
--full
shows the full decription.Edit2: In contrast to that if you run pacman -Syu you have almost no feedback which file were upgraded. It would be nice to add something like
pacman -Syu (nano-3.0-1, linux-4.8-1)
to see which packages were upgraded.