*** aelkner has quit IRC | 00:02 | |
*** aelkner has joined #schooltool | 01:02 | |
aelkner | dwelsh: Hey Dave | 01:03 |
---|---|---|
th1a | aelkner: The server name and the certificate don't match, which apparently is only a concern for some svn clients. | 01:49 |
th1a | I guess we already knew that, but if you go to the url on your browser, it tells you the same thing. | 01:50 |
aelkner | Which url? | 01:50 |
th1a | The svn url. | 01:50 |
aelkner | subversion.tigris...? | 01:51 |
th1a | No, the url for the subversion repository. | 01:56 |
th1a | The tinyzis repository. | 01:57 |
aelkner | I just noticed: | 02:02 |
aelkner | The certifacte host name is www.hosted-projects.com which of course doesn't match. | 02:02 |
aelkner | So you see it's a host-side problem. | 02:03 |
aelkner | Jeff just suggested a great comprimise. | 02:04 |
aelkner | For the purpose of making progress, I could scp what I got on my machine over to maddog | 02:05 |
aelkner | Then at some point we'll need to resolve the certificate problem. | 02:05 |
aelkner | But for now Will and I can make progress. | 02:05 |
th1a | Yes, that's a reasonable solution for the moment. | 02:10 |
th1a | You guys won't be making many changes to tinyzis at this point. | 02:10 |
th1a | If any. | 02:10 |
aelkner | Right. | 02:12 |
*** wdickers has joined #schooltool | 02:45 | |
aelkner | Hi Will. What happened? | 02:54 |
wdickers | Didn' | 02:57 |
wdickers | Didn't I say 8? | 02:57 |
*** wrobel` has joined #schooltool | 03:04 | |
aelkner | I thought I remembered 6, but I guess you thought you said 8. | 03:08 |
aelkner | Anyway. | 03:08 |
aelkner | We realized that we need to have one place to edit the code that both of us can reach, so we chose maddog. | 03:09 |
wdickers | Okay, whose account? | 03:09 |
aelkner | For now, I put in in mine. | 03:09 |
aelkner | Don't go there just yet. | 03:10 |
aelkner | My broter's doing an update from dapper to edgy. | 03:10 |
wdickers | On maddog? Okay | 03:10 |
aelkner | Yes, apparently we can't run timyzis without python-zodb being installed. | 03:11 |
wdickers | Anyways, I was thinking about how to write agentPull and its register method. So we use another module to generate the XML message, but now we have to figure out how to send the actual message via HTTPS | 03:11 |
aelkner | The apt-get of pyton-zodb doesn't work on dapper apparently. | 03:11 |
aelkner | I figure we should work on such technical issues when we're together. | 03:12 |
aelkner | Tomorow. | 03:12 |
aelkner | For now we could still discuss our coding plan. | 03:12 |
wdickers | okay | 03:13 |
aelkner | You could create some python scripts on your machine right now and copy them to maddog when Jeff's ready. | 03:13 |
aelkner | Would you like tackling the buildMessage.py module? | 03:14 |
aelkner | The reason I suggest that is that it's autonomous. | 03:15 |
wdickers | I won't be able to copy to Maddog because I'm on a window's machine. But I do have python | 03:15 |
aelkner | You could mail yourself the file tonight and pull it down tomorrow when you get in. | 03:15 |
aelkner | Do you have tinyzis at the moment? | 03:16 |
aelkner | On your Windows machine? | 03:16 |
wdickers | No, right now I'm ssh'ed into maddog. Should I get off? | 03:17 |
aelkner | i would. | 03:17 |
aelkner | Jeff says the update is getting close to being done. | 03:17 |
wdickers | Okay | 03:18 |
aelkner | Where have been able to look at tinyzis? maddog? | 03:19 |
wdickers | At home yes, at school I have my own instance | 03:20 |
*** wrobel has quit IRC | 03:20 | |
aelkner | Ok, so you can look at exam.py for the examples. | 03:21 |
wdickers | Yes | 03:21 |
wdickers | But have you used lxml before? | 03:21 |
aelkner | I would suggest a routine called baseMessage() that builds the part of the message that's always there. | 03:22 |
aelkner | Then registerMessage() could call that and then add its own stuff. | 03:22 |
aelkner | Remember how we discussed the parms? | 03:22 |
aelkner | I think it should be a dictionary instead. | 03:22 |
aelkner | That way we have flexibility. | 03:24 |
wdickers | So we pass buildMessage.py a dictonary with keys 'name', 'sourceID', and 'type'(pull/push)? | 03:24 |
aelkner | Exactly. | 03:24 |
aelkner | You could also make a buildMessages.txt for doctests. | 03:24 |
aelkner | If you write baseMessage() and registerMessage() with doctests, that would keep you busy for quite a while. | 03:25 |
aelkner | Setup time and all that. | 03:26 |
wdickers | wait, those two functions in buildMessage.py? | 03:26 |
aelkner | right. | 03:27 |
wdickers | Ah. Well in that case we have to add what type of message in the dictionary: this time register. | 03:27 |
aelkner | buildMessage() takes no parms and returns an lxml tree. | 03:28 |
aelkner | registerMessage(registerDict) takes the dict you mentioned above. | 03:29 |
aelkner | Sorry. | 03:29 |
aelkner | baseMessage() takes no parms. | 03:29 |
aelkner | reg... calls base... and then adds to the tree it gets back from the parms in the dict. | 03:30 |
wdickers | Aha. Where will registMessage be, in a module or the base class? | 03:30 |
aelkner | I see. You're confused about the scope. | 03:30 |
aelkner | I suggest we start at the lowest level. | 03:30 |
aelkner | buildMessage.py has no class in it, just routines. | 03:30 |
aelkner | base... and reg... are routines in that module. | 03:31 |
aelkner | I see that the name I chose, baseMessage, caused the confusion. | 03:32 |
wdickers | Ah, okay. So our agents will just call reg with the dictionary and it will call baseMessage | 03:32 |
aelkner | It's not a base class. | 03:32 |
aelkner | Exactly. | 03:32 |
aelkner | It's a way of keeping code size down. | 03:32 |
aelkner | Most messages are 90% the same. | 03:32 |
wdickers | Are we still going to use a base class for pull agents and push agents though? | 03:33 |
aelkner | Absolutely. | 03:33 |
aelkner | I want to build the house from the foundation up. | 03:33 |
wdickers | Okay, that's what I was confused about | 03:33 |
aelkner | I can understand that. I should have anticipated the confusion. | 03:33 |
aelkner | Anyway. | 03:33 |
aelkner | I could start on the base class, AgentPull.py that calls your routines. | 03:34 |
aelkner | BTW, it looks like maddog is hosed. | 03:35 |
wdickers | So I'll just work on buildMessage.py tonight? | 03:36 |
aelkner | Perfect. | 03:36 |
wdickers | alrihgt | 03:36 |
wdickers | *alright | 03:36 |
wdickers | but just wondering, have you ever used lxml? | 03:36 |
aelkner | Not myself, but tinyzis does, so you should be able to get some tips there. | 03:37 |
wdickers | okay | 03:37 |
aelkner | When you email yourself the files, are we going to have problems bring it down to my linux box tomorrow? Windows files have different newlines then unix. | 03:43 |
wdickers | Really? That explains a lot. However I don't think we'll have a lot of problems because I'll probably end up coding on maddog when it's back up so I can see the zis files | 03:45 |
*** lex__ has quit IRC | 03:52 | |
*** lex__ has joined #schooltool | 03:52 | |
aelkner | Don't count on maddog being up for a while. | 03:52 |
aelkner | Jeff needed to do the upgrade, so I disagree with him that it was a mistake. | 03:53 |
aelkner | We wouldn't have been able to do anything, anyway, the way it was. | 03:53 |
aelkner | Of course, it's a drag that it's hosed. | 03:53 |
wdickers | Yeah, but I'm going to be up for a while, so maybe it'll be back online. If not I'll just look at the code online and do my best | 03:55 |
aelkner | In any event, anything you learn about lxml will help. | 03:56 |
wdickers | definitely | 03:58 |
aelkner | I'm going to head home (I've been at Jeff's). | 03:59 |
aelkner | Maybe you shoudl email yourself the file by cutting and pasting into the note. | 04:00 |
aelkner | That could solve the newline problem. | 04:00 |
aelkner | I'll see you at the sprint. | 04:01 |
*** aelkner has quit IRC | 04:03 | |
*** wrobel` has quit IRC | 04:16 | |
*** wdickers has quit IRC | 04:17 | |
*** Aiste has quit IRC | 06:11 | |
*** Aiste has joined #schooltool | 08:18 | |
*** dwelsh has quit IRC | 10:06 | |
*** wrobel has joined #schooltool | 10:14 | |
*** didymo has quit IRC | 11:12 | |
*** lisppaste5 has quit IRC | 11:12 | |
*** lisppaste5 has joined #schooltool | 11:12 | |
*** didymo has joined #schooltool | 11:12 | |
*** jinty has joined #schooltool | 14:35 | |
*** jinty has quit IRC | 15:31 | |
*** lisppaste5 has quit IRC | 19:10 | |
*** lisppaste5 has joined #schooltool | 19:16 | |
*** eukreign has joined #schooltool | 19:17 | |
*** lex__ has quit IRC | 19:17 | |
*** th1a has quit IRC | 19:17 | |
*** lex__ has joined #schooltool | 19:28 | |
*** th1a has joined #schooltool | 19:28 | |
*** lex__ has quit IRC | 19:33 | |
*** th1a has quit IRC | 19:34 | |
*** th1a has joined #schooltool | 19:35 | |
th1a | OK, I'm here. | 19:53 |
*** eldafar has joined #schooltool | 20:34 | |
eldafar | any reason IKeyReference hashes would be different on different machines, for the same objects? | 20:45 |
eldafar | anyone here that can help me? | 20:54 |
eldafar | please? | 20:54 |
eldafar | nvmd | 21:17 |
*** jfroche has joined #schooltool | 21:22 | |
*** jfroche has quit IRC | 21:45 | |
*** eldafar has quit IRC | 23:45 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!