You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2015/06/12 01:36:30 UTC

[Commons Wiki] Update of "MovingToGit" by sebbapache

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The "MovingToGit" page has been changed by sebbapache:
https://wiki.apache.org/commons/MovingToGit

Comment:
Notes on moving to Git

New page:
= Moving to Git =

Notes on things to look out for if a component moves from SVN to Git.

 * This is a work in progress *

== Update pom and website ==

Ensure that the SCM references in the POM and on the website are updated as soon as possible after the Git repo goes live.

== Update CI builds ==

There are various CI builds: Jenkins, Continuum, Buildbot. These will need to be updated after the Git repo goes live

== Tidy up SVN repository Tree ==

As part of moving a component to Git, Infra will make the current SVN tree read-only.
However the files will still remain. This can cause confusion; it is easy to find the SVN files and think they are still current.

Therefore it was decided on the following process:

Once the Git repo is up and running:

1) Add a README file to the top level of the SVN tree for the component, e.g. math

For example:
https://svn.apache.org/repos/asf/commons/proper/math/MathNowUsesGit.txt

2) Move the rest of the contents (branches,tags,trunk, etc) to

https://svn.apache.org/repos/asf/commons/_moved_to_git/math

The _moved_to_git tree is read-only except as needed to move stuff into it.
In order to do this, the person doing it needs to have write access to the component tree and _moved_to_git.
This is controlled by the [[https://svn.apache.org/repos/infra/infrastructure/trunk/subversion/authorization/asf-authorization-template|asf-authorization-template]]
file. The entries need to look something like:

{{{
[/commons/_moved_to_git]
* = r
# Temporary override to allow xyz to be moved from proper
availid = rw

# Now using git
[/commons/proper/xyz]
* = r
# Temporary override to allow xyz to be moved to _moved_to_git
availid = rw
}}}

Replace {{{availid}}} with the ASF login id of the person doing the move, and {{{xyz}}} with the name of the component.

Once the process is completed, the {{{asf-authorization-template}}} should be updated to remove the temporary entries

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org