Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Also parse global pacman.conf IgnoreGroup #690

Closed
wants to merge 1 commit into from
Closed

Also parse global pacman.conf IgnoreGroup #690

wants to merge 1 commit into from

Conversation

seanrand
Copy link

Testing the waters with this PR, as this has been discussed and declared wontfix in the past.

I, like apparently some others (#388), have been using the (somewhat questionable) method mentioned in the wiki to prevent locally modified packages from being updated by editing the PKGBUILDs and adding a custom group, which is then added to pacman.conf's IgnoreGroup directive.

This would add any installed packages that are members of ignored groups to the list of ignored packages.

Checks the global pacman.conf for an IgnoreGroup directive and uses pacman to
add all packages that are in these ignored groups to the ignoredpkgs array.
@rmarquis
Copy link
Owner

Still a "won't fix", but I'll be sure to include this if you manage to make the upstream RPC report that group information.

@rmarquis rmarquis closed this May 12, 2017
@seanrand
Copy link
Author

seanrand commented May 12, 2017

@rmarquis AUR RPC actually does report group information, at least for the info query. ;)

https://aur.archlinux.org/rpc.php?v=5&type=info&arg=kodi-addon-pvr-hts

@rmarquis
Copy link
Owner

Oh. I'll have a look shortly.

@seanrand
Copy link
Author

I prematurely deleted my fork, but it can still be fetched with git fetch origin pull/690/head. Would probably make sense to add --foreign to the pacman call if/when you merge.

@rmarquis
Copy link
Owner

Yes, this is why I couldn't reopen this ticket - but I'll have a deeper look tonight.

@rmarquis
Copy link
Owner

The complete implementation requires more work than your little patch, since packages not-yet installed have to be checked against the IgnoreGroup array.

I'm opening a new ticket for this feature. Now tracked in #693.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants