jjk-jacky / kalu

Keep Arch Linux Up-to-date -- an upgrade notifier for Arch Linux
Other
60 stars 15 forks source link

IgnorePkg list gets truncated #54

Closed protist closed 7 years ago

protist commented 7 years ago

I'm having problems with my system, so I have quite a few different packages ignored in /etc/pacman.conf

IgnorePkg   = linux-lts bbswitch-lts nvidia-lts jemalloc libmikmod bluedevil kdecoration breeze breeze-gtk breeze-kde4 discover drkonqi kactivitymanagerd kde-cli-tools kde-gtk-config libksysguard milou kscreenlocker kwin plasma-integration kuiserver plasma-workspace kdeplasma-addons kgamma5 khotkeys kinfocenter kmenuedit knetattach libkscreen kscreen ksshaskpass ksysguard kwallet-pam kwayland-integration kwrited oxygen polkit-kde-agent systemsettings plasma-desktop plasma-nm plasma-pa plasma-sdk plasma-workspace-wallpapers powerdevil sddm-kcm user-manager xdg-desktop-portal-kde

However, kalu tells me that some of these are still to be updated. I tried running kalu -d.

[11:36:50] parsing pacman.conf (/etc/pacman.conf) for options
[11:36:50] config: attempting to read file /etc/pacman.conf
[11:36:50] config: new section 'options'
[11:36:50] config: arch: x86_64
[11:36:50] config: IgnorePkg: linux-lts
[11:36:50] config: IgnorePkg: bbswitch-lts
[11:36:50] config: IgnorePkg: nvidia-lts
[11:36:50] config: IgnorePkg: jemalloc
[11:36:50] config: IgnorePkg: libmikmod
[11:36:50] config: IgnorePkg: bluedevil
[11:36:50] config: IgnorePkg: kdecoration
[11:36:50] config: IgnorePkg: breeze
[11:36:50] config: IgnorePkg: breeze-gtk
[11:36:50] config: IgnorePkg: breeze-kde4
[11:36:50] config: IgnorePkg: discover
[11:36:50] config: IgnorePkg: drkonqi
[11:36:50] config: IgnorePkg: kactivitymanagerd
[11:36:50] config: IgnorePkg: kde-cli-tools
[11:36:50] config: IgnorePkg: kde-gtk-config
[11:36:50] config: IgnorePkg: libksysguard
[11:36:50] config: IgnorePkg: milou
[11:36:50] config: IgnorePkg: kscreenlocker
[11:36:50] config: IgnorePkg: kwin
[11:36:50] config: IgnorePkg: plasma-integration
[11:36:50] config: IgnorePkg: kuiserver
[11:36:50] config: IgnorePkg: plas
[11:36:50] config: checkspace
[11:36:50] config: verbosepkglists
[11:36:50] config: SigLevel: Required
[11:36:50] config: SigLevel: DatabaseOptional
[11:36:50] config: new section 'core'

It appears IgnorePkg has been truncated by kalu.

Running the latest kalu-kde 4.1.0-2 (kalu with --enable-status-notifier).

jjk-jacky commented 7 years ago

Oh right... I have a fix for this, I'll push it soon. It's not a perfect fix, but basically it'll raise line limit from 255 to 4096, much like pacman's.

As a workaround though, you could always split those under many lines, might even help w/ readability; e.g:

IgnorePkg = linux-lts bbswitch-lts nvidia-lts IgnorePkg = jemalloc libmikmod bluedevil IgnorePkg = breeze breeze-gtk breeze-kde4

and so on...

jjk-jacky commented 7 years ago

Alright, fix pushed (to next).

Thanks for the report!

protist commented 7 years ago

you could always split those under many lines

Oh, I didn't know that worked too. I tested, and both pacman and kalu are good with this.

Alright, fix pushed (to next).

I tested, and this works well instead. Thank you for the blazingly quick fix!