User:Maffblaster/Drafts/Gentoo developer workstation

From Gentoo Wiki
Jump to:navigation Jump to:search

Ebuild development

Time savers

Instead of manually running ebuild command so often, the project source directory can be watched with entr (app-admin/entr).

See also Reflex (written in Go).

Testing environments

There are several developers who have made their testing setups available for cloning:

Custom ebuild repositories

Search

Scripts

List any package installed from a repository other than the "gentoo" repository:

user $for i in /var/db/pkg/*/*; do if ! egrep ^gentoo$ $i/repository >/dev/null; then echo -e "`basename $i`\t`cat $i/repository`"; fi; done

eix

eix has the -J option, which will only match packages which have been installed from an overlay. This will filter out all results from ::gentoo and search only packages available via overlays.