*** jinty has joined #schooltool | 00:57 | |
*** didymo has joined #schooltool | 03:12 | |
*** jinty has quit IRC | 04:38 | |
*** Bhaskar has joined #schooltool | 05:37 | |
*** pcardune has joined #schooltool | 08:19 | |
*** pcardune has quit IRC | 08:46 | |
*** mgedmin has joined #schooltool | 09:02 | |
*** wrobel has joined #schooltool | 09:19 | |
*** Aiste has joined #schooltool | 09:50 | |
*** mgedmin has quit IRC | 10:34 | |
*** jinty has joined #schooltool | 11:23 | |
Bhaskar | jinty:hello | 11:32 |
---|---|---|
jinty | Bhaskar, hi | 11:34 |
Bhaskar | jinty: we want to collaborate with your team | 11:35 |
jinty | in what way? | 11:36 |
* Fujitsu notes that a schooltool trunk checkout will explode if you make run or test, due to an old version of the zc.catalog egg going missing. | 11:36 | |
jinty | how does an egg go missing... | 11:36 |
Bhaskar | jinty: officially | 11:36 |
Bhaskar | jinty: we should have to customise schooltool also | 11:37 |
jinty | Bhaskar, well, I guess you'd better co-ordinate with th1a (Tom Hoffman) | 11:37 |
Fujitsu | jinty: The Makefile downloads it. | 11:37 |
Fujitsu | (but now downloads a newer version, which another of the eggs doesn't like) | 11:37 |
Bhaskar | jinty: ya, | 11:38 |
jinty | Fujitsu, aah | 11:38 |
Bhaskar | jinty: so discuss with th1a, and convey me how to procced for collaboration | 11:39 |
jinty | yes, th1a is the official organizer | 11:39 |
Bhaskar | jinty: i think your team discuss officially, then think how can we collaborate coz we should deploy schooltool in Nepal with localize and customize, so collaboration is better, to go together | 11:41 |
Bhaskar | th1a:hello | 11:42 |
*** lisppaste5 has quit IRC | 11:57 | |
*** lisppaste5 has joined #schooltool | 12:01 | |
*** Bhaskar has quit IRC | 12:42 | |
*** ignas has joined #schooltool | 13:03 | |
*** mgedmin has joined #schooltool | 13:08 | |
*** jfroche has joined #schooltool | 13:08 | |
*** jelkner has joined #schooltool | 14:48 | |
jelkner | what is the "regular time" for the schooltool meeting tomorrow? | 14:49 |
jfroche | jelkner: 14:30 UTC | 14:50 |
jelkner | jfroche: thanks! | 14:50 |
*** alga has joined #SchoolTool | 15:10 | |
*** jinty has quit IRC | 15:40 | |
*** ignas has quit IRC | 15:47 | |
*** ignas has joined #schooltool | 15:47 | |
*** alga has quit IRC | 16:04 | |
*** jinty has joined #schooltool | 16:52 | |
jfroche | ignas: hello, are you there ? | 17:02 |
ignas | yes | 17:02 |
jfroche | i see what is circular import, could i move ... | 17:03 |
lisppaste5 | jfroche pasted "moving this ?" at http://paste.lisp.org/display/36757 | 17:03 |
jfroche | to the person package ? | 17:03 |
jfroche | for the moment it's in src/schooltool/app/__init__.py | 17:04 |
jfroche | and that's where the circular import happen | 17:04 |
ignas | probably - no you can't, these are there for database backwards compatibility | 17:05 |
ignas | if we are to break it completely - we should consult with Tom first | 17:05 |
ignas | jfroche: you still didn't manage to solve the problem? | 17:06 |
jfroche | it's solved if i move it to person | 17:06 |
ignas | well - it breaks backward compatibility, as well - you can't import Person or PersonContainer from app ... and in some old databases there might be old instances of such classes | 17:07 |
jfroche | problem come from the import in person.py for the function in schooltool.app.getSchoolToolApplication | 17:09 |
ignas | can you post me the link to the repository | 17:11 |
ignas | and email me the patch with your changes | 17:12 |
jfroche | getSchoolToolApplication == getSite | 17:12 |
*** myeatman has joined #schooltool | 17:12 | |
ignas | kind of, yes | 17:12 |
jfroche | http://svn.schooltool.org/schooltool/trunk/schooltool/src/schooltool/person/person.py | 17:12 |
jfroche | http://svn.schooltool.org/schooltool/trunk/schooltool/src/schooltool/app/app.py | 17:13 |
jfroche | getSchoolToolApplication is in app.py | 17:13 |
jfroche | may i just call getSite in Person instead ? | 17:13 |
ignas | no, replace getSchooltoolApplication with ISchooltoolApplication(None) | 17:14 |
ignas | ISchoolToolApplication(None) | 17:15 |
jfroche | ok | 17:15 |
jfroche | uhm it wont change things cause http://svn.schooltool.org/schooltool/trunk/schooltool/src/schooltool/person/person.py there is other links to app's __init__.py | 17:18 |
ignas | can you post me the url to the svn repository you are working with | 17:21 |
ignas | and email me your local changes | 17:21 |
ignas | so i could just resolve the circular imporyt | 17:21 |
jfroche | can you checkout my branch ? | 17:21 |
ignas | yes i can | 17:21 |
jfroche | and run ./test.py -m jacqmain | 17:21 |
jfroche | you will see it directly | 17:22 |
ignas | oh, you have commited it | 17:22 |
jfroche | but i see no solution without removing the person import in app.__init__ | 17:22 |
jfroche | uhm wait | 17:23 |
jfroche | forgot one change | 17:23 |
jfroche | svn up | 17:24 |
* ignas is checking out at the moment | 17:24 | |
lisppaste5 | ignas pasted "A solution to the circular import problem" at http://paste.lisp.org/display/36761 | 17:45 |
jfroche | calling app/__init__.py before all solves it ? | 17:46 |
ignas | not calling | 17:46 |
ignas | importing | 17:46 |
ignas | before either Person or PersonContainer | 17:46 |
jfroche | i see | 17:47 |
jfroche | thanks | 17:47 |
ignas | src/schooltool/app/browser/tests/test_cal.py has a comment "import schooltool.app # sacrifice to appease circular import gods" | 17:47 |
jfroche | :) | 17:48 |
*** lisppaste5 has quit IRC | 17:50 | |
*** povbot has joined #schooltool | 17:53 | |
*** ignas has joined #schooltool | 18:00 | |
*** jelkner has joined #schooltool | 18:00 | |
*** jfroche has joined #schooltool | 18:00 | |
*** Aiste has joined #schooltool | 18:00 | |
*** Aim2 has joined #schooltool | 18:00 | |
jfroche | ignas: overlaid_calendars is a container of calendars in the user ? | 18:31 |
ignas | kind of | 18:33 |
ignas | but not at all | 18:33 |
jfroche | :) | 18:33 |
ignas | it's more like an insane mess that i would like to rewrite, but have no time for | 18:33 |
ignas | :) | 18:33 |
jfroche | ignas: there is an event to add "clerks" uppon initialization. i dont need this, i suppose that i have to also add an event to remove it ? | 18:52 |
ignas | hmm | 18:52 |
ignas | in a perfect world - you would refactor default groups and make them pluggable in some way | 18:53 |
ignas | but you can try with events (which won't work, as you can't actually depend on the order subscribers are being invoked) | 18:54 |
jfroche | should i set default groups in schooltool.conf ? | 18:55 |
ignas | don't think so | 18:57 |
ignas | zcml is better suited for "this affects the database initialization" stuff | 18:57 |
jfroche | so i have to define a new directive/meta | 18:58 |
ignas | you can try and mark the application with a marker interface when it is added, and then register some schooltool-initialization subscribers on specific interfaces or so ... | 18:58 |
ignas | though - you can try whatever works for you :) | 19:00 |
ignas | i am trying to keep schooltool trunk identical to schooltool for lyceum, but if it is not feasible for your setup, well ... | 19:01 |
jfroche | ignas: in the ideal world what would be the best ? | 19:01 |
ignas | jfroche: i don't know exactly, i don't know how current groups are being set up, i don't know which permission groups are affected by some groups being present, i don't know what would be the best way of configuring it, etc. | 19:02 |
jfroche | okok | 19:02 |
ignas | it's a complicated issue :) so you can think, design and resolve it :) | 19:03 |
ignas | hmm | 19:11 |
ignas | ok | 19:11 |
ignas | 1 way - add a marker interface so you could tell the difference between jmain school and simple school | 19:11 |
ignas | apply it some time very early | 19:11 |
ignas | maybe define the interface in the configuration in some way ... | 19:12 |
ignas | register initialization adapters for specific interfaces | 19:12 |
ignas | do all the initialization in them | 19:12 |
ignas | 2nd way - add some databaseInitializationutility | 19:12 |
ignas | global utility | 19:12 |
ignas | and refactor all current group/user setup into it | 19:13 |
ignas | and either override it in your plugin | 19:13 |
ignas | or make the utility named and set the name in schooltool.conf | 19:13 |
ignas | both require quite significant amount of work, the second one is probably easier to do, especially with just using overrides | 19:14 |
ignas | you would only have 1 event fired on schooltool app initialization then, or something like that | 19:15 |
ignas | if you think it is not very nice - you might define a utility for every module that is hooking into app-init-event | 19:15 |
ignas | and override only those utilities that you need | 19:15 |
ignas | or only add groupInitializationutility, and override it so it would be faster to implement | 19:16 |
ignas | jfroche: ^ | 19:16 |
jfroche | i like the second way yes | 19:19 |
jfroche | with 1 global utility for initilization | 19:19 |
ignas | well - it has the flaw of making it a bit difficult to disable Courses or Sections or Timetabling | 19:20 |
ignas | through zcml | 19:20 |
ignas | though if you can keep that part intact - do that ... | 19:21 |
jfroche | why can't you disable these component through zcml anymore? | 19:21 |
ignas | well - if you have 1 single utility that initializes the application, then you must move group creation for example into that utility | 19:22 |
ignas | so you could override it | 19:22 |
jfroche | right | 19:22 |
ignas | so no more event subscriber that creates groups, yes? | 19:23 |
*** Ninno has joined #schooltool | 19:23 | |
ignas | and what if someone wants to have custom courses/crouse container? he moves stuff to the same utility and removes the course init subscriber | 19:24 |
jfroche | there is still event | 19:24 |
ignas | oh, and what event does ? | 19:24 |
jfroche | call the right method in the init utility | 19:24 |
ignas | oh, that way | 19:24 |
ignas | i misunderstood you | 19:24 |
ignas | sorry | 19:24 |
ignas | so it's one utility per module way | 19:25 |
ignas | maybe we should name them :) | 19:25 |
ignas | and use multi utility query | 19:25 |
ignas | name='schooltool.groups' when registering | 19:25 |
ignas | or overriding | 19:25 |
jfroche | with IInitUtility ? | 19:25 |
ignas | ? | 19:25 |
ignas | with provideUtility | 19:26 |
ignas | a global named utility with a name schooltool.groups | 19:26 |
ignas | getUtilitiesFor - for querying | 19:26 |
jfroche | oh i see | 19:27 |
Ninno | hi | 19:27 |
Ninno | i need help with italina traslation of schooltool 2006 | 19:28 |
Ninno | italian | 19:28 |
jfroche | Ninno: hello,what's your problem ? | 19:29 |
ignas | ok, got to go, bye | 19:29 |
Ninno | bye ignas | 19:29 |
*** ignas has quit IRC | 19:29 | |
Ninno | jfroche | 19:29 |
Ninno | i need to translate to italian language | 19:30 |
Ninno | the schooltool 2006 alpha2 | 19:30 |
Ninno | ist possible | 19:30 |
Ninno | ? | 19:30 |
jfroche | Ninno: did you looked at rosetta ? | 19:31 |
Ninno | yes | 19:31 |
Ninno | but the transalte is not complete | 19:32 |
Ninno | and i'have very difficulte to compile | 19:32 |
Ninno | the italian language | 19:32 |
jfroche | you mean some strings aren't in the schooltool.pot ? | 19:33 |
Ninno | yes | 19:34 |
Ninno | some strings are in english | 19:34 |
*** alga has joined #SchoolTool | 19:35 | |
Ninno | is previewed the escape of the package precompiled for edubuntu? | 19:35 |
jfroche | what do you mean ? | 19:36 |
Ninno | I have collaborated with rosette for the translation. but I do not know as to compile the rows. there is a guide? | 19:36 |
Ninno | sorry for my english | 19:37 |
Ninno | they are not much practical one of linux. I have installed precaricato Edubuntu with schooltool, and is fantastic. The functions of schooltool 2006 interested me. It will be available as modernization for edubuntu? | 19:38 |
jfroche | Ninno: translations are po files that you compile with msgfmt | 19:46 |
Ninno | ok | 19:46 |
Ninno | i try | 19:47 |
*** jfroche has quit IRC | 20:51 | |
*** jelkner has quit IRC | 20:54 | |
*** lhuynh has joined #schooltool | 20:54 | |
*** lhuynh has quit IRC | 20:56 | |
*** Aiste has quit IRC | 21:53 | |
*** jfroche has joined #schooltool | 23:05 | |
*** mgedmin has quit IRC | 23:06 | |
*** Aiste has joined #schooltool | 23:10 | |
*** alga has quit IRC | 23:29 | |
*** jfroche_ has joined #schooltool | 23:33 | |
*** Ninno has quit IRC | 23:44 | |
*** jfroche has quit IRC | 23:44 | |
*** jfroche_ has quit IRC | 23:47 | |
*** Aiste has quit IRC | 23:47 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!