| *** cpcarey has quit IRC | 00:00 | |
| *** bnguyen has quit IRC | 00:19 | |
| *** kinder has quit IRC | 00:19 | |
| *** aelkner has quit IRC | 00:19 | |
| *** jelkner has quit IRC | 00:19 | |
| *** wjohnsto has quit IRC | 00:19 | |
| *** Aiste has quit IRC | 00:19 | |
| *** deathomen has joined #schooltool | 00:20 | |
| *** bnguyen has joined #schooltool | 00:20 | |
| *** kinder has joined #schooltool | 00:20 | |
| *** aelkner has joined #schooltool | 00:20 | |
| *** jelkner has joined #schooltool | 00:20 | |
| *** wjohnsto has joined #schooltool | 00:20 | |
| *** Aiste has joined #schooltool | 00:20 | |
| *** wjohnsto has quit IRC | 00:34 | |
| AVN` | eldar, so apparantly, if you want to have javascript functions, you have to put it in metal:block tags | 00:35 |
|---|---|---|
| fsufitch | AVN`, most def, since otherwise zope tries to parse them :) | 00:38 |
| *** kinder has quit IRC | 00:38 | |
| Lumiere | jinty: ayt? | 00:44 |
| *** bnguyen has left #schooltool | 00:54 | |
| *** Makorihi has quit IRC | 00:54 | |
| *** eldar has quit IRC | 00:56 | |
| *** jelkner has quit IRC | 00:56 | |
| *** fsufitch has quit IRC | 00:56 | |
| *** wjohnsto`ACC has quit IRC | 00:59 | |
| *** tdoggette has quit IRC | 01:01 | |
| *** didymo has joined #schooltool | 01:15 | |
| *** AVN` has quit IRC | 01:16 | |
| aelkner | pcardune: you still there? | 01:18 |
| *** aelkner has quit IRC | 01:19 | |
| *** jfroche has quit IRC | 01:28 | |
| *** pcardune has quit IRC | 01:29 | |
| *** AVN` has joined #schooltool | 02:37 | |
| *** pcardune has joined #schooltool | 03:02 | |
| *** AVN` has quit IRC | 03:06 | |
| *** Fujitsu has quit IRC | 04:02 | |
| *** th1a has joined #schooltool | 04:12 | |
| *** Fujitsu has joined #schooltool | 04:55 | |
| *** AVN` has joined #schooltool | 05:11 | |
| *** AVN` has quit IRC | 05:31 | |
| *** didymo has quit IRC | 06:24 | |
| jinty | Lumiere, now,yes | 07:31 |
| jinty | the diff looks good | 07:32 |
| jinty | I like the use of optparse | 07:33 |
| *** pcardune has quit IRC | 08:13 | |
| *** jinty has quit IRC | 08:20 | |
| *** jinty has joined #schooltool | 08:21 | |
| *** ignas has joined #schooltool | 09:43 | |
| jinty | morning ignas | 10:06 |
| jinty | just made the z3c.optionstorage egg | 10:06 |
| ignas | ok | 10:07 |
| ignas | let me try it out | 10:07 |
| * jinty even wrote a test for optionstorage... | 10:07 | |
| jinty | it's very lonely | 10:07 |
| ignas | :) | 10:09 |
| *** alga has joined #SchoolTool | 10:12 | |
| ignas | jinty: you missed zcml files | 10:25 |
| ignas | not usre how | 10:25 |
| ignas | but no meta.zcml nor configure.zcml in there | 10:25 |
| ignas | *sure | 10:25 |
| jinty | include src/z3c.optionstorage/*.zcml | 10:26 |
| jinty | isn't going to work | 10:26 |
| ignas | maybe you need src/z3c/optionstorage/*.zcml ? | 10:28 |
| jinty | moment, releasing it again | 10:28 |
| jinty | ignas: ok, so there should be a new release for you to try | 10:31 |
| ignas | nope, still not good | 10:32 |
| jinty | but the zcml files are there now? | 10:32 |
| ignas | nope | 10:33 |
| ignas | can't see them | 10:33 |
| ignas | 1.2 egg | 10:33 |
| ignas | 0.1.2-py2.4 | 10:33 |
| ignas | (they are in sdist i'd guess) | 10:33 |
| ignas | but not in bdist | 10:33 |
| jinty | hmm, it looked like I copied both the egg and tarball there | 10:34 |
| jinty | perhaps there's some caching involved | 10:34 |
| ignas | i mean - zcml files are not in the "egg" | 10:34 |
| jinty | really? | 10:35 |
| jinty | wow, setuptoools sucz | 10:35 |
| ignas | ORLY? | 10:35 |
| ignas | include_package_data = True ? | 10:36 |
| jinty | probably | 10:36 |
| ignas | i can't see it in setup.py | 10:36 |
| jinty | yeah, it's probably that | 10:36 |
| jinty | I'll have a look in a moment | 10:37 |
| jinty | why couldn't python just have chosen dpkg and apt for packaging... | 10:38 |
| ignas | hmm, well - apt is not available on windows iirc | 10:41 |
| jinty | yeah, but.... | 10:44 |
| * jinty mumbles about terminally insane operating systems | 10:44 | |
| jinty | ignas, so now we have a 0.1.3 to try out | 10:44 |
| ignas | seems like it works | 10:47 |
| ignas | i am updating schooltool | 10:47 |
| jinty | horah, and now there's a debian package of it as well. | 10:55 |
| ignas | :) | 11:05 |
| ignas | commited to trunk | 11:12 |
| ignas | jinty: a problem, i would like to separate translations into separate locations | 11:14 |
| ignas | like have lyceum.pot in src/lyceum | 11:14 |
| ignas | and have schooltool.commendations.pot in src/schooltool/commendations/locales | 11:14 |
| jinty | yeah, it makes sense when you distribute the software separately | 11:14 |
| ignas | modifying the i18n script to do that is easy | 11:15 |
| ignas | but what about other scripts | 11:15 |
| ignas | like tarball extraction for example | 11:15 |
| ignas | some way to assign locales paths to domains would seem to make sense | 11:15 |
| ignas | both for i18n extract parameters | 11:15 |
| ignas | and for tarball extraction/ mo packaging | 11:16 |
| jinty | At the moment we don't even include compiled translations in our eggs | 11:16 |
| jinty | so it's pretty broken anyway | 11:16 |
| ignas | hmm, can setuptools even do that | 11:16 |
| jinty | Once I looked for a pure python .po to .mo compiler | 11:16 |
| ignas | i mean generate mo files every time you run setup.py bdist | 11:16 |
| jinty | didn't find onw | 11:17 |
| jinty | it should be realtively easy to extend setuptools to do that | 11:17 |
| jinty | as long as you have something that will actually compile the files | 11:17 |
| jinty | currently our make dist command should compile the .mo files | 11:18 |
| jinty | but it needs a .pot file to start with | 11:18 |
| jinty | and generating that generates a bunch of junk you don't want in the tarball | 11:19 |
| ignas | hmm | 11:19 |
| jinty | (I shouldn't need to compile and run the whole of schooltool just to build a tarball) | 11:20 |
| jinty | Lumiere, I finally managed to get a schooltool tests-> schooltool tarball/egg -> cando tests buildbot scheduler working, I think | 11:25 |
| ignas | jinty: how would one do domain - path mapping in a shell script? | 11:47 |
| ignas | in a makefile that is | 11:48 |
| ignas | now we have TRANSLATION_DOMAINS=schoolbell schooltool | 11:48 |
| ignas | but i'd like to have 2 more domains, with different path | 11:48 |
| jinty | hmm | 11:51 |
| jinty | for domain in $(TRANSLATION_DOMAINS); do | 11:52 |
| jinty | path = src/`echo ${domain} | sed s/./\//g`/locales | 11:53 |
| jinty | is that kind of what you want? | 11:53 |
| jinty | ignas: ^ | 11:54 |
| ignas | hmm, then i'd move schoolbell locales to schoolbell too | 11:55 |
| ignas | though i guess that makes sense | 11:55 |
| jinty | (actually it makes more sense to group the translations according to language) | 11:56 |
| jinty | because normally you only want one or 2 languages, and the translations can get pretty big | 11:56 |
| jinty | ubuntu does that with it's language packs | 11:57 |
| * ignas wants to reuse the infrastructure | 12:00 | |
| ignas | for lyceum | 12:00 |
| jinty | sure, I'm not suggesting we should even try... | 12:04 |
| ignas | :) | 12:06 |
| *** jfroche has joined #schooltool | 12:12 | |
| ignas | jinty: hmm, ok paths can be generated, what about attaching zcml files to domains? (if you are not too busy) | 12:14 |
| jinty | ignas: well in theory the configure.zcml of each product should include the zcml files of what it depends on | 12:16 |
| jinty | so I would use the paths to find a configure.zcml | 12:16 |
| jinty | but why not move this searching to python? rather than trying it in shell | 12:17 |
| ignas | hmm, depends on is a strong word | 12:17 |
| ignas | it's actually reverse | 12:17 |
| ignas | schooltool does not depend on "attendance" | 12:17 |
| ignas | but attendance depends on "schooltool" translations | 12:17 |
| jinty | but attendance does depend on schooltool | 12:18 |
| ignas | yes, more or less everything depends on schooltool | 12:18 |
| jinty | so attendance/configure.zcml should include schooltool/configure.zcml | 12:19 |
| jinty | otherwise you could just look for an ftesting.zcml | 12:19 |
| ignas | yes | 12:19 |
| ignas | but i want to extract translations for schooltool | 12:19 |
| ignas | and there are no places | 12:19 |
| ignas | that register all possible plugins | 12:20 |
| ignas | that use schooltool domain | 12:20 |
| jinty | I see | 12:20 |
| jinty | but I thought we were going to change that to be plugin specific eventually | 12:20 |
| jinty | but right now, yeah, it'll be a problem | 12:20 |
| ignas | yes, eventually | 12:20 |
| ignas | not sure if such refactoring would make sense now, as we'd have to pluginize all schooltool packages | 12:21 |
| ignas | well - most of them | 12:21 |
| jinty | It might just be easier to write a .zcml file specifically for the translation extraction | 12:22 |
| jinty | until we can move the translations into individual packages | 12:22 |
| jinty | I think that eventualy schooltool will be a namespace egg... | 12:23 |
| ignas | hmm, i will just add "translations.zcml" to all the domain packages | 12:23 |
| jinty | yeah perhaps with a big note: "This is really just a workaround." | 12:24 |
| jinty | shell script could look for translations.zcml | 12:24 |
| jinty | then ftesting.zcml | 12:24 |
| jinty | then configure.zcml | 12:24 |
| jinty | then give up | 12:24 |
| ignas | translations.zcml will do ;) | 12:25 |
| ignas | will fix it if people will complain | 12:25 |
| jinty | also, I'm trying to get the buildbot to build the translations into the tar.gz and the egg | 12:25 |
| ignas | or if we'll start packaging everything | 12:25 |
| jinty | or builddot should, but it seems to timeout on cheeseshop | 12:26 |
| jinty | gotta go, ciao | 12:26 |
| ignas | by | 12:26 |
| ignas | bye | 12:26 |
| *** jinty has left #schooltool | 12:26 | |
| *** jinty has quit IRC | 12:26 | |
| *** ignas has quit IRC | 17:27 | |
| *** Aiste has quit IRC | 18:13 | |
| *** Aiste has joined #schooltool | 18:15 | |
| *** jfroche has quit IRC | 18:37 | |
| *** kinder has joined #schooltool | 19:42 | |
| *** pcardune has joined #schooltool | 20:24 | |
| *** AVN` has joined #schooltool | 20:45 | |
| AVN` | Hey, anyone here? | 21:33 |
| AVN` | I need a code review | 21:33 |
| AVN` | Where is everybody? | 21:34 |
| Lumiere | I'll look for paul :) | 21:47 |
| AVN` | thanks | 21:49 |
| AVN` | eh, I'll try again later | 22:08 |
| Lumiere | AVN`: he may be looking at it | 22:09 |
| AVN` | uh... | 22:12 |
| AVN` | I don't think he is | 22:12 |
| AVN` | I have it | 22:12 |
| AVN` | there is no way he could have a copy of it | 22:12 |
| Lumiere | did you put it in the branch? | 22:18 |
| Lumiere | (although he may not be working today on cando stuff) | 22:18 |
| *** alga has quit IRC | 22:27 | |
| AVN` | No, I'm waiting for a code review | 22:51 |
| AVN` | I'm not sure exactly how to do it, and I want to make sure I do it right | 22:51 |
| *** AVN` is now known as AVN_away | 22:51 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!