rmarquis / pacaur

[unmaintained] An AUR helper that minimizes user interaction
https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144
ISC License
796 stars 113 forks source link

Pacman config IgnoreGroup #203

Closed hexid closed 10 years ago

hexid commented 10 years ago

Would it be possible for the IgnoreGroup option in the Pacman configuration to also be checked against AUR packages?

Right now, I'm specifying IgnoreGroup = pacgem, but all the AUR packages that are in the pacgem group are still trying to upgrade when calling pacaur -Sua.

rmarquis commented 10 years ago

The AUR API does not offer 'group' as an option. I also can't find any package that belongs to a group in the AUR - do you have any example?

hexid commented 10 years ago

pacgem creates PKGBUILDs for Ruby gems and adds them to the pacgem group.

Running pacman -Qs pacgem returns all the installed gems and it correctly shows that they are part of the pacgem group.

local/pacgem 0.9.12-1
    Install Ruby Gems as Arch Linux packages
local/ruby-classifier 1.3.3-1 (pacgem)
    A general classifier module to allow Bayesian and other types of classifications.
local/ruby-colorator 0.1-1 (pacgem)
    String core extensions for terminal coloring.

...

local/ruby-syntax 1.0.0-1 (pacgem)
    Syntax is Ruby library for performing simple syntax highlighting.
local/ruby-travis-lint 1.7.0-1 (pacgem)
    Checks your .travis.yml for possible issues, deprecations and so on
local/ruby-yajl-ruby 1.1.0-1 (pacgem)
    Ruby C bindings to the excellent Yajl JSON stream-based parser library.

While they technically aren't part of the AUR, it is possible for AUR packages to be in a group.

Thank you for looking into this.

rmarquis commented 10 years ago

All right, then this is a very different issue. It is similar to adding a third party repository and disabling it, apart from the fact that you build the package locally. The 'group' support for AUR package is only a cheap workaround for this - group aren't supported by the AUR. You can't install a "group" from the AUR, the API doesn't provide any support for it, neither does cower.

I'm not going to implement any hack for this. Either you should use gem locally as they should, or add the ruby packages to the AUR, but their is no point in mixing two package managers. Closing as 'Invalid'.