Jump to: navigation, search

Difference between revisions of "Git/External Mirrors"

< Git
Line 2: Line 2:
 
     https://github.com/eclipse
 
     https://github.com/eclipse
  
We populate the information from a script that runs over the portal.eclipse.org metadata
+
GitHub populates the mirrors from a script that generates a list of repositories from project metadata:
 
     http://eclipse.org/projects/git-repos.php
 
     http://eclipse.org/projects/git-repos.php
 +
 +
The script is run manually on a periodic basis. We nudge GitHub every once-in-a-while to run the script and update the mirrors.
  
 
The script uses the project metadata as specified in the [http://portal.eclipse.org Developer Portal]. The implementation is quite robust; you can specify your project's Git repositories (one per line) in any of the following formats:
 
The script uses the project metadata as specified in the [http://portal.eclipse.org Developer Portal]. The implementation is quite robust; you can specify your project's Git repositories (one per line) in any of the following formats:

Revision as of 21:07, 8 November 2011

Eclipse uses GitHub as a source of mirrors.

    https://github.com/eclipse

GitHub populates the mirrors from a script that generates a list of repositories from project metadata:

    http://eclipse.org/projects/git-repos.php

The script is run manually on a periodic basis. We nudge GitHub every once-in-a-while to run the script and update the mirrors.

The script uses the project metadata as specified in the Developer Portal. The implementation is quite robust; you can specify your project's Git repositories (one per line) in any of the following formats:

(Note that you'll have to replace the wildcards above with absolute values for each of your project's repositories; do not include wildcard characters in the values you specify).

Example:

Git-repo-list.png

The script (and other uses of this information at eclipse.org) will normalize the value you provide into an appropriate value.