Skip to content

display warning for ignored packages #17

Closed
rmarquis opened this Issue Jul 6, 2011 · 4 comments

2 participants

@rmarquis
rmarquis commented Jul 6, 2011

If possible, cower should display a warning instead of not displaying anything when a package update is available but the package is ignored, similarly to what pacman does ("warning: : ignoring package upgrade ( => )").

User case: an aur package is ignored in pacman/cower config file, but the user has forgotten about it. There is no way to know about it apart from looking in the config file.

@falconindy
Owner

cower -u will always show you, without regard for configs, every package available for update.

@rmarquis
rmarquis commented Jul 6, 2011

Then I might have found a bug :]

Without config file:
cower -u
:: burp 1.6.3-0 -> 1.6.3-1
:: rar 4.0.0-1 -> 4.0.1-1

With ~/.config/cower/config and "IgnorePkg = burp":
cower -u
:: rar 4.0.0-1 -> 4.0.1-1

With "IgnorePkg = burp rar":
cower -u
[nothing displayed]

@falconindy
Owner

So, the only bug is that I ripped out a bit too much of my pacman config parsing when I started on my pacman4 branch, so the ignored pkg i had in pacman.conf wasn't honored. The current behavior which you see is intentional, and correct.

Be responsible. Know your configs. cower doesn't babysit you through the build process, and it's not going to babysit you here. Ignoring an AUR package is very different from ignoring a binary package, and I don't think it's correct to be drawing parallels.

@falconindy falconindy closed this Jul 6, 2011
@rmarquis
rmarquis commented Jul 6, 2011

Thanks a lot for your fast answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.