*** alga has quit IRC | 00:05 | |
*** dlobo has joined #schooltool | 03:18 | |
*** replaceafill has joined #schooltool | 03:25 | |
*** replaceafill has quit IRC | 03:44 | |
*** fsufitch1 has joined #schooltool | 03:45 | |
*** fsufitch has quit IRC | 03:46 | |
*** dlobo has quit IRC | 03:47 | |
*** pcardune has quit IRC | 04:12 | |
*** pcardune has joined #schooltool | 04:25 | |
*** dlobo has joined #schooltool | 04:43 | |
*** replaceafill has joined #schooltool | 05:26 | |
*** th1a has quit IRC | 05:31 | |
*** pcardune has quit IRC | 05:31 | |
*** dlobo has quit IRC | 05:52 | |
*** pcardune has joined #schooltool | 06:19 | |
*** pcardune has quit IRC | 06:28 | |
*** pcardune has joined #schooltool | 06:29 | |
*** pcardune has quit IRC | 06:50 | |
*** replaceafill has quit IRC | 08:27 | |
*** TwhK has joined #schooltool | 10:49 | |
*** TwhK has quit IRC | 12:34 | |
*** alga has joined #SchoolTool | 13:01 | |
*** ignas has joined #schooltool | 14:31 | |
*** dlobo has joined #schooltool | 14:56 | |
*** menesis has joined #schooltool | 15:58 | |
*** alga has quit IRC | 16:04 | |
*** dlobo has quit IRC | 16:15 | |
*** th1a has joined #schooltool | 16:17 | |
*** dlobo has joined #schooltool | 16:40 | |
*** dlobo has quit IRC | 16:44 | |
*** menesis has quit IRC | 16:56 | |
*** menesis1 has joined #schooltool | 16:56 | |
*** menesis1 is now known as menesis | 16:57 | |
th1a | hi menesis | 17:10 |
---|---|---|
*** mgedmin has joined #schooltool | 17:39 | |
*** alga has joined #SchoolTool | 18:00 | |
*** fsufitch1 has quit IRC | 18:54 | |
*** fsufitch has joined #schooltool | 18:55 | |
*** pcardune has joined #schooltool | 19:03 | |
*** dlobo has joined #schooltool | 19:06 | |
*** replaceafill has joined #schooltool | 19:19 | |
*** pcardune has quit IRC | 19:25 | |
*** pcardune has joined #schooltool | 19:28 | |
*** pcardune has quit IRC | 19:34 | |
*** dlobo has quit IRC | 20:13 | |
*** ignas has quit IRC | 20:17 | |
*** alga has quit IRC | 20:24 | |
th1a | replaceafill: How we doing? | 20:40 |
replaceafill | i planning to push my branch today | 20:40 |
th1a | Onto LP? | 20:40 |
replaceafill | and send an email to chris explaining how it works | 20:40 |
replaceafill | yes | 20:40 |
th1a | OK... | 20:40 |
replaceafill | is that ok? | 20:40 |
th1a | Will he need to merge with their branch? | 20:41 |
th1a | aelkner is on vacation. | 20:41 |
th1a | I'm not worried about Chris being able to do it... more aelkner's reaction. | 20:41 |
th1a | He may need to be sedated. | 20:41 |
replaceafill | :D | 20:41 |
replaceafill | so, i publish it and say nothing then | 20:42 |
th1a | I don't think that will work. | 20:42 |
th1a | I mean, I guess we could just push it to trunk. | 20:42 |
replaceafill | trunk!??!?! | 20:42 |
th1a | OK, not. | 20:42 |
th1a | :-D | 20:43 |
replaceafill | if chris is using trunk i could send him a patch | 20:43 |
th1a | That's why I'm not allowed to make those kind of decisions. | 20:43 |
replaceafill | i see :) | 20:43 |
th1a | Well, it would be better to do a merge using bzr, right? | 20:43 |
th1a | More undoable? | 20:43 |
replaceafill | chris could test the functionality only changing from trunk to my branch | 20:45 |
th1a | Yes, he can even just do a separate checkout. | 20:45 |
replaceafill | exactly | 20:45 |
th1a | cc: matt and brett on the email. | 20:45 |
replaceafill | ok | 20:46 |
replaceafill | documentation would be good, right? :) | 20:46 |
th1a | Necessary, I'd say. ;-) | 20:46 |
replaceafill | not just functional tests | 20:46 |
th1a | Well, if they are clear. | 20:48 |
th1a | It is XML-RPC after all. | 20:48 |
th1a | There's not a ton of mystery. | 20:48 |
replaceafill | th1a, http://pastebin.com/m6e0819 | 20:49 |
*** dlobo has joined #schooltool | 20:51 | |
th1a | Is it clear how you call it? | 20:51 |
th1a | Elsewhere? | 20:51 |
th1a | In particular, all these have to be called on the correct view, right? | 20:52 |
th1a | There's not just one generic XML-RPC url? | 20:52 |
replaceafill | yes, that's the part of tests i'm still uncomfortable with | 20:52 |
replaceafill | no | 20:52 |
replaceafill | the views have contexts | 20:53 |
replaceafill | like regular views | 20:53 |
th1a | So what do the url's look like? | 20:53 |
replaceafill | http://server/persons | 20:53 |
replaceafill | like regular views | 20:53 |
replaceafill | but not html but xml | 20:53 |
th1a | In the request header? | 20:54 |
th1a | Also, what's the situation with the paste bug? | 20:54 |
replaceafill | i had to change zope.publisher version to 3.4.8 in buildout | 20:56 |
replaceafill | and it works | 20:56 |
th1a | OK. | 20:56 |
th1a | Make sure that happens for Chris. | 20:56 |
replaceafill | ok, will explain that | 20:57 |
th1a | aelkner and I spent an hour messing with XML-RPC when we were there and I think we ran into that bug. | 20:58 |
*** menesis has quit IRC | 20:58 | |
replaceafill | it seems like the server doesnt respond | 20:58 |
replaceafill | because of the bug | 20:58 |
th1a | Yes. | 20:58 |
replaceafill | th1a, and that method looks like this http://pastebin.com/m7ef2ca45 | 21:01 |
replaceafill | username, first_name and last_name are always going to be there for each person | 21:01 |
th1a | Sure. | 21:02 |
replaceafill | but the "optional" attributes are filled according to their value | 21:02 |
replaceafill | i dont know if that's a good strategy though | 21:02 |
th1a | How does Zope know it is an XML-RPC request? | 21:02 |
th1a | It looks like a reasonable approach to the optional attributes to me. | 21:02 |
replaceafill | cool | 21:03 |
replaceafill | zope uses different registrations for this methods | 21:03 |
replaceafill | <xmlrpc:view | 21:03 |
replaceafill | that makes the class and its methods to be registered differently than regular pages or views | 21:04 |
th1a | Yeah, but how does it know the request is an XML-RPC request and not a regular HTML one? | 21:05 |
replaceafill | it's a different interface, class and content type for the request object | 21:07 |
th1a | So it looks at the content-type. | 21:07 |
th1a | OK. I see. | 21:09 |
*** dlobo has quit IRC | 21:09 | |
replaceafill | th1a, btw how much do we have to finish this? should it be ready for tomorrow, weekend, monday? | 21:16 |
*** dlobo has joined #schooltool | 21:22 | |
*** mgedmin has quit IRC | 21:22 | |
*** dlobo has quit IRC | 21:23 | |
*** pcardune has joined #schooltool | 21:36 | |
th1a | replaceafill: Get Chris in the loop as soon as possible. | 21:37 |
th1a | e.g., he's a smart geek, so he'll want to see it even if everything isn't done. | 21:37 |
replaceafill | ok, i'll just finish the tests this afternoon | 21:38 |
th1a | He'll just need to know the relevant URL's. | 21:47 |
replaceafill | yes and what to send and what to expect from each method, right? | 21:48 |
*** TwhK has joined #schooltool | 21:50 | |
th1a | Yeah. | 21:50 |
*** dlobo has joined #schooltool | 22:03 | |
th1a | dlobo: Are XML-RPC services relevant to you? | 22:06 |
dlobo | th1a: currently no | 22:06 |
dlobo | we mainly use REST | 22:07 |
th1a | Ah. | 22:07 |
dlobo | but 99% of our integration is with other PHP CMS's, so most of the stuff uses PHP integration directly | 22:09 |
th1a | Yes. | 22:09 |
*** fsufitch has quit IRC | 22:17 | |
*** fsufitch has joined #schooltool | 22:17 | |
*** pcardune has quit IRC | 22:37 | |
*** ignas has joined #schooltool | 22:57 | |
*** ignas has quit IRC | 22:57 | |
*** pcardune has joined #schooltool | 23:24 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!