Christoph Egger wrote:

>On Tue, 15 May 2001, Stefan Seefeld wrote:
>
>>Eric Faurot wrote:
>>
>>>Christoph Egger writes:
>>>
>>>>
>>>>Hi!
>>>>
>>>>The cvs-snapshots at ftp://ftp.ggi-project.org/pub/ggi/ggi-snapshots
>>>>are obseleted and the creation process seems to be broken.
>>>>
>>>>Is anyone here, who can fix the creation process up to create the
>>>>snapshots from the SourceForge CVS, please?
>>>>
>>>I can do that, but is it really necessary? I mean what do you use the
>>>snaspshots for?
>>>
>>snapshots are good for people who want to download the most recent 
>>sources without using cvs.
>>A snapshot script should therefor be a crontab job that checks out from 
>>cvs, checks whether there
>>are any differences to the last version, and if so generate a snapshot.
>>
>>here is the relevant part of a Makefile we use to generate snapshots as 
>>well as diffs
>>on sourceforge (for berlin). It does the following:
>>
>>* cvs update the current root
>>* rename it to 'berlin-15-05-01'
>>* compare it to yesterdays version
>>* if there are no changes, stop
>>* else make a snapshot as well as a diff package
>>* move both to the ftp directory
>>* relink 'berlin-current' to the latest version
>>
>>PS: again, I do think that the best place for this is sourceforge. You 
>>may have mirrors, though.
>>
>
>Your script might not work forever at sourceforge, because you don't
>remove old snapshots.
>

and what's that:

              find $(snapdir) -ctime 60 -exec rm {} \; ; \

? ;)

Regards,    Stefan


Reply via email to