projg2 / smart-live-rebuild

Update live packages whose remotes have changed
BSD 2-Clause "Simplified" License
47 stars 7 forks source link

Add option to ignore packages (e.g., app-doc/eclass-manpages) #24

Closed Flowdalic closed 10 months ago

Flowdalic commented 1 year ago

slr always tries to rebuild app-doc/eclass-manpages-99999999, I assume that is due the unique design this particular live ebuild. Not sure if much can be done about it, so my best idea is to have an slr option that allows the user to specify certain packages, like eclass-manpages, from being ignored.

Sneethe commented 10 months ago

@Flowdalic You can already do this with --filter-packages flag. Run smart-live-rebuild -h for more information. For a more permanent solution you can put filter_packages = !cat/pkg in the conf. To have more than one entry delimit with a comma e.g filter_packages = !cat/pkg,!foo/bar etc.

This excellent utility should really have itself a page on the wiki.

Sneethe commented 10 months ago

Even more info about the package filtering feature is hidden on the main readme page. https://github.com/projg2/smart-live-rebuild/blob/master/README#L114

Flowdalic commented 10 months ago

Thanks, --filter-packages looks like it does the trick.