*** fsufitch has quit IRC | 01:13 | |
*** ignas has quit IRC | 03:15 | |
*** pcardune has joined #schooltool | 04:50 | |
*** pcardune has quit IRC | 04:53 | |
*** subir has joined #schooltool | 05:25 | |
*** wbrady has joined #schooltool | 05:57 | |
*** pcardune has joined #schooltool | 05:58 | |
*** pcardune has quit IRC | 05:59 | |
*** didymo has quit IRC | 07:42 | |
*** subir has quit IRC | 08:20 | |
*** subir has joined #schooltool | 08:21 | |
*** wbrady has quit IRC | 08:47 | |
*** povbot has joined #schooltool | 09:27 | |
*** subir has quit IRC | 09:29 | |
*** ignas has joined #schooltool | 09:30 | |
*** povbot` has quit IRC | 09:42 | |
*** ignas has quit IRC | 10:24 | |
*** ignas has joined #schooltool | 10:24 | |
*** didymo has joined #schooltool | 10:26 | |
*** didymo has quit IRC | 12:16 | |
*** ignas has quit IRC | 13:00 | |
*** ignas has joined #schooltool | 13:08 | |
*** alga has joined #SchoolTool | 13:36 | |
*** lisppaste5 has quit IRC | 14:27 | |
*** Lumiere has quit IRC | 14:27 | |
*** SteveA has quit IRC | 14:27 | |
*** alga has quit IRC | 14:27 | |
*** aelkner has quit IRC | 14:27 | |
*** jfroche has quit IRC | 14:27 | |
*** bc has joined #SchoolTool | 14:36 | |
*** bc has left #SchoolTool | 14:36 | |
*** aelkner has joined #schooltool | 14:55 | |
*** jfroche has joined #schooltool | 14:55 | |
*** alga has joined #schooltool | 14:55 | |
*** lisppaste5 has joined #schooltool | 14:55 | |
*** SteveA has joined #schooltool | 14:55 | |
*** Lumiere has joined #schooltool | 14:55 | |
*** lisppaste5 has quit IRC | 15:17 | |
*** Lumiere has quit IRC | 15:23 | |
*** SteveA has quit IRC | 15:23 | |
*** alga has quit IRC | 15:23 | |
*** alga has joined #schooltool | 15:23 | |
*** SteveA has joined #schooltool | 15:23 | |
*** Lumiere has joined #schooltool | 15:23 | |
*** aelkner has quit IRC | 15:23 | |
*** jfroche has quit IRC | 15:23 | |
*** aelkner has joined #schooltool | 15:24 | |
*** jfroche has joined #schooltool | 15:24 | |
*** lisppaste5 has joined #schooltool | 15:28 | |
*** th1a has joined #schooltool | 16:21 | |
th1a | Good morning aelkner, ignas. | 16:29 |
---|---|---|
aelkner | morning | 16:29 |
ignas | hi | 16:29 |
th1a | So I'm going to be at SLA this weekend for EduCon. | 16:30 |
aelkner | so i understand | 16:30 |
aelkner | and jeff too | 16:30 |
th1a | Are you interested in going aelkner? | 16:30 |
aelkner | i was thinking i should at least go friday | 16:30 |
aelkner | but what about the other two days? | 16:30 |
th1a | Ah, right. I won't be there Friday. | 16:31 |
aelkner | oh | 16:31 |
aelkner | what will go on during the weekend? | 16:31 |
th1a | Sessions. | 16:31 |
aelkner | of particular interest to me? | 16:31 |
th1a | I don't know... not directly connected to work. | 16:32 |
th1a | But if you want to go I'll cover the registration. | 16:32 |
th1a | Since it is only $50. | 16:32 |
aelkner | well, i haven't made any social plans for that weekend | 16:32 |
aelkner | so i could look over the conference schedule and get back to you | 16:33 |
th1a | OK. My talk is first thing on Saturday. | 16:33 |
th1a | It is about school reform though. | 16:33 |
th1a | No technology. | 16:33 |
aelkner | that might be a bit wide of what i'm interested in | 16:34 |
th1a | I won't be offended if you skip it. | 16:35 |
aelkner | did jelkner say he's going to be there for the whole thing? | 16:35 |
th1a | I think so. | 16:35 |
aelkner | i'll let you know | 16:36 |
aelkner | shall i report first? | 16:36 |
th1a | Sure. | 16:36 |
aelkner | well, last week was my first experience with pdp, and it went well | 16:36 |
aelkner | despite writings to the contrary, phpCAS support is there, but not without need of hacking | 16:37 |
aelkner | so we started with moodle | 16:37 |
th1a | I am not surprised. | 16:37 |
aelkner | and that took us most of the week to get working | 16:37 |
aelkner | but we did! | 16:37 |
th1a | Excellent. | 16:37 |
aelkner | i carefully made notes of the steps we had to take | 16:38 |
th1a | Good. | 16:38 |
* th1a sucks at that. | 16:38 | |
aelkner | so that we could always reporduce it | 16:38 |
aelkner | and we have to eventually when we go production with it | 16:38 |
aelkner | so now when you log in to the moodle site, it redirects you to the CAS server login | 16:39 |
aelkner | and logging out successfully breaks the connection with CAS | 16:39 |
aelkner | Friday, we started in on drupal | 16:39 |
th1a | What kind of changes were necessary. | 16:39 |
th1a | ? | 16:39 |
aelkner | Oh, lots of dumb stuff | 16:39 |
aelkner | for starters, we had to create this file | 16:39 |
aelkner | called casfilter.inc.php | 16:40 |
aelkner | that we needed to put in the php path | 16:40 |
aelkner | together with the CAS directory | 16:40 |
aelkner | and change the php pages in moodle to include it | 16:40 |
aelkner | then we had to hack little things here and there | 16:41 |
aelkner | to get it to read properly from the user db after successful authentication with CAS | 16:41 |
th1a | How did you find working with Moodle? | 16:41 |
aelkner | the code, you mean? | 16:42 |
th1a | Yes. | 16:42 |
aelkner | it wasn't so bad. | 16:42 |
aelkner | mysql is a great sql dbn | 16:42 |
aelkner | db | 16:42 |
aelkner | so, when we broke things and weren't abl;e to get back in | 16:43 |
aelkner | we could always change the sql to get it back working again | 16:43 |
aelkner | that's one advantage of sql over something like the zodb | 16:43 |
th1a | What about the PHP? | 16:43 |
aelkner | you can do whatever you want to it, and easily | 16:43 |
aelkner | PHP is not so bad, a lot like c | 16:44 |
aelkner | the particular php for moodle's use of CAS leaves a bit to be desired | 16:44 |
aelkner | it was a bit of a spaghetti situation | 16:45 |
th1a | Ah. | 16:45 |
aelkner | and the hacks that we needed to make were stufid | 16:45 |
aelkner | stupid | 16:45 |
th1a | Yes, that's often the case. Random extensions like that are a crap shoot. | 16:45 |
aelkner | like nobody ever got it to work or something | 16:45 |
aelkner | yet it was 99% tyhe way there | 16:45 |
aelkner | it was weird really | 16:45 |
aelkner | and there wasn't much written on it | 16:46 |
aelkner | but luckily there was this one google code page that really helped | 16:46 |
th1a | I'd say that's a common scenario. | 16:46 |
aelkner | and a lot of elbow grease got us the rest of the way there | 16:46 |
th1a | Well 1 week isn't bad. | 16:46 |
aelkner | so Friday we started on drupal | 16:46 |
aelkner | and it looks like it might only take one more day | 16:47 |
aelkner | which would be Tuesday cause noone at SLA is there today | 16:47 |
aelkner | MLK holiday and all | 16:47 |
th1a | People I talk to dislike Moodle coding more than Drupal coding. | 16:47 |
aelkner | so I figured I'd look into schooltool's CAS today | 16:47 |
aelkner | yeah, moodle's code does look crapier | 16:48 |
th1a | ignas: Can you offer any advice on SchoolTool CAS? | 16:48 |
th1a | Known issues? | 16:48 |
aelkner | and i figured i's need to get with ignas to get the buildout working again | 16:49 |
ignas | hmm | 16:49 |
ignas | well - log out procedure is still not there | 16:49 |
ignas | i mean | 16:49 |
ignas | you have to log out both out of CAS and schooltool | 16:49 |
ignas | not sure you could do it the other way | 16:50 |
ignas | without hampering performance too much | 16:50 |
aelkner | how do you mean? | 16:50 |
aelkner | the other way? | 16:50 |
ignas | well - schooltool only authenticates with CAS on log in | 16:50 |
ignas | so if you log out of CAS | 16:50 |
ignas | schooltool will only check with CAS when session times out | 16:51 |
ignas | if schooltool would authenticate every request with CAS | 16:51 |
ignas | (which includes a lot of stuff actually) | 16:51 |
ignas | the system would do the roundtrip through CAS (all the redirects) | 16:52 |
ignas | every time you click | 16:52 |
ignas | or even load an image | 16:52 |
ignas | and i still don't know how to set session timeout to ~5 minutes for Zope3 | 16:52 |
aelkner | -5? | 16:52 |
ignas | around 5 | 16:52 |
aelkner | didn't see the tilda | 16:53 |
ignas | so in lyceum we are planning to make schooltool logout and wordpress logout to clear cookies | 16:53 |
ignas | on the server | 16:54 |
ignas | because both will be served in the same domain | 16:54 |
ignas | it becomes more tricky when you have a few different servers | 16:54 |
ignas | and i don't really know any ways to log of without leaving the 5 minute window | 16:54 |
ignas | for other services | 16:54 |
ignas | while not checking with CAS every single click | 16:55 |
ignas | that's kind of everything I have thought about | 16:56 |
th1a | What does Moodle do? | 16:56 |
ignas | it only checks with CAS on log in iirc | 16:56 |
aelkner | could it be that we only need to check with CAS on login and logout | 16:56 |
ignas | well - if you only need CAS on login, and person logs out from "schooltool" | 16:57 |
ignas | how will moodle know that the person logged out | 16:57 |
ignas | or do we expect the person to log out of all the services he logged in | 16:57 |
aelkner | good point | 16:57 |
ignas | CAS gives easy single sign on | 16:57 |
th1a | aelkner: Do you know if Moodle checks for every request? | 16:57 |
aelkner | i'll be able to offer more on that when we have drupal working | 16:58 |
ignas | but the single sign off is a bit tricky | 16:58 |
aelkner | as that wil be one of our test scenarios | 16:58 |
ignas | i know wordpress definitely checks only once | 16:58 |
aelkner | what happens to moodle when we sign out of drupal | 16:58 |
ignas | aelkner: you can test it now | 16:58 |
ignas | just sign off CAS | 16:58 |
ignas | directly from the CAS server | 16:58 |
aelkner | right | 16:58 |
ignas | and see if moodle still works | 16:58 |
ignas | if they are sane - they will keep on working ;) | 16:59 |
aelkner | i think you're right | 16:59 |
aelkner | i'll look into that later | 16:59 |
th1a | So what's the use case? | 16:59 |
th1a | I walk up to a public terminal, | 17:00 |
th1a | log in to SchoolTool, do something, log out, | 17:00 |
ignas | everything is fine | 17:00 |
th1a | someone else comes up, goes to Moodle and is logged in to my account? | 17:00 |
ignas | no | 17:00 |
ignas | the scenario is this: | 17:00 |
ignas | you walk up and log into schooltool | 17:00 |
ignas | tyou do stuff | 17:00 |
ignas | then you go to your moodle page | 17:00 |
ignas | and you get there without signing in, everything just works | 17:01 |
ignas | no log in dialogs | 17:01 |
ignas | then you log of schooltool or moodle | 17:01 |
ignas | some one else can still use the *other* one that you didn't sign off | 17:01 |
th1a | Oh. I would have to go to Moodle first. | 17:01 |
ignas | yes | 17:01 |
aelkner | well, for moodle i anticipate the possibility | 17:02 |
aelkner | of having to require "casfilter.inc.php" | 17:02 |
aelkner | at the beginning of EVERY php page | 17:02 |
aelkner | actually it's require_once | 17:02 |
ignas | well - you should look at what it does | 17:02 |
aelkner | to that pages that include each other | 17:02 |
aelkner | don't run that code twice | 17:02 |
aelkner | the code checks for a session variable | 17:03 |
th1a | I wonder what the performance hit of checking with CAS every time would be. | 17:03 |
th1a | aelkner: Did you join the RubyCAS mailing list? | 17:03 |
aelkner | not yet | 17:03 |
ignas | th1a: with schooltool (schooltool authenticates images and css too) it's HUGE | 17:03 |
th1a | OK. | 17:03 |
ignas | aelkner: that's the problem the session variable being in there does not mean that you haven't logged out of CAS in the background | 17:04 |
aelkner | it also checks in with the CAS server, but i didn't get that deep ino the code | 17:04 |
aelkner | we just noticed that if we signed out od CAS manually | 17:04 |
aelkner | that the moodle pages that we protected with casfillter.inc.php | 17:05 |
aelkner | would direct us to the CAS login | 17:05 |
ignas | oh | 17:05 |
ignas | nice | 17:05 |
th1a | Could SchoolTool use a really short lived cookie, like 1 minute? | 17:05 |
aelkner | so i'm assuming drupal will benifit simarlyly | 17:05 |
ignas | aelkner: can you give me a ling to casfillter source code? | 17:06 |
aelkner | http://code.google.com/p/rubycas-server/wiki/HowToConfigure | 17:06 |
ignas | thanks | 17:07 |
aelkner | i'm trying to think of the page we found for downloading phpCAS, but i can't think of it at the moment | 17:08 |
ignas | i'll find it | 17:09 |
aelkner | ok | 17:09 |
aelkner | so i'll continur with my report | 17:10 |
ignas | i see | 17:10 |
ignas | ok ;) | 17:10 |
aelkner | i didn't mean it to sound like you were interrupting | 17:10 |
aelkner | we can talk about the technical stuff after Tom drops the bag of gravel | 17:11 |
ignas | I just wrote before reading, sorry | 17:11 |
aelkner | so I met with Marcie to discuss what they needed | 17:11 |
aelkner | she showed me their filemaker Pro use for narritive report cards | 17:11 |
aelkner | and the CSAP stuff | 17:12 |
aelkner | and we remionded ourselves of what we discussed when you were there Jan 3 | 17:12 |
aelkner | It looks like we have 3 deliverables for April 15 | 17:13 |
aelkner | 1) CAS working with moodle, drupal, koha?, and schooltool | 17:13 |
aelkner | 2) narattive report cards in schooltool | 17:13 |
aelkner | 3) CSAP stuff in schooltool | 17:14 |
aelkner | I believe i will be able to acheive those three things by then | 17:14 |
th1a | And that's assuming "Set up SchoolTool for SLA." | 17:14 |
aelkner | of course, which i already did week before last | 17:14 |
th1a | Did you import students, etc.? | 17:14 |
aelkner | but i'll need to revisit to respond to ignas' restructure of buildouts | 17:15 |
aelkner | and schooltool.gradebook and tll that | 17:15 |
aelkner | no, i only loaded sample data | 17:15 |
aelkner | but we already discussed the need to import students | 17:15 |
aelkner | that came up when i demoed schooltool | 17:15 |
th1a | Right -- just make sure you allow time for that. | 17:16 |
aelkner | that should present no problem | 17:16 |
th1a | It will take real time, though. | 17:16 |
aelkner | oh? | 17:16 |
aelkner | i figured the just need to create a csv | 17:16 |
aelkner | that we could import | 17:16 |
ignas | emm, if you only have titles and usernames | 17:16 |
ignas | then yes, i guess you could | 17:16 |
ignas | otherwise - you'll have to do some work | 17:17 |
th1a | It will take at least a week. | 17:17 |
aelkner | well, there is the issue of custom demo data | 17:17 |
th1a | To set up all the data. | 17:17 |
aelkner | that i didn';t mention in points 2) and 3) | 17:17 |
th1a | (not just students) | 17:17 |
aelkner | for instance, each student has an advisor | 17:17 |
aelkner | which isn't part of basicperson | 17:17 |
ignas | well - it is i think | 17:18 |
aelkner | or any type of schooltool person for that matter | 17:18 |
aelkner | oh? | 17:18 |
ignas | basicperson had a field advisor | 17:18 |
ignas | unless I hid it away | 17:18 |
th1a | I thought so. | 17:18 |
aelkner | that's good news | 17:18 |
aelkner | the advisor is import for the narritive report cards as a key | 17:18 |
aelkner | so Tom, considering that 1-3 do have various complexities involved | 17:19 |
aelkner | but the fact that there are almost three months between now and April 15 | 17:19 |
aelkner | I believe that I could have them ready by then | 17:20 |
aelkner | sound like a plan? | 17:20 |
th1a | Yes. Write that in an email and Chris and I will sign off on it. | 17:20 |
aelkner | ok | 17:20 |
aelkner | so before i pass the ball, ignas, will you be available after this meeting to discuss sla.buildout? | 17:21 |
ignas | yes | 17:21 |
ignas | for a while i guess | 17:22 |
aelkner | ok | 17:22 |
aelkner | that's all for me | 17:22 |
th1a | Thanks aelkner. | 17:22 |
th1a | ignas? | 17:22 |
ignas | well - I was playing with buildbot a lot | 17:23 |
ignas | you should be able to see the results ;) | 17:23 |
*** jinty has joined #schooltool | 17:23 | |
ignas | refactored lyceum.journal into schooltool.lyceum.journal | 17:23 |
ignas | just to see if it works | 17:23 |
ignas | refactored schooltool.gradebook into a separate egg | 17:23 |
ignas | added a schooltool.stapp2008spring "product" | 17:24 |
ignas | so we could start testing our release configuration | 17:25 |
ignas | not too much more | 17:25 |
ignas | now i am working on sample data | 17:25 |
ignas | for the release configuration | 17:25 |
ignas | so that the data would span more than 1 year | 17:26 |
ignas | and there would be some grades sprinkled in the gradebook | 17:26 |
* th1a is looking forward to that. | 17:26 | |
ignas | then you will be able to bash the UI | 17:26 |
ignas | and all the details | 17:26 |
ignas | for being inconvenient to use ;) | 17:26 |
* th1a is looking forward to that too. | 17:27 | |
ignas | chris has commited some more code | 17:28 |
ignas | that broke on buildbot, but i'll look at it today | 17:28 |
th1a | Thanks. | 17:28 |
ignas | other than that - he seems to be a quite productive intern, at least from my perspective | 17:29 |
aelkner | i'm curious | 17:29 |
aelkner | how much time did you need to spend guiding him with the changes he made? | 17:29 |
aelkner | they seem a bit advanced | 17:30 |
ignas | not too much, an email or two were enough | 17:30 |
ignas | the tasks were not too difficult | 17:30 |
aelkner | he was good to work with this summer | 17:31 |
aelkner | when mary didn't get him in a fooling around mood | 17:31 |
aelkner | but he definitely should be able to help us a lot down the road | 17:31 |
aelkner | depending on the level of commitment he can make time-wise | 17:32 |
*** jinty has quit IRC | 17:32 | |
aelkner | i does look like he will working on it | 17:32 |
ignas | he seemed to be working on weekends i think | 17:32 |
aelkner | enjoy working on it i meant | 17:32 |
th1a | OK... good meeting I'd say. | 17:32 |
*** jinty has joined #schooltool | 17:33 | |
th1a | My main objective right now is making sure you guys are communicating with each other. | 17:33 |
th1a | Main objective for the meetings, at least. | 17:33 |
aelkner | it's always good to have wwekly meeting like this | 17:33 |
th1a | Have a good week & hopefully I'll see aelkner this weekend at some point. | 17:33 |
aelkner | ok, thanks. | 17:34 |
* th1a drops the bag of gravel. | 17:34 | |
aelkner | ignas: i saw your checkins last week | 17:34 |
ignas | yes | 17:35 |
aelkner | the changes to use lxml were understandable and should probably just work | 17:35 |
ignas | hopefully ;) | 17:35 |
aelkner | the other stuff i didn't look at closely | 17:35 |
aelkner | but will affect me | 17:36 |
aelkner | so i thought i would check with you | 17:36 |
aelkner | on whether i should start from scratch with my sla installation | 17:36 |
ignas | hmm, the change that will affect you most is the gradebook one | 17:36 |
aelkner | i figured | 17:37 |
ignas | hmm, where could i find your sla installation source code? | 17:37 |
th1a | ignas: How far along is the lxml switch? | 17:37 |
ignas | th1a: it's done | 17:37 |
th1a | Lovely. | 17:37 |
ignas | because i don't really know if there is anything wrong with it | 17:38 |
aelkner | last week, you warned me not to update my schooltool instances | 17:38 |
aelkner | as you were in a state of transition | 17:38 |
aelkner | is that still true? | 17:38 |
ignas | you can update, but it would be better to have me online | 17:39 |
ignas | in case there are problems | 17:39 |
aelkner | that's what i was thinking | 17:40 |
* th1a takes a shower. | 17:40 | |
aelkner | that's why i asked if you'd be availble now | 17:40 |
aelkner | i could start right now | 17:40 |
ignas | ok | 17:40 |
ignas | you should just svn up everything you can | 17:40 |
ignas | and bin/buildout -n | 17:40 |
aelkner | could you briefly explain what i need to do to use the new schooltool.gradebook egg | 17:41 |
ignas | emm | 17:41 |
ignas | nothing | 17:41 |
ignas | at the moment schooltool egg depends on schooltool.gradebook | 17:41 |
aelkner | so i don't need to change my buildout.cfg for it? | 17:42 |
ignas | hmm | 17:42 |
ignas | you should remove the libxml2 section | 17:42 |
aelkner | ok | 17:43 |
ignas | and any mentions of libxml2 | 17:43 |
ignas | from your buildout.cfg's | 17:43 |
ignas | unless your buildout is using schooltool alpha release | 17:43 |
aelkner | checking right now | 17:44 |
ignas | don't think anything except cando is using it | 17:45 |
aelkner | find-links = http://ftp.schooltool.org/schooltool/releases/nightly/ | 17:45 |
aelkner | http://ftp.schooltool.org/schooltool/eggs/3.4 | 17:45 |
aelkner | in sections sla and scripts | 17:45 |
ignas | yep, nightlies | 17:45 |
ignas | everything is fine | 17:45 |
ignas | just remove libxml2 | 17:45 |
aelkner | the paragraph at the end, right | 17:46 |
ignas | yes | 17:47 |
aelkner | so i just checked my sla package | 17:47 |
ignas | and there is a mention of libxml2 in the begining of the file | 17:47 |
aelkner | and the configure.zcml includes schooltool.gradebook | 17:47 |
aelkner | so i don't need to change anything there? | 17:47 |
ignas | yes | 17:47 |
aelkner | oh and it includes schooltool.stapp2007 | 17:48 |
aelkner | is that ok? | 17:48 |
ignas | hmm | 17:48 |
ignas | if it includes stapp2007 and gradebook | 17:48 |
ignas | then yes it's ok | 17:48 |
aelkner | so you're change was purely a packaging thing and not a reorg of the interworking of the packages, right? | 17:48 |
aelkner | in other words | 17:49 |
aelkner | making schooltool.gradebook its own egg is seemless to me? | 17:49 |
ignas | i think so | 17:49 |
aelkner | ok, well remove the libxml2 stuff and rebuild the buildout from scratch | 17:50 |
aelkner | and let you know how it goes | 17:50 |
ignas | ok | 17:51 |
*** jinty has quit IRC | 17:54 | |
aelkner | ignas: i made the changes to buildout.cfg and ran bin/buildout -n | 18:04 |
aelkner | is that all i needed to do? | 18:05 |
ignas | i think so | 18:05 |
aelkner | make test ran fine | 18:05 |
aelkner | running make ftest now... | 18:05 |
aelkner | that and make run all work on my machine | 18:10 |
aelkner | now i'll start from scratch on sla's machine | 18:10 |
ignas | ok | 18:11 |
ignas | by the way | 18:11 |
ignas | it would be kind of nice if you would start depending directly on schooltool.gradebook in setup.py of sla school setup | 18:11 |
ignas | in case i will remove the dependency in schooltool | 18:11 |
ignas | which i would like to do in the future | 18:12 |
aelkner | change: | 18:13 |
aelkner | svn co http://svn.schooltool.org/schooltool/branches/ | 18:13 |
aelkner | oops | 18:13 |
aelkner | i mean: | 18:13 |
aelkner | install_requires=['schooltool', | 18:13 |
aelkner | 'setuptools'], | 18:13 |
aelkner | to be: | 18:13 |
aelkner | install_requires=['schooltool', | 18:13 |
aelkner | 'schooltool.gradebook'], | 18:13 |
aelkner | 'setuptools'], | 18:13 |
aelkner | forgetting the ] that i errantly included | 18:14 |
aelkner | is that what you mean? | 18:14 |
aelkner | ignas? | 18:14 |
ignas | yes | 18:15 |
ignas | and if you will want to work on gradebook code | 18:15 |
ignas | you will have to do a separate checkout | 18:15 |
ignas | and use the develop = schooltool schooltool.gradebook thingie | 18:15 |
aelkner | ok | 18:15 |
aelkner | so i did a fresh checkout of sla.buildout on the sla server | 18:16 |
aelkner | and ran make and got: | 18:16 |
aelkner | Building lxml version 1.3.6 | 18:17 |
aelkner | ERROR: /bin/sh: xslt-config: not found | 18:17 |
aelkner | ** make sure the development packages of libxml2 and libxslt are installed ** | 18:17 |
aelkner | and then a bunch of c compilation errors | 18:17 |
ignas | sudo apt-get build-dep python-lxml | 18:18 |
ignas | or just sudo apt-get install libxslt-dev | 18:18 |
aelkner | i did sudo apt-get install libxslt-dev | 18:19 |
aelkner | and got an error: | 18:19 |
aelkner | ... | 18:19 |
aelkner | Setting up libxslt1-dev (1.1.21-2ubuntu2) ... | 18:19 |
aelkner | Processing triggers for libc6 ... | 18:19 |
aelkner | ldconfig deferred processing now taking place | 18:19 |
aelkner | Errors were encountered while processing: | 18:19 |
aelkner | udev | 18:19 |
aelkner | libgphoto2-2 | 18:19 |
aelkner | libsane | 18:19 |
aelkner | libsane-dev | 18:19 |
aelkner | python-setuptools | 18:19 |
ignas | these are old errors | 18:20 |
ignas | that are only relevant to your config | 18:20 |
ignas | so now your code should work | 18:20 |
aelkner | i'll try | 18:20 |
aelkner | make got passed the lxml stuff, so that's good | 18:21 |
aelkner | make test failed in /opt/buildouts/sla-buildout/schooltool/src/schooltool/skin/tests/test_breadcrumbs.py | 18:26 |
aelkner | ccarey broke something? | 18:26 |
aelkner | ignas? | 18:27 |
ignas | yes | 18:27 |
ignas | seems so | 18:27 |
ignas | didn't have the time to check it out | 18:27 |
aelkner | the failure looks like this: | 18:29 |
aelkner | Failed example: | 18:29 |
aelkner | pprint(list(crumbs.crumbs)) | 18:29 |
aelkner | Differences (ndiff with -expected +actual): | 18:29 |
aelkner | - [{'active': True, | 18:29 |
aelkner | ? ^^^ | 18:29 |
aelkner | + [{'active': False, | 18:29 |
aelkner | ? ^^^^ | 18:29 |
aelkner | 'name': u'top', | 18:29 |
aelkner | 'url': 'http://127.0.0.1'}, | 18:29 |
aelkner | - {'active': True, | 18:29 |
aelkner | ? ^^^ | 18:29 |
aelkner | + {'active': False, | 18:29 |
aelkner | ? ^^^^ | 18:29 |
aelkner | 'name': 'Sub-Object 1', | 18:29 |
aelkner | 'url': 'http://127.0.0.1/sub1'}] | 18:29 |
aelkner | could i just change the Trues to Falses? | 18:29 |
aelkner | i mean, is that the expected behavior? | 18:30 |
aelkner | it looked like you were having ccarey change the way breadcrumbs work | 18:30 |
aelkner | so maybe some are not active now by design? | 18:31 |
aelkner | ignas? | 18:31 |
ignas | hmm | 18:31 |
ignas | not sure really | 18:31 |
aelkner | btw, that's the only error out of 3249 tests | 18:31 |
ignas | the active inactive is permission dependant | 18:32 |
ignas | hmm | 18:32 |
ignas | it's a unit test | 18:32 |
ignas | so i guess ccarey just fixed the functional tests | 18:32 |
aelkner | running make ftest now | 18:32 |
aelkner | so he needs to make sure to do both in the future | 18:33 |
ignas | so the proper thing to do would probably be: | 18:33 |
ignas | adding the fixture that adds ICrowd adapters | 18:33 |
aelkner | would you be able to do that for me? | 18:34 |
ignas | in some time | 18:34 |
aelkner | i guess it's not urgent | 18:34 |
aelkner | btw, trac is down | 18:34 |
aelkner | did you notice? | 18:34 |
ignas | yes | 18:35 |
ignas | will have to talk to jinty or mgedmin | 18:35 |
aelkner | make ftest did work | 18:36 |
aelkner | and make run, so it looks like all is well with sla-buildout | 18:38 |
aelkner | not being able to look in trac now, could you tell me what i need to do to get cas into sla-buildout? | 18:39 |
aelkner | ignas? | 18:39 |
aelkner | or i should say, sla | 18:40 |
aelkner | as that's the package that would need to include it, right? | 18:40 |
ignas | hmm | 18:41 |
ignas | depend on schooltool.cas | 18:41 |
ignas | in setup.py | 18:41 |
ignas | then add <include package="schooltool.cas" /> probably | 18:41 |
ignas | in the configure.zcml | 18:41 |
aelkner | i thought that might be it | 18:41 |
ignas | and then add a schooltool.conf directive i think | 18:41 |
aelkner | ? | 18:42 |
aelkner | ignas: i don't understand the last part | 18:43 |
ignas | something like <cas_authority> | 18:43 |
ignas | server = http://foo/bar/baz:443/ | 18:43 |
ignas | </cas_authority> | 18:43 |
ignas | in your schooltool.conf | 18:43 |
ignas | i think | 18:43 |
ignas | when you will do that | 18:44 |
ignas | it would be nice if you'd write up a README.txt that i could commit | 18:44 |
ignas | or just branch bzr+ssh://bazaar.launchpad.net/%7Eignas/schooltool-cas/schooltool.cas/ | 18:44 |
ignas | and fix the readme | 18:44 |
aelkner | schooltool.cas is in a bazaar and not svn? | 18:46 |
ignas | yes | 18:46 |
ignas | so you'd have to bzr branch it | 18:46 |
ignas | then when you'd be done | 18:47 |
ignas | bzr push it into your bzr place on launchpad | 18:47 |
ignas | and ask me to merge the changes | 18:47 |
ignas | would be a nice safe excercise | 18:47 |
ignas | *exercise | 18:47 |
aelkner | i'm not quite sure how adding schooltool.cas to the sla package will get the schooltool.cas egg to load | 18:48 |
aelkner | isn't there somthing i need to do in the sla-buildout? | 18:49 |
ignas | no, just change sla/setup.py | 18:49 |
ignas | to depend on schooltool.cas | 18:49 |
ignas | and that's it | 18:49 |
aelkner | i'll try that now | 18:50 |
ignas | h | 18:50 |
ignas | oh | 18:50 |
ignas | and don't forget to bin/buildout | 18:50 |
aelkner | not being able to do trac is a pian | 18:54 |
aelkner | pain | 18:54 |
aelkner | ignas: i added schooltool.cas to sla's setup (along with schooltool.gradebook) | 19:01 |
aelkner | and i added schooltool.cas to sla's configure.zcml | 19:01 |
aelkner | then i ran bin/buildout and got: | 19:01 |
aelkner | Updating sla. | 19:01 |
aelkner | Couldn't find index page for 'schooltool.cas' (maybe misspelled?) | 19:01 |
aelkner | Getting distribution for 'schooltool.cas'. | 19:01 |
aelkner | While: | 19:01 |
aelkner | Updating sla. | 19:01 |
aelkner | Getting distribution for 'schooltool.cas'. | 19:01 |
aelkner | Error: Couldn't find a distribution for 'schooltool.cas'. | 19:01 |
ignas | hmm | 19:01 |
ignas | let me see | 19:01 |
ignas | ok, i'll have to fix the release procedures for schooltool.cas | 19:02 |
aelkner | ignas: is there anything i can do in the meantime with getting schooltool.cas to work? | 19:04 |
aelkner | a hack or something? | 19:05 |
ignas | not sure actually | 19:05 |
ignas | it will be done in like 5 minutes | 19:05 |
ignas | so making some tea probably would be good enough ;) | 19:05 |
aelkner | ok :) | 19:05 |
*** wbrady has joined #schooltool | 19:09 | |
*** wbrady has quit IRC | 19:20 | |
ignas | aelkner: try bin/buildout again | 19:23 |
aelkner | ok | 19:23 |
aelkner | much better | 19:24 |
aelkner | btw, i put the -n out of habit | 19:24 |
aelkner | does it matter? | 19:24 |
aelkner | what does -n mean anyway? | 19:25 |
aelkner | ignas: so the egg is there now | 19:26 |
aelkner | you mentioned a change to schooltool.conf | 19:26 |
aelkner | do you have an example I could use? | 19:26 |
ignas | -n means - pull all the newest eggs | 19:26 |
aelkner | could you paste the cas_activate block here? | 19:27 |
aelkner | <cas_authority> i mean | 19:27 |
ignas | i don't have an example | 19:27 |
ignas | so you will have to try it out yourself | 19:27 |
aelkner | i thought you got this working somewhat? | 19:27 |
ignas | it only has "server" as a parameter | 19:27 |
ignas | yes | 19:28 |
aelkner | doesn't that mean you had to create that block? | 19:28 |
ignas | but i am working on so many things that i delete things that i am not using | 19:28 |
ignas | i worked on CAS like a month ago | 19:28 |
ignas | maybe more | 19:28 |
aelkner | i could figure out how to populate the block if i knew of code that used it's settings | 19:29 |
ignas | i have told you | 19:29 |
ignas | server http://foo/bar/baz:port/ | 19:29 |
ignas | that's it | 19:29 |
aelkner | ok | 19:29 |
aelkner | thanks | 19:30 |
*** ignas has quit IRC | 20:47 | |
*** didymo has joined #schooltool | 21:43 | |
*** alga has quit IRC | 23:30 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!