*** replaceafill has joined #schooltool | 00:02 | |
*** alga has joined #SchoolTool | 00:05 | |
*** replaceafill has quit IRC | 00:18 | |
*** aelkner has quit IRC | 00:50 | |
*** ignas has quit IRC | 01:24 | |
*** aelkner has joined #schooltool | 02:38 | |
*** replaceafill has joined #schooltool | 03:18 | |
*** fsufitch has joined #schooltool | 06:06 | |
*** fsufitch has left #schooltool | 06:19 | |
*** replaceafill has quit IRC | 07:57 | |
*** mgedmin has joined #schooltool | 10:13 | |
*** balor has joined #schooltool | 12:10 | |
*** alga has quit IRC | 12:39 | |
*** jelkner has joined #schooltool | 14:54 | |
*** ignas has joined #schooltool | 14:55 | |
Lumiere | hi ignas | 15:06 |
---|---|---|
ignas | Lumiere: hi | 15:06 |
Lumiere | I still haven't figured out how to add --user to start-schooltool-instance or to schooltool.ini <_< | 15:06 |
* Lumiere has been hacking schooltool-egg/paste/run.py to add it <_< | 15:07 | |
Lumiere | we need a way to do it, and it needs to be in the book for sysadmins | 15:07 |
*** alga has joined #SchoolTool | 15:09 | |
ignas | hmm | 15:09 |
ignas | Lumiere: what's your setup? | 15:11 |
Lumiere | ignas: cando trunk checkout with the default instance directory | 15:11 |
Lumiere | I've tried adding user=cando to both of the schooltool.ini sections to no avail | 15:12 |
Lumiere | and --user to start-st-instance gets me an error | 15:12 |
Lumiere | (user=cando seems to get ignored) | 15:12 |
ignas | http://pythonpaste.org/script/#scripts | 15:12 |
Lumiere | I've looked | 15:12 |
ignas | Lumiere: yeah, start-schooltool-instance is a custom script | 15:12 |
Lumiere | and I can't see what to do from it | 15:12 |
ignas | you either use the original bin/paster script | 15:13 |
ignas | (you'd have to add it to buildout.cfg) | 15:13 |
ignas | edit the code, to pass on the --user option | 15:13 |
Lumiere | which is what I do now | 15:13 |
ignas | or try adding [exe] section | 15:13 |
Lumiere | from what I can tell... the [exe] section only gets called if you run ./schooltool.ini | 15:14 |
ignas | yes | 15:14 |
ignas | oh | 15:14 |
ignas | hmm | 15:14 |
ignas | no | 15:14 |
Lumiere | how hard would it be to update start-schooltool-instance to take --user | 15:14 |
ignas | not hard at all i'd say | 15:14 |
ignas | checkout schooltool | 15:15 |
ignas | look at setup.py | 15:15 |
ignas | to find the place where command is defined | 15:15 |
ignas | look at how it deals with options | 15:15 |
ignas | add options | 15:15 |
* Lumiere <3 google... (google optparse -> doc.python.org) | 15:19 | |
* mgedmin hates pydoc optparse -- not a single good example in the module docstring | 15:23 | |
Lumiere | mgedmin: heh | 15:23 |
Lumiere | mgedmin: I have a good example | 15:23 |
Lumiere | schooltool.paste.run | 15:23 |
Lumiere | I just need to extend it in a not-dumb way :) | 15:24 |
* Lumiere tests | 15:25 | |
*** jelkner has quit IRC | 15:59 | |
Lumiere | lisppaste5: url | 16:01 |
lisppaste5 | To use the lisppaste bot, visit http://paste.lisp.org/new/schooltool and enter your paste. | 16:01 |
mgedmin | !paste | 16:01 |
mgedmin | guess not | 16:02 |
lisppaste5 | Lumiere pasted "add --user to paste" at http://paste.lisp.org/display/77341 | 16:02 |
Lumiere | ignas: that should work | 16:02 |
Lumiere | yep... it does :) | 16:03 |
Lumiere | 10:03:04 jstraw@shipon:~/compile/cando/schooltool-trunk 38$ ./bin/start-schooltool-instance instance --user=ignas | 16:03 |
Lumiere | Bad username: 'ignas'; no such user exists | 16:03 |
ignas | Lumiere: want it applied and released? | 16:05 |
*** balor has quit IRC | 16:22 | |
Lumiere | sure | 16:51 |
Lumiere | you should probably give it to trunk too | 16:51 |
* Lumiere had to take someone to Metro ;) | 16:52 | |
ignas | Lumiere: well - i got distracted, but it's commited now | 17:11 |
ignas | should be packaged some time soonish ;) | 17:11 |
ignas | ok, not let's test schooltool using 2.5 python | 17:14 |
ignas | Lumiere: packaged and released | 17:17 |
Lumiere | ignas: I thought a lot of the 2.5 problems were related to zope3 not schooltool | 17:17 |
ignas | they are | 17:18 |
ignas | but if they are there - schooltool won't work ;) | 17:18 |
ignas | i am wondering whether they fixed one issue that was left | 17:18 |
Lumiere | I am still wondering what the __file__ warnings are about | 17:23 |
aelkner | ignas: i have a question about testing pdfs | 17:26 |
ignas | aelkner: yes | 17:26 |
aelkner | have you ever done it in schooltool | 17:27 |
aelkner | i ask because justus didn't test the sla pdf | 17:27 |
aelkner | for instance, the schooltool.conf setting for reportlab | 17:27 |
aelkner | it enables pdfcal | 17:27 |
aelkner | i would need to simulate that somehow | 17:27 |
ignas | schooltool/src/schooltool/app/browser/tests/test_pdfcal.py | 17:28 |
ignas | is the closest I could find just now | 17:28 |
ignas | it has tryToSetUpReportLab | 17:28 |
ignas | in it | 17:28 |
ignas | Lumiere: you are not supposed to use __file__ if you use eggs | 17:30 |
ignas | Lumiere: you should be using pkg_resources.resource stuff | 17:30 |
aelkner | ignas: thanks | 17:33 |
Lumiere | ignas: ah | 17:35 |
Lumiere | ignas: so both schooltool and ReportLab need that fixed at some point ;) | 17:36 |
ignas | Lumiere: kind of, setuptools handles it pretty well ;) | 17:36 |
Lumiere | it still throws warnings about it | 17:37 |
ignas | it is trying to find out whether the package is safe to zip | 17:37 |
ignas | and if it finds any __file__ usage | 17:37 |
ignas | it tells you - nope, we can't zip it, so we won't zip it | 17:37 |
Lumiere | heh | 17:37 |
ignas | not that there's anything wrong with non-zipped eggs | 17:37 |
ignas | there are worse things that people do ;) | 17:38 |
ignas | like - Zope using __file__ in such a way that breaks if your package is zipped (even if you are not using __file__) | 17:38 |
ignas | at least Zope was | 17:38 |
Lumiere | ignas: do you know what the release numbers will look like at/post 1.0? | 17:41 |
ignas | 2009.04 | 17:41 |
Lumiere | ok... so you're going to be using date based releases long term | 17:41 |
ignas | if it's good enough for ubuntu... | 17:41 |
Lumiere | yea | 17:41 |
Lumiere | now that we're building eggs | 17:42 |
Lumiere | I am thinking it is time to get a release workflow and tagging system | 17:42 |
Lumiere | which means working with you and jinty to learn how SchoolTool's release / dpkg builder works | 17:43 |
Lumiere | and planning my svn to bzr transition | 17:43 |
* Lumiere plans to make a 2009.04 and then transition all 2009.08 development to bzr | 17:44 | |
*** mgedmin has quit IRC | 17:47 | |
ignas | aelkner: you had ajax export somwehere, but i can'd find it... where was it? | 18:01 |
ignas | ahhh, json! | 18:01 |
aelkner | ah yes, sla's propagation package has it | 18:02 |
aelkner | json.py | 18:02 |
ignas | yeah, found it | 18:02 |
Lumiere | ignas: I am dumping the svn repository to look it over | 19:26 |
ignas | oooh | 19:30 |
ignas | :) | 19:30 |
Lumiere | ignas: bah | 19:30 |
Lumiere | .svn shows up in svn:ignore | 19:30 |
Lumiere | all over the place | 19:30 |
Lumiere | but I think | 19:31 |
Lumiere | we can do a search and replace | 19:31 |
Lumiere | for schooltoolfork/.svn | 19:31 |
Lumiere | to schooltoolfork/.subversion | 19:32 |
ignas | i guess | 19:32 |
Lumiere | I think that's the easiest thing to do | 19:33 |
Lumiere | and 83 mb of repository ;) | 19:37 |
Lumiere | hmm nope | 19:37 |
Lumiere | got it | 19:38 |
Lumiere | 2500+ times in vim | 19:38 |
Lumiere | /.svn to /.subversion | 19:39 |
ignas | :) | 19:43 |
*** elarson has joined #schooltool | 20:23 | |
*** jcrowley has joined #schooltool | 20:26 | |
*** elarson has quit IRC | 20:26 | |
*** jelkner has joined #schooltool | 20:40 | |
*** elarson has joined #schooltool | 20:47 | |
*** elarson has quit IRC | 20:49 | |
*** replaceafill has joined #schooltool | 20:56 | |
*** jelkner has quit IRC | 20:56 | |
*** replaceafill has quit IRC | 21:01 | |
*** alga has quit IRC | 21:39 | |
*** ignas has quit IRC | 21:42 | |
*** replaceafill has joined #schooltool | 21:49 | |
*** replaceafill has quit IRC | 22:38 | |
*** replaceafill has joined #schooltool | 22:41 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!