Sebastian Pipping <webmas...@hartwork.org> posted
4a3e49c6.5070...@hartwork.org, excerpted below, on  Sun, 21 Jun 2009
16:55:02 +0200:

> What it does not catch is people putting their own ebuilds right into
> the main tree.  As they lose them all on the next sync are we safe to
> assume that no one really does that? If not are there alternatives to
> comparing to a synced checkout of gentoo-x86 (either rsync or CVS)?

Note that one can set PORTAGE_RSYNC_EXTRA_OPTS in make.conf, with the 
contents being added to the normal rsync command.  Looking at the rsync 
manpage, there's the --exclude-from=/path/to/exclude.file option.  That 
file is then examined for a list of files and directories to exclude from 
the rsync.  AFAIK there are other command-line options that accomplish 
the same thing, but listing the exclusions directly on the command line.

It is thus possible to exclude any directory or file that would otherwise 
be synced.  I use that here to exclude my src dir, as I prefer that name 
to the Gentoo standard distdir.  However, it should be obvious that 
anything a sysadmin wishes to add to the exclude list will then not be 
synced, and it'd be entirely possible for a sysadmin to decide to use 
that to store their own ebuilds directly in the tree.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to