*** mgedmin has joined #schooltool | 00:21 | |
*** alga has quit IRC | 01:51 | |
Lumiere | replaceafill: hi | 01:58 |
---|---|---|
replaceafill | hey Lumiere | 01:59 |
*** mgedmin has quit IRC | 02:26 | |
*** ignas has quit IRC | 02:31 | |
*** replaceafill has quit IRC | 03:32 | |
*** fsufitch has joined #schooltool | 04:49 | |
*** fsufitch has left #schooltool | 04:50 | |
*** alga has joined #SchoolTool | 09:18 | |
*** mgedmin has joined #schooltool | 11:31 | |
*** ignas has joined #schooltool | 14:00 | |
ignas | Lumiere: https://www.ohloh.net/forums/10/topics/3242 | 14:40 |
ignas | Lumiere: good luck migrating to bzr ;) | 14:41 |
mgedmin | fun | 14:59 |
Lumiere | ignas: at some point, it may be better to just dump svn and import to bzr | 15:23 |
* Lumiere wonders what ohloh is | 15:24 | |
Lumiere | pcarddduuunnnnnnnnnnne | 15:28 |
Lumiere | <_< | 15:28 |
Lumiere | pcardune imported schooltool svn | 15:30 |
Lumiere | without ignoring .svn dirs | 15:30 |
Lumiere | ignas: https://svn.schooltool.org/trac/cando/log/trunk/schooltoolfork?rev=1543&mode=path_history | 15:31 |
ignas | Lumiere: you were using cvs back then it seems | 15:31 |
Lumiere | ah | 15:32 |
Lumiere | and cvs2svn = fail | 15:32 |
ignas | kind of | 15:32 |
Lumiere | any chance of an svnadmin cleaning it up? | 15:32 |
ignas | ask mgedmin ;) | 15:33 |
ignas | there is some svn renaming utility | 15:33 |
ignas | that could rename all .svn to .subversion | 15:33 |
ignas | in the repository | 15:33 |
* Lumiere looks at mgedmin and gives puppy-dog eyes :) | 15:33 | |
mgedmin | hey | 15:36 |
mgedmin | svndumpfilter is your friend | 15:36 |
* mgedmin handwaves | 15:36 | |
* mgedmin points Lumiere towards http://svnbook.red-bean.com/en/1.1/ch05s03.html | 15:37 | |
mgedmin | essentially, you ssh to the repository | 15:38 |
mgedmin | server | 15:38 |
mgedmin | run svnadmin dump > somedumpfile | 15:38 |
mgedmin | figure out the correct svndumpfilter command to exclude .svn dirs | 15:38 |
mgedmin | eyeball the output of svndumpfilter for sanity | 15:38 |
Lumiere | do I have write access? | 15:38 |
mgedmin | create a new empty repository | 15:38 |
mgedmin | svnadmin load the filtered dump | 15:38 |
mgedmin | take a look at the new repo (with svnlook perhaps) | 15:39 |
mgedmin | maybe check it out, see if it looks sane | 15:39 |
mgedmin | make sure the new repo has the same UUID | 15:39 |
mgedmin | I think it should, the UUID is stored in the dump | 15:39 |
mgedmin | if all's well, rename old repo to .old, rename the new repo to the old place | 15:39 |
mgedmin | ta-dah! | 15:39 |
ignas | Lumiere: http://ftp.schooltool.org/schooltool/releases/nightly/cando-2007dev-r1543.tar.gz - now with revision number | 15:40 |
mgedmin | oh, I almost forgot: copy all the hooks from the old repo to the new one! | 15:40 |
Lumiere | ignas: nice | 15:40 |
Lumiere | mgedmin: you're scaring me ;) | 15:41 |
mgedmin | what's my password on schooltool.org? | 15:41 |
ignas | mgedmin: emm - your ssh key should be there | 15:41 |
ignas | mgedmin: is it not? | 15:41 |
mgedmin | it is, but sudo doesn't accept ssh keys | 15:41 |
ignas | ahhh | 15:41 |
ignas | mgedmin: i can reset it for you I think | 15:42 |
mgedmin | or you could fix the cando repository :-) | 15:42 |
ignas | and send the new password to you over an unencrypted Wireles connection | 15:42 |
Lumiere | lawl | 15:42 |
Lumiere | ignas: no gpg email? | 15:42 |
ignas | mgedmin: send me a password using gpg ;) | 15:43 |
mgedmin | ignas: look at your ssh session | 15:43 |
ignas | you want that as a password? | 15:44 |
mgedmin | no, just testing | 15:44 |
ignas | :D | 15:44 |
mgedmin | we have a secure communications channel | 15:44 |
ignas | which command sends these messages | 15:44 |
mgedmin | write $username | 15:44 |
ignas | mgedmin: got it? | 15:47 |
mgedmin | uh oh yes | 15:47 |
mgedmin | svndumpfilter does not support wildcards ... | 15:50 |
mgedmin | it seems | 15:50 |
mgedmin | and it's a C program, not a python/perl script | 15:51 |
mgedmin | so, now y'all have enough clues and should be able to solve the problem (whatever it is) | 15:52 |
* mgedmin disappears | 15:52 | |
Lumiere | mgedmin: maybe it would be easier to svnamdin dump and write a script that locates and removes the .svn dirs <_< | 15:52 |
ignas | Lumiere: read the link mgedmin posted, it mentioned something about manual editing | 15:53 |
ignas | Lumiere: and in a few minutes i'll ask alga about the "rename" thing | 15:53 |
Lumiere | yea | 15:53 |
Lumiere | I saw that | 15:53 |
Lumiere | ignas: I guess it could work to script-edit all the .svn folders to .subversion | 15:56 |
mgedmin | nuke them out | 15:56 |
mgedmin | I wonder if you could do something hacky like replace 'Node-Path: .*/.svn/.*' -> 'Noide-Path: DELETEME', and then svndumpfilter --exclude=DELETEME | 15:57 |
mgedmin | or if svndumpfilter would be indignant about getting multiple files with the same name in the same revision in its input | 15:57 |
mgedmin | Node-Path and Copied-From | 15:58 |
mgedmin | also, both are probably spelled differently | 15:58 |
ignas | mgedmin: i'd still go for renaming the .svn stuff | 16:01 |
* ignas would feel safer | 16:01 | |
mgedmin | why? | 16:01 |
mgedmin | keep a backup of the old repo for safety | 16:01 |
ignas | re renaming something that was wrongly renamed is easier | 16:02 |
ignas | than trying to extract that same thing from the old repository | 16:02 |
ignas | and put it into the new repository | 16:02 |
ignas | anyway | 16:02 |
ignas | no need to fix it | 16:02 |
ignas | bzr migration will solve it | 16:02 |
ignas | as bzr does not care about .svn | 16:02 |
ignas | and works on a lower level | 16:02 |
ignas | than "svn co" | 16:03 |
Lumiere | and isn't changing .svn to .subversion easier to script? | 16:08 |
ignas | probably is | 16:13 |
ignas | Lumiere: do you have access to schooltool.org? | 16:13 |
ignas | i mean - if you can ssh | 16:14 |
ignas | and svndump /svn/cando/ | 16:14 |
ignas | then you should probably download it | 16:14 |
ignas | play with the dump | 16:14 |
ignas | and just give me the "finished" dump | 16:14 |
ignas | or we can just wait for migration | 16:14 |
ignas | ohloh stats are not really important | 16:14 |
Lumiere | lets wait till we're getting close to migration | 16:20 |
Lumiere | I got a bit on my plate right now | 16:20 |
ignas | indeed | 16:21 |
* Lumiere is about to write a little php app to manage either svn or bzr repositories for websites <_< | 16:22 | |
*** replaceafill has joined #schooltool | 17:15 | |
*** jfroche has quit IRC | 17:21 | |
*** alga has quit IRC | 17:46 | |
*** ignas has quit IRC | 18:29 | |
*** alga has joined #SchoolTool | 18:52 | |
*** jfroche has joined #schooltool | 19:28 | |
*** jcrowley has joined #schooltool | 20:23 | |
*** replaceafill has quit IRC | 20:39 | |
*** balor has joined #schooltool | 21:05 | |
*** jcrowley has quit IRC | 21:07 | |
*** mgedmin has quit IRC | 21:20 | |
*** replaceafill has joined #schooltool | 21:28 | |
*** balor has quit IRC | 21:31 | |
*** aelkner has quit IRC | 23:14 | |
*** balor has joined #schooltool | 23:23 | |
*** aelkner has joined #schooltool | 23:46 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!