GCC: Anonymous read-only rsync access

In an ongoing effort to accelerate development of GCC and provide an open development environment, we are offering our SVN repository and various other data through anonymous rsync access.

That way you can make local copies of the GCC SVN repository to ease the burden on the GCC main site, and browse the source locally using svn.

Using rsync

The GCC repository is available at rsync://gcc.gnu.org/gcc-svn. The whole repository takes over 7.8G of disk space, which takes a substantial time to transfer. Subsequent synchronizations will be much faster, though, as rsync uses a smart algorithm to only transfer differences over the network.

Here is how you get a copy of the repository:

rsync --archive --delete --compress \
      rsync://gcc.gnu.org/gcc-svn gcc-svn

The same command can be run periodically to synchronize your copy of the repository.

Other rsync options that you might want to use include --verbose and --progress to provide feedback, including during the initial phase that is otherwise silent.

You can get rsync from its home page, rsync.samba.org.

To get a list of available rsync targets, run:

rsync rsync://gcc.gnu.org/

Other interesting data, such as the GCC ftp directories, is also available.

Using the local repository

Refer to SVN instructions to check out your local copy of the repository. Note that the rsync command above will mirror the repository at its root directory, so the URL you will need to use to check out from your local repository will look something like svn+ssh://hostname/usr/local/gcc-svn/ (ie. without the trailing /svn/gcc directory names that would be included for gcc.gnu.org access).