wesbarnett / snap-pac

Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST
GNU General Public License v2.0
180 stars 14 forks source link

Allow disabling of DESC_LIMIT #27

Closed Tank-Missile closed 5 years ago

Tank-Missile commented 5 years ago

I want to be able to see all packages listed in the description no matter how many there are to upgrade, but there doesn't appear to be a clean way to do this without setting DESC_LIMIT to a higher number. Perhaps make it so DESC_LIMIT=0 prevents truncation?

wesbarnett commented 5 years ago

Okay, I will look into adding this.

Also, you can always see the packages in /var/log/pacman.log.

maximbaz commented 5 years ago

Setting DESC_LIMIT=100000 effectively disables the limit, since you'll have to configure DESC_LIMIT anyway, honestly there isn't much point in introducing additional conditions in the code itself 😉

wesbarnett commented 5 years ago

After thinking about this more, the description is really intended to just give a quick glance on what happened for that snapshot. You can always look at the pacman log to get all the details if it's not sufficient.