GIT migration finished (or as close as to finished)

6 views
Skip to first unread message

ned14

unread,
Jun 26, 2010, 2:14:01 PM6/26/10
to easyshop
My apologies for how long it has taken - it turned out that git-svn
just wasn't up to the task, so I managed to make KDE's ultra fast
svn2git tool (http://gitorious.org/svn2git/) work. I attach the
ruleset used below. All history was converted over, though I have left
anything that wasn't in buildout/3.0-Anonymous in an Attic directory.

I have merged the Plone collective and Google Code versions and
uploaded them to http://github.com/ned14/Easyshop. I have converted
the wiki pages to http://wiki.github.com/ned14/Easyshop/ and replaced
the SVN repos at Plone collective and Google Code with svn:externals
to http://svn.github.com/ned14/Easyshop such that for many users you
won't notice a thing except a large update. SVN read-only access ought
to keep on working just fine.

I have also repointed the Plone.org page for Easyshop and placed a
deprecated announcment on the Google Code project page. I have one
last thing to do: copy & paste all the outstanding issues from the
Google Code page onto github's issue tracker which I will do tomorrow.

Enjoy the new GIT repo!

Cheers,
Niall


KDE svn2git rules used:

#
# Declare the repositories we know about:
#

create repository Easyshop.git2/.git
end repository

#
# Declare the rules
# Note: rules must end in a slash
#

match /([^/]+)/trunk/
repository Easyshop.git2/.git
prefix \1
branch master
end match

match /([^/]+)/branches/2.5/
repository Easyshop.git2/.git
prefix \1
branch svn_2.5
end match

match /([^/]+)/branches/([^/]+)/
repository Easyshop.git2/.git
prefix \1
branch svn_\1_\2
end match

# Important:
# Subversion doesn't understand the Git concept of tags
# In Subversion, tags are really branches
#
# Only a post-processing (i.e., after converting to Git) of the tag
# branches can we be sure that a tag wasn't moved or changed from the
# branch it was copied from
#
# This rule will create tags that don't exist in any of the
# branches. It's not what you want.
# See the merged-branches-tags.rules file
match /([^/]+)/tags/([^/]+)/
repository Easyshop.git2/.git
prefix \1
branch refs/tags/svn_\1_\2
end match

match /([^/]+)/
repository Easyshop.git2/.git
prefix \1
branch master
end match
Reply all
Reply to author
Forward
0 new messages