Difference between revisions of "Repository backups"

From Puszcza Wiki
Jump to navigation Jump to search
(Created page with "All repositories hosted on Puszcza are backed up on daily basis at 03:06 UTC. Backups are available for download via: * anonymous FTP from ftp://download.gnu.org.ua/pub/snaps...")
 
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
== Git Repositories ==
 
== Git Repositories ==
  
Each Git repository is archived to <tt>''project''.''commit''.tar.gz</tt>, where ''commit'' is the latest commit ID (abbreviated to the first 8 digits). The file ''project''<tt>.latest.tar.gz</tt> is a symbolic link to that file.
+
Each Git repository is archived to  
 +
 
 +
  <tt>''project''.''commit''.tar.gz</tt>
 +
 
 +
where ''commit'' is the latest commit ID (abbreviated to the first 8 digits). The file ''project''<tt>.latest.tar.gz</tt> is a symbolic link to that file.
  
 
== SVN Repositories ==
 
== SVN Repositories ==
Line 21: Line 25:
  
 
An exact copy of each CVS repository is provided in file ''project''.tar.gz.
 
An exact copy of each CVS repository is provided in file ''project''.tar.gz.
 +
 +
== Mercurial Repositories ==
 +
 +
For each Mercurial repository, the following files are available (''rev'' stands for the latest revision number):
 +
 +
* <tt>''project''.''rev''.tar.gz</tt>: A gzipped tarball of the repository.
 +
* <tt>''project''-snapshot.tar.gz</tt>: A snapshot, obtained by running <tt>hg archive --rev ''rev'' --type tgz</tt>.

Latest revision as of 16:02, 20 March 2014

All repositories hosted on Puszcza are backed up on daily basis at 03:06 UTC. Backups are available for download via:

The backup method and naming scheme depends on the type of the repository. In the discussion below, project stands for the system name of the project.

Git Repositories

Each Git repository is archived to

 project.commit.tar.gz

where commit is the latest commit ID (abbreviated to the first 8 digits). The file project.latest.tar.gz is a symbolic link to that file.

SVN Repositories

For each SVN repository, the following files are available (rev stands for the latest revision number):

  • project.rev.dump.gz: A gzipped dump of the repository.
  • project.dump.gz: A symbolic link to the above.
  • project-snapshot.tar.gz: A snapshot, obtained by running svn export project/trunk and archiving it with tar -z.

CVS Repositories

An exact copy of each CVS repository is provided in file project.tar.gz.

Mercurial Repositories

For each Mercurial repository, the following files are available (rev stands for the latest revision number):

  • project.rev.tar.gz: A gzipped tarball of the repository.
  • project-snapshot.tar.gz: A snapshot, obtained by running hg archive --rev rev --type tgz.