Difference between revisions of "Repository backups"
Jump to navigation
Jump to search
(One intermediate revision 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> | + | 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 == |
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:
- anonymous FTP from ftp://download.gnu.org.ua/pub/snapshots/
- rsync gnu.org.ua::snapshots
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.