Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Git/External Mirrors"

< Git
(Project Metadata)
Line 13: Line 13:
 
==Project Metadata==
 
==Project Metadata==
  
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:
+
There is really very little for you to do to make this mirroring happen. Every repository under <code>/gitroot/</code> (with the exception of website repositories found under <code>/gitroot/www.eclipse.org</code>) is included by our script.
 
+
* git://egit.eclipse.org/* (EGit project only)
+
* */gitroot/*
+
* <nowiki>http://git.eclipse.org/c/*</nowiki>
+
 
+
(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:
+
 
+
[[Image: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.
+
  
 
==Teams==
 
==Teams==

Revision as of 13:16, 5 March 2013

Warning2.png
GitHub mirrors of Eclipse project is a service that GitHub provides. It is not a first-class service provided by the Eclipse Foundation. The Eclipse GitHub organization administrators do monitor the Community/Git Bugzilla channel and will do their best to respond to questions and requests made there (and other channnels, of course). The Eclipse webmaster cannot help you.


GitHub provides mirrors of Eclipse projects.

    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

Only valid Git repositories specified in the "source repositories" metadata field will be replicated.

The script is run manually on a periodic basis. We nudge GitHub every once-in-a-while (monthly or so) to run the script and update the mirrors. If your repository has not been mirrored, open a bug against Eclipse Foundation/Community/Git to ask us to initiate a nudge. Do not expect us to badger the nice folks at GitHub daily or in a piecemeal manner. We won't do it.

Project Metadata

There is really very little for you to do to make this mirroring happen. Every repository under /gitroot/ (with the exception of website repositories found under /gitroot/www.eclipse.org) is included by our script.

Teams

If you actually want to push and pull into a GitHub repository, we'll need to make a team for your project. Open a bug against Community/Git and we'll help you out. Note that we can set up a GitHub team and can make changes here and there, but we are unable to automatically mirror changes in the project committers at this time.

The GitHub mirror is not strictly subject to the same access restrictions as the eclipse.org repositories. The Eclipse Foundation considers the GitHub teams to be self-regulating. We will help where we can, but the GitHub mirrors are not considered to be eclipse.org property. If there are problems within the teams, they can be addressed by the Eclipse Organization's GitHub administrators (one of whom is conveniently a member of the Eclipse Foundation staff).

For Eclipse projects, the Git repository on eclipse.org must be considered the "central" or "main" repository for the project code. Contributions can be accepted into the GitHub mirror, but anything that flows back into the equivalent eclipse.org repository is subject to the Eclipse IP Due Diligence Process.

Back to the top