Subject: Re: keeping pkgsrc up-to-date
To: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
From: Sean Davis <dive@endersgame.net>
List: tech-pkg
Date: 07/01/2002 22:20:17
If you want to use the changes lists to automatically update, I suggest you
use Thomas's script rather than mine. Mine is hacked to ignore branch
commits and such, and his handles the tree-to-local-directory mapping a lot
better than mine.
-Sean
On Tue, Jul 02, 2002 at 03:12:25AM +0200, Thomas Klausner wrote:
> On Tue, Jul 02, 2002 at 12:26:59AM +0200, Marton Fabo wrote:
> > As I see, daily pkgsrc changes are generated for the pkgsrc-changes list,
> > and sent to all the subscribers. Couldn't this or some similar thing be
> > used to keep in sync with less disk and network traffic? For example, some
> > script could be written to extract the files changed since the last day,
> > and update only those files. I'm sure this would be much lighter/faster
> > than a full CVS update for example.
>
> I've written a short perl script that does exactly that -- use
> source-changes (and/or www-changes and/or pkgsrc-changes) mails as
> input and do the suitable cvs updates.
>
> I'm sure I'm not the only one who has such a script, and it might have
> a bug or two lurking, but so far I've been pretty happy about it.
>
> You'll have to configure it before the first start, read the comments
> in the file.
>
> If you find any problems, mail me.
>
> Bye,
> Thomas
>
> --
> Thomas Klausner - wiz@danbala.tuwien.ac.at
> Intolerance is the last defense of the insecure.
--
/~\ The ASCII Sean Davis
\ / Ribbon Campaign aka dive
X Against HTML
/ \ Email! http://endersgame.net/~dive/