CVS outage (and how we're going to get independent of SF)
- Lucifer
- Project Developer
- Posts: 8640
- Joined: Sun Aug 15, 2004 3:32 pm
- Location: Republic of Texas
- Contact:
Hmm, I've always thought of SCM as a workspace anyway, not a historical log. Sure, it has history in it, but I always figured the primary purposes of SCM were "Oh shit, I broke it, better get the old one before my boss finds out" and allowing parallel development via branches (and collaborative development from one source, of course). And history just kinda proceeds from there... Heh.
Anyway, I was looking for the How To Setup A Darcs Node For Armagetron Advanced and didn't see it. Does anybody actually know how we'll do this, or is it one of those things we can't know until after the svn migration is done?
Anyway, I was looking for the How To Setup A Darcs Node For Armagetron Advanced and didn't see it. Does anybody actually know how we'll do this, or is it one of those things we can't know until after the svn migration is done?
Right. The main point of an SCM for us is the collaboration bit, that it makes sure developer A does not overwrite the changes of developer B. Then comes the branching ability. Then the history in the sense of "Shit, we found a security hole. We need to go back to version 0.2.8.2, fix it there, and release an update immediately."
And if the workspace bit is really the most important thing for you, then no matter what Luke does, you'll be able to rearrange acme in CVN to your liking. SVN is quite flexible about that. A SVN repository is essentially just one huge workspace where the history of all file/directory copy, move and change operations is kept. If you don't care about the history all that much, you can just move old and obsolete acme out of the way in a single command (svn move acme obsolete-acme-luke-imported-against-my-wish) and start fresh. Or do the rearrangements you want to do bit by bit as you would do without SCM, only with "svn move" instead of mv, "svn copy" instead of cp and "svn delete" instead of rm.
Still, it's your call what should happen with it during the import. I'd hold that it's enough that the all so important history is preserved in CVS.
For the Darcs repository, we'll need to write small conversion scripts. I have full featured ones, with tags and branches, for CVS, in a private CVS repository. I'll rewrite them for SVN, probably at first without respecting tags because that's too difficult there, and publish them when they're ready. Small control files that say "create a darcs repository for all files below this point" will have to be added at strategic points of the SVN repository, that's for sure.
And if the workspace bit is really the most important thing for you, then no matter what Luke does, you'll be able to rearrange acme in CVN to your liking. SVN is quite flexible about that. A SVN repository is essentially just one huge workspace where the history of all file/directory copy, move and change operations is kept. If you don't care about the history all that much, you can just move old and obsolete acme out of the way in a single command (svn move acme obsolete-acme-luke-imported-against-my-wish) and start fresh. Or do the rearrangements you want to do bit by bit as you would do without SCM, only with "svn move" instead of mv, "svn copy" instead of cp and "svn delete" instead of rm.
Still, it's your call what should happen with it during the import. I'd hold that it's enough that the all so important history is preserved in CVS.
For the Darcs repository, we'll need to write small conversion scripts. I have full featured ones, with tags and branches, for CVS, in a private CVS repository. I'll rewrite them for SVN, probably at first without respecting tags because that's too difficult there, and publish them when they're ready. Small control files that say "create a darcs repository for all files below this point" will have to be added at strategic points of the SVN repository, that's for sure.
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
- Lucifer
- Project Developer
- Posts: 8640
- Joined: Sun Aug 15, 2004 3:32 pm
- Location: Republic of Texas
- Contact:
Here's another one to throw on the pile, stumbled across while fooling with my car computer project.
http://www.rocklinux.org/wiki/SubMaster
http://www.rocklinux.org/wiki/SubMaster
Looks like the SubMaster client does almost the same as SVK, but it seems to have tamer dependencies. I *almost* got it to work on my PC here (SVN::Mirror test phase fails) Everyone is free to use it for personal disconnected operation as long as we stick to a writable SVN repository.
Now, the SubMaster server is interesting. For those too lazy to read, it's a web pased patch management system, a bit like the "patches" tracker on SourceForge, that also helps with applying and testing patches. The SubMaster client helps with generating patches the right way. Together, they something similar to "darcs send" and "darcs apply", only managed on the Web. Nice find.
Now, the SubMaster server is interesting. For those too lazy to read, it's a web pased patch management system, a bit like the "patches" tracker on SourceForge, that also helps with applying and testing patches. The SubMaster client helps with generating patches the right way. Together, they something similar to "darcs send" and "darcs apply", only managed on the Web. Nice find.
Looking closer, you can't use the SubMaster client to conveniently send your collected changes to the svn server. You can only create patches or use "svn commit" itself, which then works like SubMaster wasn't used at all and does a single commit. That means it is no replacement for SVK. You can't go back in history with a SubMaster checkout, but that's secondary.
-
- Dr Z Level
- Posts: 2246
- Joined: Sun Mar 20, 2005 4:03 pm
- Location: IM: luke@dashjr.org
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm
I read it supports replication...
http://en.wikipedia.org/wiki/Andrew_file_system
It's used at our university to offer access to windows and linux homes.
http://en.wikipedia.org/wiki/Andrew_file_system
It's used at our university to offer access to windows and linux homes.
- Lucifer
- Project Developer
- Posts: 8640
- Joined: Sun Aug 15, 2004 3:32 pm
- Location: Republic of Texas
- Contact:
I seem to recall this test running and being successful. What's next? Now that armabot will run commands that let us run certain updates automatically when svn information changes we have the possibility to put the forum software in svn, and if you make sure your changes are committed, we can have the mirrors update the code all at the same time (relatively). Same with the main site.Tank Program wrote:Back on the topic of the distributed MySQL database I think I've worked out a way to make that work with the forums and I'll test that later today.
I guess we still need to run a few more tests of various sorts, and my test drupal instance is currently down (part of the gentoo move, I'll get it back up if we want it, but my drupal assignment has dropped off and I'm back in mamboland for awhile, so drupal hacking is off the radar unless at least one other person here volunteers to worry about it with me).
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6711
- Joined: Thu Dec 18, 2003 7:03 pm