Project Hosting on Google Code supports the open source community by providing an easy way to manage open source projects. It would hardly be open source if your projects could not escape!
Escaping from Project Hosting on Google Code
Anyone can use the svnsync tool (part of the standard Subversion distribution) to export any Subversion repository hosted on Google Code with full code history; see these detailed svnsync instructions
for the precise commands.
It's hard to use Mercurial without
liberating your data! The basic concept behind a distributed version control system like Mercurial is that every user has the complete history of your repository on their local computer. The first step for using a Mercurial repository is running
, and as soon as that command finishes you have the entire repository history cloned to your computer.
Every project has a feeds page with an URL like http://code.google.com/p/support/feeds
which lists feeds in various formats which can be used to export project data.
- The issue tracker has a full read/write Google Data API which can be used to export your project's issues.
- Every issue list page has a "CSV" link in the bottom right corner that lets you download metadata about the listed issues in comma-separated values format.
- There are issue feeds listed on the Feeds page (see "Feeds" section above).
The contents of Project Hosting wiki pages are stored in Subversion or Mercurial repositories, so the steps above will allow you to liberate the entire history of your project's wiki. (However, Project Hosting on Google Code uses a custom wiki dialect, so you might not be able to directly render your wiki on another service.)
Every download can be downloaded (surprise!); you can write scripts that list downloads and read their metadata using the downloads feed (see "Feeds" section above).
Escaping to Project Hosting on Google Code
The svnsync tool (part of the standard Subversion distribution) can be used to import a pre-existing Subversion repository into Project Hosting on Google Code; see these instructions
for the details.
Importing a repository (with full history) to Mercurial is almost as easy as exporting one. After creating a new repository "foo", go to the repository you want to import and run
Issue TrackerThe issue tracker has a full read/write GData API which can be used to import issues to your project.