[sakai-core-team] Work on migrating to github

Matthew Jones matthew at longsight.com
Sat Dec 20 08:48:41 PST 2014


Thinking about your conversation on git sizes and what was included in your
test repository I had a few thoughts.

- OSP

  I think we should just either leave this in SVN, possibly just migrate to
contrib or create a separate git repository. This is no longer included by
default in 11 and it's one of the biggest pieces of code in Sakai (13MB in
the git repository). Also excluding metaobj and warehouse would save 20 MB.
I believe that all 3 of these projects should either be in svn contrib or
in a completely separate github repository from the start.

- Reference
  By far the largest chunk of space in a checkout is the reference folder,
occupying over 100MB alone on disk. Large portions of this are
documentation, optional tools and optional skins not required to actually
get Sakai to function. At Longsight, we keep reference in a separate
repository (in github) and I believe it would be a good idea to also keep
reference separate. I don't love the idea of submodules but I think it does
make sense for reference since it would save a lot of time and space in a
typical checkout.  Additionally help may also be useful to have a a
submodule along with so it's easier to update and it seems like help is
tied into the reference documentation. I could go either way with help.

Still it feels like it's highly more efficient than subversion in either
case. Excited about the move, happy about the plan that was discussed on
the call.

On Thu, Dec 18, 2014 at 9:08 AM, Matthew Buckett <
matthew.buckett at it.ox.ac.uk> wrote:
>
> Initial I started with the git repositories we used at oxford to make
> our local build. In this setup each top level folder is a seprate git
> repository. I wrote some scripts that would merge these repositories
> together and re-write the paths. There are some problems with this
> approach:
> - If misses some history. There has been a reasonable amount of
> re-organisation of the Sakai SVN repositories and files have moved
> between top level folders. Using the multiple git repositories as a
> starting point means that moves between folders are lost.
> - Big ugly merged. I have only been successful in merging the multiple
> repositories into one by creating a merge commit for each one. This
> results in a root like structure for all the previous history. I have
> attempted to replay history into one continuous branch but I couldn't
> get it to work.
> You can see an old copy of this approach on github[1].
>
> To attempt to get around these problems I looked at reposurgeon[2],
> this first attempts to mirror the Sakai repository locally using
> svnsync, however this would eventually get to a revision (~60000) and
> fail complaining that the repository wasn't good. I wasn't able to
> work around this so I got a full SVN dump through Neal and used this
> dump with reposurgeon, however I then started getting problems with
> reposurgeon processing the dump which looked to be bugs in
> reposurgeon.
>
> I also attempted to get a complete mirror of of /svn into git
> (starting with a single repository) and this completed in a few days.
> I then attempted to first drop all the empty commits and this took
> days (using git-filter-branch).
>
> Recently I've had lots of local work which has meant that I haven't
> been able to look at this for a while.
>
> [1] - https://github.com/sakaiproject/test-svn-convert
> [2] - http://www.catb.org/esr/reposurgeon/
>
> --
>   Matthew Buckett, VLE Developer, IT Services, University of Oxford
> _______________________________________________
> sakai-core-team mailing list
> sakai-core-team at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-core-team
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-core-team/attachments/20141220/b62e7d28/attachment.html 


More information about the sakai-core-team mailing list