Open GitMensch opened 1 year ago
I just gave another attempt at migration SVN -> GIT. I created three Github projects:
They are supposed to be updated every 10 minutes from the SVN, I will check in a few days if everything works correctly (i.e. updates are pushed), in which case we could decide to use them.
That looks quite nice! I guess this should also work with "local" branches (like the ocaml ones we have here)?
Yes, actually, it could be done in both ways, i.e. merging on Github would commit on SVN, but I haven't tried it (and it makes me a little scary of breaking everything...)
Please let's leave GitHub as a "mirror + " only (one way). BTW: can you please share the notes how you setup gnucobol3 and do the automated sync from upstream?
To create the repo:
svn2git svn+ssh://lefessan@svn.code.sf.net/p/gnucobol/code
git remote add origin git@github.com:OCamlPro/gnucobol3.git
git push --mirror
To update it from crontab every 10 minutes:
yes | /usr/local/bin/svn2git --rebase
git push origin --all
git push origin --tags
Not complex, just takes a lot of time the first time to go through 5000 commits
The notes above miss the part how to split the external-docs out to a separate repo.
So, I have restarted my efforts, and the result is here:
https://github.com/OCamlPro/gnucobol4
This time, all the authors are correctly handled.
Note that I have already switched the gnucobol-docs and gnucobol-contrib to use these mirrors (as they almost had no contributions, except one for docs).
The next operations should be:
ocamlpro/gnucobol
to ocamlpro/gnucobol2
ocamlpro/gnucobol4
to ocamlpro/gnucobol
I know that cross-posting is "not nice", but I wasn't sure on the awareness of https://github.com/OCamlPro/gnucobol2/issues/1 so: