Re: [boost] Live read-only GIT mirrors of Boost trunk SVN
The live GIT mirrors of Boost trunk SVN have become a bit stale in recent months [...]
I tried making a mercurial mirror of the Boost trunk SVN and found that it took so long to do the conversion process, that I could never get it to complete on my home computer with cable modem internet access, but I could get it to complete on a shell account with faster trunk access.
I simply allocated an OpenVZ container on my cloud with 64Mb of RAM and 128Mb of swap.
I also found the resulting repository was *huge* because I had *every* revision of boost ever recorded in the svn repository.
Github reckons the entire mirror consumes 700.40Mb. No idea if that's good or bad.
I'm curious if you had different experiences when making a git repository.
To be honest, the process was very straightforward. I configured it as per subgit's instructions. I set it running. It OOMed a few times, but hardly unsurprising with 64Mb of RAM for the VM. I simply restarted when it did. And after a day or two it completed (note that the cloud hardware is a 2Ghz Core 2 without SSD). Better hardware would be far faster.
I am more familiar with mercurial than git, and I wanted to make a local mercurial repository so that I could work on my changes locally and checkpoint them using the version control system instead of manual backups. AFAIK, there's no way to record local changes with versioning using subversion, there's only committing to the remote server.
Ah, getting subversion commits to match git commits that's subgit's problem :). Subgit gives you three sync options, "safe", "somewhat safe" and "not safe". "safe" locks both subversion and git repos during the sync, however long that takes, and during which no pushes nor pulls nor checkouts may happen. So long as you can live with that (I can), the live two way mirroring works well, but it could be frustrating for users of busy repos. Niall
[Please do not mail me a copy of your followup] I wrote:
I'm curious if you had different experiences when making a git repository.
boost@lists.boost.org spake the secret code <91F7C5E41BDB8741865487C9BDC9262B178CAECE@XMB116CNC.rim.net> thusly:
And after a day or two it completed [...]
OK, mercurial conversion of the subversion repository didn't take THAT long, but I wasn't running it on a cloud machine, I was running it on my ISP's shell access machine. I have no idea how long it would take on my home machine because when it fails in the middle, the incomplete repo is deleted and you have to start all over again :-(. Mercurial gave me a .hg directory that was 456MB, and 932MB for a complete tree (repository plus source). I'm not sure if your 700 MB included a checked-out version of the tree, or only the size of the git repository.
Ah, getting subversion commits to match git commits that's subgit's problem :).
Well, I anticipate that my final changes will be turned into a single subversion commit by the maintainer of the boost library. However, what I would like is a local repository where I can make local commits to "lock in" forward progress and you can't do that with subversion AFAIK. I don't actually anticipate pushing from the mercurial repo straight into Boost's subversion repo, because I'm not a library maintainer. -- "The Direct3D Graphics Pipeline" free book http://tinyurl.com/d3d-pipeline The Computer Graphics Museum http://computergraphicsmuseum.org The Terminals Wiki http://terminals.classiccmp.org Legalize Adulthood! (my blog) http://legalizeadulthood.wordpress.com
participants (2)
-
legalize+jeeves@mail.xmission.com
-
Niall Douglas