Team Chat Logs

April 22, 2010

2010 3
Mo Tu We Th Fr Sa Su
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

[07:09:04.384098]<Hodgestar>techtonik: Unfortunately Bitten is quite tied to it's XML module. Maybe we could somehow replace that with another module that implements YAML or JSON but I'm still don't think it's worth the effort.
[07:09:46.588731]<Hodgestar>Plus we'd have to support both everywhere or really annoy our existing user base by making them re-write their recipes (or perhaps there could be a converter?).
[07:11:40.842404]<Hodgestar>I'm keen to close your issue -- not because it's completely without merit but just because I don't see us having the developer power to tackle a large a nice-to-have any time in the near future.
[07:19:33.219789]<techtonik>Is XML used internally? I though it is only information interchange format and there can be data mapper/serializer to other formats.
[07:20:13.339729]<techtonik>XML can be mapped 1:1 to YAML. Am I right/
[07:20:15.211872]<techtonik>&
[07:20:17.314270]<techtonik>?
[07:21:15.774481]<osimons>techtonik: also, remember it is lowest common denominator at slave - yaml, json or other format except plain text would require a dependency for slave installation
[07:21:24.027382]<techtonik>The point is not to replace XML and support both formats, but make system decoupled, so that it could be possible to replace XML. For example, with Cucumber.
[07:21:54.889205]<osimons>xml has been included in all python installs for a long time, and installing bitten slave does not currently require anything except python to work
[07:22:03.606047]<techtonik>I see.
[07:22:40.029443]<osimons>and seeing master + slave needs to talk, you then need to coordinate versions between N slaves and master to make sure they all talk together
[07:22:50.037832]<osimons>=> adds complexity
[07:22:54.584330]<techtonik>But Slave also includes recipe commands. If I want to add my own commands - how can I do this?
[07:23:11.181144]<techtonik>I still have to distribute my own slaves.
[07:23:14.147523]<techtonik>Right/
[07:23:19.873321]<techtonik>?
[07:23:20.488467]<osimons>write a plugin that provides the entry point
[07:23:41.092864]<techtonik>I do not really get an idea.
[07:24:02.839752]<techtonik>I need to distribute tasks from master to all slaves.
[07:24:23.024056]<techtonik>And these tasks should include custom tasks too.
[07:24:53.858532]<techtonik>And there can be new tasks. Do I need to patch all slaves?
[07:24:59.575645]<osimons>well, you could in theory then include a step 1 that installs them
[07:25:33.171531]<osimons>it is a regular package (setup.py) with [entry_points] for bitten recipe command
[07:26:06.409808]<osimons>techtonik, or as most commonly done for custom tasks: people use make or ant scripts to do the custom bits, and store it with code in repos
[07:26:46.777714]<osimons>you can really make bitten recipe be really short, and just call on your custom build/test/doc/whatever commands
[07:27:17.612236]<techtonik>I use SCons and I want every operation be a "step" that can fail in continuous integration testing process.
[07:27:58.435731]<Hodgestar>techtonik: If SCons can run each step independently then just make each call to SCons a separate step.
[07:29:29.028892]<techtonik>I do not think it can do this without some hacking. I'd like to reduce hacking. Distributing recipes in clear Python would be nice.
[07:30:01.495181]<techtonik>So I just want to see Bitten is extensible in this way.
[07:41:38.916835]<Hodgestar>What I do for common functionality is keep it in a common svn folder and all my slaves check out the latest tools at the start of the recipe.
[08:01:58.254811]<techtonik>But they need to import namespace first, no/
[08:05:17.140685]<Hodgestar>Nope.
[08:05:31.291146]<Hodgestar>E.g.
[08:06:24.868837]<Hodgestar><step id="checkout-tools" description="Checkout tools directory"><svn:checkout url="..." ... dir="tools" /></step>
[08:06:28.854869]<Hodgestar>Then later:
[08:06:59.509337]<Hodgestar><step id="use-tool"><sh:exec executable="tools/foo.py" /></step>
[08:07:51.473117]<Hodgestar>If you wanted to add a new kind of tool, maybe <scons:build ....>, then yes, you'd need the slaves to have the plugin that supports that installed.
[12:55:55.244337]<techtonik>"Recipes supports variables that can be interpolated into recipes" ???
[12:56:11.586549]<techtonik>Perhaps "substituted"?
[13:04:42.542796]<techtonik>In admin page Builds subsection Master Settings should be above Configurations.
[13:15:24.324427]<Hodgestar>Hey, Walter committed a whole bunch of stuff while I wasn't looking. :)
[13:18:31.560305]<Hodgestar>osimons: I'm going to backport Walter's fixes to 0.6.x (r821 to r826). The only one I'd like to run by you first is r823.
[13:18:36.804817]<Hodgestar>http://bitten.edgewall.org/changeset/823
[13:19:00.759679]<Hodgestar>It deletes attachements when builds are deleted (e.g. by being cancelled or invalidated).
[13:19:19.678532]<Hodgestar>This sounds sensible to me but you wrote the attachment code.
[13:22:45.472768]<Hodgestar>techtonik: I'll have a go at cleaning up that paragraph on variable substitution. Which page is the admin page?
[13:23:44.529224]<techtonik>Hodgestar: /admin =)
[13:23:56.412212]<techtonik>In Trac main menu.
[13:24:02.203056]<techtonik>On the left in my case.
[13:24:28.123140]<Hodgestar>Oh. I thought we were still talking about documentation. :)
[13:26:00.157654]<Hodgestar>I assume it's currently alphabetical?
[13:26:14.022844]<Hodgestar>I wonder if there is a Trac standard?
[13:27:06.662476]<Hodgestar>Ticket System appears to be alphabetical except for "Delete Changes" which is at the top.
[13:28:08.250804]<Hodgestar>I'm inclined to consider this bikeshedding unless a number of people chime in in favour of moving Master Setting up (I think I'm sort of with you on this but that's just two of us).
[13:28:32.138993]<techtonik>Is there a bot to report about ticket changes?
[13:29:04.598444]<techtonik>It appears to be alphabetical, but logically you expect Master configuration first.
[13:29:06.055184]<Hodgestar>evil_twin used to say stuff but I don't know what happened to it.
[13:29:27.881049]<techtonik>!ecil_twin
[13:29:31.256941]<techtonik>!evil_twin
[13:29:31.271191]<evil_twin>evil_twin is a genius
[13:29:35.489980]<techtonik>!help
[13:29:36.271276]<evil_twin>help is see !help .. I'm sorry, but I can't help you
[13:30:46.321403]<techtonik>!bug #567
[13:30:46.328643]<evil_twin>failed to fetch bug information: u'#bitten'
[13:31:06.956727]<techtonik>!bug567
[13:31:10.044507]<techtonik>!bug 567
[13:31:10.051755]<evil_twin>failed to fetch bug information: u'#bitten'
[13:31:21.139253]<techtonik>Seems like it is misconfigured.
[13:31:43.811471]<techtonik>!who's u'r daddy?
[13:31:43.819559]<evil_twin>nothing known about who's u'r daddy
[13:36:55.326101]<techtonik>What about releasing 0.6b3?
[13:38:25.411918]<Hodgestar>techtonik: Not a bad idea.
[13:38:43.139513]<Hodgestar>techtonik: After the sprint is probably a good idea.
[13:39:01.618526]<techtonik>When is the sprint?
[13:39:07.411450]<Hodgestar>Saturday.
[13:39:14.874929]<Hodgestar>Starting noon GMT.
[13:39:23.790718]<techtonik>How about writing this in channel topic?
[13:39:36.895791]<Hodgestar>There should be a group of us co-located in Cape Town but we'll also be here on IRC.
[13:40:03.936371]<Hodgestar>Mailing announcement also a good idea.
[13:40:46.057238]<Hodgestar>I should have thought of doing this earlier but I guess I was stuck in the mindset of it being a local PUG thing rather than a Bitten-community-wide thing. :D
[13:41:48.320701]<Hodgestar>Damn. No channel topic permissions.
[13:44:56.499459]<techtonik>ping cmlenz
[13:46:09.902322]<cmlenz>hmm
[13:46:20.977785]<cmlenz>you should be able to op yourself, no?
[13:46:46.266392]<techtonik>Me definitely not.
[13:50:08.733626]<techtonik>Quite an unusual location for a Sprint. It is just a -1 away from my time zone and nearly 10000 km.
[13:54:10.721529]<Hodgestar>cmlenz: I'll give it a go. :)
[13:56:15.449980]<Hodgestar>cmlenz: Doing /op didn't work and chanserv doesn't even respond to my messages (which is a bit odd).
[13:57:22.173457]<cmlenz>huh
[13:57:45.593599]<cmlenz>you have +votriA flags on #bitten
[13:58:52.367095]<Hodgestar>But trying to set the topic still gives me a "You're not channel operator" message.
[14:04:04.736406]<Hodgestar>cmlenz: Ah! #freenode to the rescue.
[14:04:10.347161]<Hodgestar>It's a know X-Chat issue.
[14:04:25.831393]<Hodgestar>Replies from ChanServ were turning up in a random channel window.
[14:05:27.706252]<cmlenz>yay
[14:06:14.380089]<techtonik>It is better to say NEXT SPRINT: =)
[14:06:55.043443]<Hodgestar>That may be overly ambitious. :)
[14:31:21.934081]<Hodgestar>osimons: In case you miss in it all the other channel noise, I'd appreciate you eyeballing http://bitten.edgewall.org/changeset/823 before I backport it to the 0.6 branch.
[15:09:54.705197]<osimons>Hodgestar: back now. backport away. i looked at it yesterday - it is some special cases where builds are cancelled before they are "complete". so, if recipe added attachments, they are also removed. good catch - i only had the model code done, and did not consider this
[15:10:27.752518]<Hodgestar>Woot.
[15:12:31.251687]<osimons>not sure how walter works, but i know he keeps some patches that he seems to dump every now and then... they are usually fine, but he does not really follow the ticket -> public patch -> fix route :-)
[15:16:57.511354]<CIA-37>r827 by hodgestar in doc/recipes.txt: Somewhat improve paragraph introducing recipe variables.
[15:18:58.565834]<CIA-37>r828 by hodgestar in branches/ (0.6.x/doc/recipes.txt 0.6.x): Merge [827] from trunk.
[15:19:08.172640]<Hodgestar>I think I have been forgetting to update the 0.6 changes page.
[15:20:22.721307]<Hodgestar>techtonik suggested a 0.6b3 release which I think is not a bad idea (unless you're keen to push for 0.6).
[15:20:33.953533]<Hodgestar>Maybe we can think about it after the sprint.
[15:25:37.865038]<CIA-37>r829 by hodgestar in branches/ (7 files in 4 dirs): Merge [821,822,823,824,825,826] from trunk. Thanks Walter\!
[15:26:20.503982]<Hodgestar>I see someone added the java:junit one for me. :)
[15:31:36.097605]<Hodgestar>Time to log off for the evening I think.