Skip to content
This repository has been archived by the owner. It is now read-only.

IgnorePkg of included files are ignored #681

Closed
steadfasterX opened this issue Apr 22, 2017 · 1 comment
Closed

IgnorePkg of included files are ignored #681

steadfasterX opened this issue Apr 22, 2017 · 1 comment

Comments

@steadfasterX
Copy link

@steadfasterX steadfasterX commented Apr 22, 2017

Version
pacaur 4.7.2
Description

IgnorePkg gets not fully honored when it is not in the default /etc/pacman.conf file.
You can specify config file includes e.g. for the options stanza:

[options]
Include = /etc/pacman.d/autoupdate.conf 

Content of /etc/pacman.d/autoupdate.conf :

IgnorePkg = relax-and-recover-git thunderbird backintime backintime-cli

Output

pacaur -k (or pacaur -Quk)

-> it list all packages even those ignored in /etc/pacman-other.conf..
Debug output

bash -x pacaur -k

see here: log as gist

Solution / Code

The following line seems to be the reason for this:

https://github.com/rmarquis/pacaur/blob/master/pacaur#L1602

It only greps on the main config file.

It would be sufficient for me to just be able to choose another config file for parsing like yaourt and pacman offering with the "--config" parameter. If you could add this as a variable instead of the hard coded path to pacman.conf it would be enough in my case..

@steadfasterX steadfasterX changed the title IgnorePkg from included files are ignored IgnorePkg of included files are ignored Apr 22, 2017
@rmarquis

This comment has been minimized.

Copy link
Owner

@rmarquis rmarquis commented Apr 22, 2017

Duplicate. See #433.

@rmarquis rmarquis closed this Apr 22, 2017
@rmarquis rmarquis added the invalid label Apr 22, 2017
@rmarquis rmarquis added this to the 4.7.x - maintenance milestone Apr 22, 2017
steadfasterX added a commit to steadfasterX/arch_pacaur that referenced this issue Apr 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.