Members   Search      Help    Register    Login    Home
Home » Support Forums for PMBT 1.X » Development » CVS snapshots
CVS snapshots [message #865] Thu, 05 April 2007 14:26 Go to next message
lodp is currently offline lodp  Austria
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 Go to previous messageGo to next message
lodp is currently offline lodp  Austria
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?
Re: CVS snapshots [message #898 is a reply to message #897] Thu, 12 April 2007 21:14 Go to previous message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
got me beat stell getting use to using cvs my self.

http://a.imageshack.us/img831/5562/mybikes.png
Previous Topic:can't upload anything
Next Topic:1.2 release to-do list
Goto Forum:
  


Current Time: Wed Feb 08 04:29:08 GMT 2012

Total time taken to generate the page: 0.03792 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software