* [gentoo-dev] emerge rsync proposal
@ 2002-12-07 18:38 Timothy Robinson
2002-12-07 20:01 ` skaar
2002-12-07 21:13 ` Mike Frysinger
0 siblings, 2 replies; 5+ messages in thread
From: Timothy Robinson @ 2002-12-07 18:38 UTC (permalink / raw
To: gentoo-dev
I would like to propose a change to the rsync command in the emerge script.
I have /usr/portage/distfiles as a symlink to another filesytem that has
more
space than the root filesystem. Everytime I do an emerge sync, it
overwrites
this and creates a directory. A simple change to the rsync exclude
statements
would fix this problem. Have a look.
This:
mycommand="/usr/bin/rsync -rlptDvz --progress --stats --delete
--delete-after --exclude='distfiles/*' --exclude='packages/*' "
would be changed to this:
mycommand="/usr/bin/rsync -rlptDvz --progress --stats --delete
--delete-after --exclude='/distfiles/' --exclude='/packages/' "
Thanks for the consideration,
Timothy Robinson
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] emerge rsync proposal
2002-12-07 18:38 [gentoo-dev] emerge rsync proposal Timothy Robinson
@ 2002-12-07 20:01 ` skaar
2002-12-07 21:13 ` Mike Frysinger
1 sibling, 0 replies; 5+ messages in thread
From: skaar @ 2002-12-07 20:01 UTC (permalink / raw
To: Timothy Robinson; +Cc: gentoo-dev
* Timothy Robinson (tdrobinson@huli.org) [021207 13:44]:
> I would like to propose a change to the rsync command in the emerge script.
> I have /usr/portage/distfiles as a symlink to another filesytem that has
> more
or you could set DISTDIR/PKGDIR in make.conf
/skaar
> space than the root filesystem. Everytime I do an emerge sync, it
> overwrites
> this and creates a directory. A simple change to the rsync exclude
> statements
> would fix this problem. Have a look.
>
> This:
>
> mycommand="/usr/bin/rsync -rlptDvz --progress --stats --delete
> --delete-after --exclude='distfiles/*' --exclude='packages/*' "
>
> would be changed to this:
>
> mycommand="/usr/bin/rsync -rlptDvz --progress --stats --delete
> --delete-after --exclude='/distfiles/' --exclude='/packages/' "
>
> Thanks for the consideration,
> Timothy Robinson
>
>
> --
> gentoo-dev@gentoo.org mailing list
--
/skaar
+-------------------------------------------------------------------+
+----- skaar@aol.net kent skaar ----------------+
+----- internet services: infrastructure & security ----------------+
+-------------------------------------------------------------------+
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] emerge rsync proposal
2002-12-07 18:38 [gentoo-dev] emerge rsync proposal Timothy Robinson
2002-12-07 20:01 ` skaar
@ 2002-12-07 21:13 ` Mike Frysinger
2002-12-07 21:31 ` Timothy Robinson
1 sibling, 1 reply; 5+ messages in thread
From: Mike Frysinger @ 2002-12-07 21:13 UTC (permalink / raw
To: gentoo-dev
On Saturday 07 December 2002 13:38, Timothy Robinson wrote:
> I would like to propose a change to the rsync command in the emerge script.
> I have /usr/portage/distfiles as a symlink to another filesytem that has
> more
> space than the root filesystem. Everytime I do an emerge sync, it
> overwrites
> this and creates a directory. A simple change to the rsync exclude
> statements
> would fix this problem. Have a look.
or you could simply do a mount bind on that directory ...
mount -o bind /path/to/other/distdir /usr/portage/distdir
or you could do as skaar says and set DISTDIR in your make.conf ...
the reason we enabled --delete is because old ebuilds and packages would
accumulate in users portage directory causing bugs to creep up that were
taken care of
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] emerge rsync proposal
2002-12-07 21:13 ` Mike Frysinger
@ 2002-12-07 21:31 ` Timothy Robinson
2002-12-07 21:34 ` Mike Frysinger
0 siblings, 1 reply; 5+ messages in thread
From: Timothy Robinson @ 2002-12-07 21:31 UTC (permalink / raw
To: vapier; +Cc: gentoo-dev
Mike Frysinger wrote:
>On Saturday 07 December 2002 13:38, Timothy Robinson wrote:
>
>
>>I would like to propose a change to the rsync command in the emerge script.
>>I have /usr/portage/distfiles as a symlink to another filesytem that has
>>more
>>space than the root filesystem. Everytime I do an emerge sync, it
>>overwrites
>>this and creates a directory. A simple change to the rsync exclude
>>statements
>>would fix this problem. Have a look.
>>
>>
>
>or you could simply do a mount bind on that directory ...
>mount -o bind /path/to/other/distdir /usr/portage/distdir
>
>or you could do as skaar says and set DISTDIR in your make.conf ...
>
>the reason we enabled --delete is because old ebuilds and packages would
>accumulate in users portage directory causing bugs to creep up that were
>taken care of
>-mike
>
>--
>gentoo-dev@gentoo.org mailing list
>
I understand that there are different ways to fix my specific problem.
I think that the proposed exclude syntax to rsync is correct for what
needs to be accomplished, which is to leave the distdir and packages
directories alone. The current syntax will leave everything underneath
these directories alone, but not the directories themselves. If that is
what the maintainers desire, then so be it. But if not, I have given
the suggested changes.
Thanks,
Timothy
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] emerge rsync proposal
2002-12-07 21:31 ` Timothy Robinson
@ 2002-12-07 21:34 ` Mike Frysinger
0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger @ 2002-12-07 21:34 UTC (permalink / raw
To: gentoo-dev
> I understand that there are different ways to fix my specific problem.
> I think that the proposed exclude syntax to rsync is correct for what
> needs to be accomplished, which is to leave the distdir and packages
> directories alone. The current syntax will leave everything underneath
> these directories alone, but not the directories themselves. If that is
> what the maintainers desire, then so be it. But if not, I have given
> the suggested changes.
to be honest we already provide the 'proper' way to do this and that is to set
the variables in make.conf ... `man make.conf` for the exact variables.
as such i dont believe changing the way rsync is currently run is needed
-mike
--
gentoo-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-12-07 21:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-07 18:38 [gentoo-dev] emerge rsync proposal Timothy Robinson
2002-12-07 20:01 ` skaar
2002-12-07 21:13 ` Mike Frysinger
2002-12-07 21:31 ` Timothy Robinson
2002-12-07 21:34 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox