**** BEGIN LOGGING AT Thu Mar 4 15:09:15 2004 | ||
-->You are now talking on #schooltool | 15:09 | |
-->ChrisW (~chrisw@81.5.181.26) has joined #schooltool | 15:34 | |
ChrisW | what version of SVN you guys using for SchoolTool? | 15:34 |
---|---|---|
SteveA|Home | whatever is in debian | 15:35 |
ChrisW | *chuckles* | 15:35 |
ChrisW | fair enough | 15:35 |
ChrisW | just noticed they have 1.0 out now... | 15:35 |
SteveA|Home | steve@fridge:~$ apt-cache policy subversion | 15:36 |
SteveA|Home | subversion: | 15:36 |
SteveA|Home | Installed: 1.0.0-1 | 15:36 |
SteveA|Home | Candidate: 1.0.0-1 | 15:36 |
SteveA|Home | Version Table: | 15:36 |
SteveA|Home | *** 1.0.0-1 0 | 15:37 |
SteveA|Home | 80 http://debian.lan unstable/main Packages | 15:37 |
SteveA|Home | 100 /var/lib/dpkg/status | 15:37 |
ChrisW | ooo | 15:51 |
ChrisW | did you have to upgrade you repository? | 15:52 |
SteveA|Home | dunno | 15:53 |
SteveA|Home | mgedmin or alga did it | 15:53 |
ChrisW | can they be physically poked by you to check? ;-) | 15:53 |
SteveA|Home | there are 1/4 mile away just now :) | 15:54 |
SteveA|Home | my poker doesn't reach that far | 15:54 |
SteveA|Home | despite rumours to the contrary... | 15:54 |
ChrisW | never mind pregant, she'd be dead if that was the case ;-) | 15:55 |
*ChrisW pokes mgedmin | 15:55 | |
ChrisW | . o O ( slacker, probably on a fag break, or pr0n'ing ;-) ) | 15:56 |
ChrisW | oh, you might also be able to help with something else :-) | 15:56 |
ChrisW | know of a good way to do producer/consumer lists in twisted? | 15:56 |
ChrisW | where the producer dumps files into a folder, and the consumer opens them and consumes them? | 15:57 |
SteveA|Home | I do that, but I didn't use twisted | 15:57 |
ChrisW | what'd you use? | 15:58 |
SteveA|Home | Look at the transactional mail stuff in zope3 | 15:58 |
SteveA|Home | uses the maildir locking scheme to do that kind of thing | 15:58 |
ChrisW | CVS url? | 15:58 |
SteveA|Home | cvs.zope.org/Zope3/... | 15:58 |
SteveA|Home | no idea further | 15:58 |
SteveA|Home | gotta go, be in the office in 15 mins | 15:58 |
ChrisW | okay, but how'd you write the directory watcher so that it doesn't block _and_ doesn't race? | 15:59 |
SteveA | why would it block? | 16:29 |
SteveA | why would it race? | 16:29 |
SteveA | have you read about how maildir workd? | 16:29 |
SteveA | have you read about how maildir works? | 16:29 |
ChrisW | block: as in a normal for... next... loop would block the rest of the twisted app | 16:29 |
ChrisW | race... a for ... next loop races if there aren't any files in the dir | 16:30 |
SteveA | oic | 16:30 |
ChrisW | as for how maildir works: nope, have no idea, where are good docs? | 16:30 |
SteveA | I poll every N seconds to see if the directory has changed | 16:30 |
ChrisW | (or is that no longer revelent?) | 16:30 |
ChrisW | *sigh*, nothing more graceful that that possible with filesystems? | 16:30 |
SteveA | there are OS calls and services that let you be notified when a directory changes | 16:31 |
*mgedmin wakes up | 16:31 | |
ChrisW | cross-platform wrapping anywhere? | 16:31 |
SysTray Integration Plugin unloaded | 16:31 | |
ChrisW | hi marius: did you have to upgrade you svn repositorty to move to 1.0? | 16:31 |
mgedmin | yes | 16:31 |
ChrisW | was it painmful? | 16:32 |
mgedmin | no | 16:32 |
ChrisW | phew :-) | 16:32 |
*mgedmin makes the mistake of cding to /usr/share/doc in mc | 16:32 | |
mgedmin | file:///usr/share/doc/subversion/book/book.html#svn-ch-5-sect-3.5 | 16:34 |
mgedmin | "Migrating a repository" | 16:34 |
mgedmin | basically it's svnadmin dump /path/to/repo > dump.txt | 16:34 |
mgedmin | upgrade | 16:34 |
mgedmin | mv /path/to/repo /path/to/repo.old | 16:34 |
mgedmin | svnadmin create /path/to/repo | 16:34 |
mgedmin | svnadmin /path/to/repo < dump.txt | 16:34 |
mgedmin | that's it | 16:34 |
ChrisW | that's gonna be one big fucker of a text file, right? | 16:35 |
mgedmin | ok, if you had any hooks/scripts you'll have to copy them manually as well | 16:35 |
mgedmin | the dump file is not as big as you could expect | 16:36 |
mgedmin | that, or perhaps it compresses extremely well | 16:36 |
ChrisW | hehe, I take it it's binary? | 16:36 |
mgedmin | no, it's plain text | 16:36 |
mgedmin | our repo eats 13 megs of disk space | 16:37 |
mgedmin | and gzipped dump file eats 6 megs or so | 16:37 |
mgedmin | ok, it gunzips to 38 megs | 16:38 |
ChrisW | hmmm, that include berkley log files? | 16:38 |
ChrisW | exlcuding log files, my db folder is 1.81 Mb | 16:38 |
ChrisW | including log giles, it's 170Mb! | 16:39 |
ChrisW | I wonder how many of those log files I need to keep around... | 16:39 |
mgedmin | yes that includes log files (I assume those are /path/to/repo/db/log.*) | 16:40 |
mgedmin | and they do not take much space here for some reason | 16:40 |
ChrisW | I wonder why mine are so big? | 16:41 |
mgedmin | many anonymous checkouts perhaps? | 16:42 |
*mgedmin has no idea | 16:42 | |
SysTray Integration Plugin Version 2.4.0 successfully loadedMar 04 16:42:55 Patrizio Bassi - hetfield@email.it - http://www.blight.tkMar 04 16:42:55 Successfully loaded settings from file. | 16:42 | |
ChrisW | *shrugs* | 16:43 |
ChrisW | ho hum, worries for #svn me thinks... | 16:43 |
*ChrisW returns to trying to find file access stuff in twisted... | 16:44 | |
<--ChrisW (~chrisw@81.5.181.26) has left #schooltool | 16:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!