| CVS snapshots [message #865] |
Thu, 05 April 2007 14:26  |
lodp  Messages: 336 Registered: June 2006 |
Releaser |
|
|
It would be great to be able to offer daily/weekly snapshots of the CVS. I skimmed through the SF documentation, but I only found out that Nightly Tarballs are deprecated, and one should use rsync instead. They also provide a string to use for rsync, and I managed to sorta download the repository to my disk (although every file had a strange extension after that). But I wouldn't know how to implement this on the SF page, so users can really download daily snapshots. Any ideas how to do that? I'm only guessing, but could it be done with a cronjob of sorts (that downloads the repository and makes a tarball/zip out of it, and updates a link?)
This is what it says in the SF documentation about rsync:
| Quote: |
Rsync access to the developer CVS content is provided, allowing projects and other users direct access to the raw CVS repository data, much like the deprecated nightly tarball service. The use of rsync means that there will no longer be a delay between what is in the repository and the data that a user can download for backups or major code refactoring. Rsync can be used to copy an entire project's repository (replace PROJECTNAME with the project UNIX name):
$ rsync -av rsync://PROJECTNAME.cvs.sourceforge.net/cvsroot/PROJECTNAME/ * .
Note that you cannot rsync the entire cvsroot rsync module for performance reasons.
|
[Updated on: Thu, 05 April 2007 14:33] Report message to a moderator
|
|
|
| Re: CVS snapshots [message #897 is a reply to message #865] |
Thu, 12 April 2007 20:13   |
lodp  Messages: 336 Registered: June 2006 |
Releaser |
|
|
ok, i got a reply from sourceforge:
| Quote: | Greetings,
CVS snapshots are typically just of the HEAD branch, not of all CVS files and their history. For anyone who wants the entire history, they should use rsync, its an anonymous service available to all. As for creating nightly snapshots, you would want to write a shell script and create a cron job that runs the shell script once a day, week, etc. to generate the snapshots. Just don't forget to prune old ones.
Thank you,
David Burley
Quality of Service Analyst, SourceForge.net
|
I barely managed to pull a copy with rsync to my local computer (although the file extensions were all screwed up). I have no idea how i would write that shell script, and how to integrate the result into the download section of the sourceforge page. any ideas?
|
|
|
|