*** didymo has joined #schooltool | 00:39 | |
*** Aiste has quit IRC | 00:58 | |
*** CrippsFX has quit IRC | 00:58 | |
*** kjcole has quit IRC | 00:58 | |
*** Fujitsu has quit IRC | 00:58 | |
*** kjcole has joined #schooltool | 00:58 | |
*** Fujitsu has joined #schooltool | 00:58 | |
*** CrippsFX has joined #schooltool | 00:58 | |
*** Aiste has joined #schooltool | 00:59 | |
*** pcardune has quit IRC | 01:20 | |
*** povbot has joined #schooltool | 01:30 | |
*** Aim2 has joined #schooltool | 01:32 | |
*** didymo has quit IRC | 01:39 | |
*** Newfie has joined #schooltool | 02:14 | |
*** pcardune has joined #schooltool | 03:50 | |
*** Newfie has left #schooltool | 03:54 | |
*** pcardune has quit IRC | 04:18 | |
*** pcardune has joined #schooltool | 04:44 | |
*** jinty has joined #schooltool | 05:08 | |
*** didymo has joined #schooltool | 05:26 | |
*** Aiste has quit IRC | 08:17 | |
*** pcardune has quit IRC | 10:43 | |
*** jinty has quit IRC | 11:13 | |
*** Aiste has joined #schooltool | 12:01 | |
*** jinty has joined #schooltool | 12:33 | |
*** ignas has joined #schooltool | 12:34 | |
*** ignas has quit IRC | 12:46 | |
*** ignas has joined #schooltool | 12:46 | |
*** ignas has quit IRC | 12:49 | |
*** ignas has joined #schooltool | 12:49 | |
*** ignas has quit IRC | 12:53 | |
*** jinty has quit IRC | 12:56 | |
*** ignas has joined #schooltool | 12:56 | |
*** jinty has joined #schooltool | 13:03 | |
*** jinty has joined #schooltool | 13:05 | |
*** jinty has quit IRC | 13:09 | |
*** kjcole has quit IRC | 13:13 | |
*** kjcole has joined #schooltool | 13:14 | |
*** tdoggette has quit IRC | 13:38 | |
*** didymo has quit IRC | 13:39 | |
*** kjcole has quit IRC | 13:41 | |
*** kjcole has joined #schooltool | 13:42 | |
*** kjcole has quit IRC | 13:59 | |
*** kjcole has joined #schooltool | 13:59 | |
*** kjcole has quit IRC | 14:19 | |
*** kjcole has joined #schooltool | 14:19 | |
*** jinty has joined #schooltool | 14:30 | |
*** jinty has quit IRC | 14:49 | |
*** alga has joined #SchoolTool | 15:56 | |
*** ignas has quit IRC | 16:32 | |
*** lisppaste5 has joined #schooltool | 16:44 | |
*** ignas has joined #schooltool | 16:57 | |
*** Ninno has joined #schooltool | 17:26 | |
ignas | anyone who remembers which parts do we want to exclude from installation? | 17:45 |
---|---|---|
*** mgedmin has joined #schooltool | 18:29 | |
*** nitromaster has joined #schooltool | 18:37 | |
* ignas has created a working buildout sandbox that installs schooltool egg | 18:52 | |
ignas | with all the dependencies | 18:52 |
*** pcardune has joined #schooltool | 18:58 | |
ignas | pcardune: have you ever developed any eggs? | 19:03 |
pcardune | ignas: yes | 19:03 |
ignas | pcardune: how do you run unit tests for an egg with zope3 testrunner? | 19:03 |
ignas | without passing it --test-path | 19:04 |
pcardune | I don't know | 19:04 |
ignas | yippie | 19:05 |
ignas | buildout schooltool egg edition ran all unit tests successfully | 19:05 |
pcardune | yay | 19:08 |
ignas | and functional now | 19:15 |
*** jinty has joined #schooltool | 19:31 | |
ignas | jinty: svn co svn+ssh://source.schooltool.org/svn/schooltool/trunk/st-buildout | 19:35 |
ignas | ./buildout.sh | 19:35 |
ignas | ./schooltool-server.py | 19:35 |
ignas | pcardune: you do that as well ;) | 19:35 |
ignas | oh | 19:35 |
ignas | ok, it won't work unless someone will update the nightly build | 19:35 |
ignas | as it lacks 90% of schooltool | 19:36 |
jinty | :) | 19:42 |
jinty | yeah, I'll get that done... | 19:42 |
ignas | jinty: i have commited a hacky patch that gets the egg working | 19:43 |
ignas | and tested it out with the buildout setup | 19:43 |
ignas | so you just gave to python setup.py bdist_egg | 19:43 |
ignas | and upload it | 19:43 |
jinty | thay's fine. I just had no idea what packages to actually include | 19:44 |
ignas | hmm | 19:44 |
ignas | you just reminded me that i forgot some files ;) | 19:45 |
ignas | ok, st-buildout fixed | 19:46 |
*** nitromaster has quit IRC | 19:47 | |
* jinty builds the egg again | 19:48 | |
Lumiere | hi all | 19:51 |
ignas | hi | 19:51 |
*** jinty_ has joined #schooltool | 19:52 | |
ignas | Lumiere: maybe you want to try out commands i have written above ? | 19:52 |
Lumiere | hmm | 19:53 |
Lumiere | where to try it | 19:53 |
jinty_ | ignas: seems your buildout made my mac kernel panic ;) | 19:53 |
Lumiere | lol | 19:53 |
ignas | jinty_: omgwtf! | 19:53 |
ignas | Lumiere: what do you mean - where | 19:54 |
ignas | anywhere you want to install schooltool :) | 19:54 |
Lumiere | like what server | 19:54 |
ignas | as if you were a user ;) | 19:54 |
ignas | ubuntu feisty recommended, but should work on dapper i'd guess | 19:55 |
Lumiere | no feisty boxes availalbe | 19:55 |
ignas | then anything will do ;) | 19:56 |
ignas | the more different machines the better | 19:56 |
* Lumiere changes svn+ssh -> http | 19:56 | |
Lumiere | uh | 19:56 |
Lumiere | how do I reattach detachtty? | 19:56 |
ignas | attachtty ? | 19:56 |
ignas | and pass it a scoket | 19:56 |
jinty_ | ignas: europython, are there going to be pre-conference sprints? | 19:56 |
ignas | jinty_: no, no space dedicated for that | 19:56 |
* jinty_ tries to figure out when to arrive | 19:56 | |
jinty_ | ok, so no point in arrivint before the 9th then | 19:57 |
ignas | jinty_: but if you want to, i can talk to Aiste and get you some space in our office | 19:57 |
jinty_ | hmm, might be interesting | 19:57 |
Lumiere | lol | 19:57 |
jinty_ | I'll see how my travel plans fall | 19:57 |
Lumiere | uh | 19:58 |
Lumiere | how do i check this out | 19:58 |
Lumiere | without svn+ssh access? | 19:58 |
ignas | svn co http://source.schooltool.org/svn/trunk/st-buildout | 19:58 |
Lumiere | ah | 19:59 |
Lumiere | extra directory to remove | 19:59 |
*** jinty has quit IRC | 19:59 | |
ignas | Lumiere: which step are you at? :) | 20:08 |
Lumiere | getting new distribution for ZODB3 | 20:09 |
Lumiere | are we grabbing eggs | 20:11 |
Lumiere | from zope | 20:11 |
Lumiere | or ones we made | 20:11 |
ignas | from zope | 20:12 |
jinty_ | ignas: perhaps we should do things without package-includes if removing them means you break things badly | 20:12 |
ignas | jinty_: i could go the lyceum way | 20:12 |
ignas | site.zcml | 20:12 |
ignas | that does what is required | 20:12 |
ignas | and does not include anything | 20:12 |
jinty_ | and save this hook mechanism for things that can be added and removed | 20:12 |
ignas | hook mechanism is not the best way to do that anyway | 20:12 |
ignas | it should be either separate eggs and entry points | 20:13 |
ignas | or it should be manual coding in site.zcml | 20:13 |
jinty_ | hmm, but for the near term, I know Lumiere is going to need package includes to get schooltool-cando working | 20:13 |
Lumiere | I can't say yes or no | 20:14 |
* jinty_ knows next to nothing about entry points or if they can be made to easily work for this usecase | 20:14 | |
Lumiere | but I'll trust your judgement | 20:14 |
jinty_ | but I know pacakge includes will work for this | 20:14 |
ignas | jinty_: well - they work at the moment, i mean creating CanDo-buildout should be quite easy | 20:15 |
Lumiere | any chance we can get a couple zope corp people to put a little time in helping? | 20:15 |
ignas | jinty_: what is the usecase | 20:15 |
jinty_ | Lumiere, I was imagining schooltool providing an apache2 style tree in /etc/schooltool where schooltool-cando can drop a package-include file in | 20:16 |
jinty_ | apt-get install schooltool schooltool-cando | 20:16 |
ignas | jinty_: the problem is - you can't deselect it then | 20:16 |
ignas | jinty_: 2 separate site.zcml files | 20:17 |
ignas | work better | 20:17 |
ignas | until i come up with a way to semi-install a zope package | 20:17 |
jinty_ | ln -s /etc/schooltool/available-includes/cando*.zcml /etc/schooltool/package-includes/cando*.zcml | 20:17 |
ignas | jinty_: and suddenly schooltool instances have cando in them ... | 20:18 |
jinty_ | so the admin must perform an action to enable cando (linking the package includes) | 20:18 |
ignas | but hmm | 20:18 |
jinty_ | only the one schooltool instance | 20:18 |
ignas | oh | 20:18 |
ignas | in that case | 20:18 |
ignas | we can do that this time | 20:18 |
jinty_ | as the schooltool package only contains one | 20:19 |
jinty_ | if you want more, build another schooltool package, or use mkschooltoolinstance | 20:19 |
ignas | jinty_: what about conditional includes and a zcml in which you <meta:provide> stuff? | 20:19 |
jinty_ | it's a simplification to make things easy to install | 20:19 |
ignas | instead of symlinks | 20:19 |
jinty_ | beacause that happens automatically | 20:20 |
ignas | which part? | 20:20 |
ignas | symlinks? | 20:20 |
ignas | sorry i'm slow today | 20:20 |
jinty_ | no, the conditional includes | 20:20 |
ignas | you misunderstood me | 20:20 |
ignas | look: | 20:20 |
ignas | have standard-school.zcml | 20:21 |
ignas | and cando.zcml | 20:21 |
ignas | both included with *.zcml | 20:21 |
ignas | but in cando.zcml | 20:21 |
ignas | you have <if cando is provided>all the content</if> | 20:21 |
*** CrippsFX has quit IRC | 20:21 | |
ignas | and you have config.zcml in /etc | 20:21 |
ignas | that you edit | 20:21 |
ignas | so after installing cando | 20:21 |
ignas | you go and add <meta:provide "cando" /> in the config.zcml | 20:22 |
*** Cripps has joined #schooltool | 20:22 | |
ignas | and voila - cando is enabled | 20:22 |
jinty_ | yeah, though editing an xml file is difficult to explain | 20:22 |
ignas | not really | 20:23 |
ignas | i mean all you do is add 1 line | 20:23 |
jinty_ | not to you :) | 20:23 |
ignas | and add that line anywhere | 20:23 |
ignas | in a semi empty file | 20:23 |
ignas | with header and footer | 20:23 |
jinty_ | it's very difficult to automatically edit a file | 20:23 |
ignas | why would you edit it automatically? | 20:23 |
ignas | i mean like in apache | 20:23 |
ignas | module directives | 20:24 |
jinty_ | whereas it's trivially possible to build a robust script that does the links | 20:24 |
*** Cripps has quit IRC | 20:24 | |
jinty_ | think "a2enmod" and friends | 20:24 |
jinty_ | I mean "a2enmod svn_dav" is just poetry | 20:24 |
ignas | you want a script to enable cando? | 20:25 |
ignas | i thought you wanted users to enable it | 20:25 |
ignas | because i think it is easier for users to add a line simmilar to "LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so" | 20:25 |
ignas | to a config file | 20:25 |
jinty_ | yes, I want them to have to take an action to enable it after installing the schooltool-cando package | 20:26 |
jinty_ | but I want that action to be as easy to take as possible | 20:26 |
ignas | and i though that the easiest way was to add 1 line to a config file | 20:26 |
jinty_ | no, "schooltool-enmod cando" is probably easier | 20:27 |
ignas | well, if that's easier for you, we can do that | 20:27 |
ignas | i initially misunderstood your idea | 20:28 |
jinty_ | it doesn't matter too much anyway | 20:28 |
jinty_ | all this is package specific stuff | 20:28 |
ignas | Lumiere: does it run? | 20:28 |
jinty_ | I mean, I think that in the schooltool egg there shouldn't be a package-includes directory | 20:28 |
ignas | jinty_: there isn't one in the egg | 20:29 |
jinty_ | and the buildout is also really separate from the package | 20:29 |
ignas | yes it is | 20:30 |
jinty_ | which is cool:) | 20:30 |
ignas | look at it ;) | 20:30 |
ignas | jinty_: you are better at makefiles, maybe you could convert 2 shellscripts into 1 Makefile | 20:32 |
jinty_ | I really like it, very small.. | 20:32 |
jinty_ | pkg_resources.VersionConflict: (pytz 2006p (/usr/lib/python2.4/site-packages), Requirement.parse('pytz>=2007c')) | 20:33 |
jinty_ | hmm seems it doesn't work on etch | 20:33 |
jinty_ | with python-tz installed | 20:33 |
ignas | hmm | 20:34 |
ignas | i will have to talk to j1m, maybe he can help | 20:34 |
ignas | the docutils part in buildout.cfg is a workaround for another buildout bug | 20:34 |
jinty_ | I think it's because the python-tz debian package is actually an egg in disguise | 20:35 |
ignas | or is this schooltool telling you that? | 20:35 |
ignas | not just that - on feisty it doesn't work | 20:35 |
jinty_ | I ran ./schooltool-server.py | 20:35 |
ignas | did you run ./buildout.sh first? | 20:36 |
jinty_ | yeah | 20:36 |
ignas | id downloaded a bunch of eggs | 20:36 |
ignas | and is still finding your old pytz? | 20:36 |
jinty_ | yep | 20:36 |
ignas | is there a pytz2007 egg in eggs? | 20:36 |
jinty_ | yep | 20:37 |
jinty_ | I think its because all eggs-in-debian-packages are installed --single-version-externally-managed | 20:37 |
ignas | hmm, you might want to try adding 'pkg_resources.require("pytz>=2007c")' before the require("schooltool") | 20:38 |
ignas | or just fix the egg to just depend on plain pytz | 20:39 |
ignas | i did that trying to work around a buggy pytz in feisty | 20:39 |
jinty_ | it's probably better to have as loose dependencies as possible | 20:40 |
ignas | makes sense, and it didn't help with feisty anyway ;) | 20:40 |
ignas | thus you can see the monkeypatch code in schooltool-server.py :/ | 20:41 |
jinty_ | what's buggy about pytz in feisty? | 20:41 |
ignas | import pytz | 20:41 |
ignas | pytz.timezone('Europe/Vilnius') | 20:41 |
ignas | and it fails | 20:41 |
ignas | any timezone fails actually | 20:41 |
jinty_ | ?? | 20:41 |
ignas | the bug has been reported for more than a month | 20:41 |
* jinty_ is very glad he didn't port the ubuntu patch causing this breakage to debian... | 20:42 | |
jinty_ | can you give me a link to the bug report? | 20:42 |
ignas | https://bugs.launchpad.net/ubuntu/+source/python-tz/+bug/94415 | 20:42 |
jinty_ | wow that's evil | 20:43 |
ignas | the workaround? | 20:44 |
jinty_ | naa, the bug | 20:46 |
jinty_ | hmm, ok, back to getting this to work somehow | 20:47 |
ignas | ok, good luck, i must go now ;) | 20:48 |
ignas | see you | 20:48 |
*** Aiste has quit IRC | 20:50 | |
jinty_ | wonderful, zc.buildout fails in exactly the same way | 20:56 |
Lumiere | trying now | 21:01 |
* jinty_ thinks apt is still about 10 years ahead of setuptools/buildout | 21:05 | |
Lumiere | yea | 21:05 |
jinty_ | but if it makes python programmers not put everything in one tarball, that's just fine by me | 21:06 |
jinty_ | Lumiere, what distro/version are you using? | 21:13 |
*** Aiste has joined #schooltool | 21:32 | |
*** mgedmin has quit IRC | 21:37 | |
*** alga has quit IRC | 21:47 | |
*** pcardune has quit IRC | 22:33 | |
* jinty_ uploads a schooltool package based on the nightly tarball | 23:14 | |
*** jinty_ has quit IRC | 23:21 | |
*** Ninno has quit IRC | 23:27 | |
*** ignas has quit IRC | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!