Team Chat Logs

April 6, 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    

[00:33:17.198062]<osimons>kirean: instantiate a ticket object, like; ticket = trac.ticket.model.Ticket(resource.id)
[00:34:07.526539]<kirean>osimons: thanks
[00:34:10.032094]<osimons>oops, that is Ticket(env, resource.id)
[00:34:33.721145]<osimons>kirean: ^^
[00:34:43.666928]<kirean>osimons: yes, got it
[00:34:51.701183]<osimons>goodie
[00:35:00.989509]<kirean>thank you
[01:24:00.000494]<lelit>hi, I'm trying to merge in a contribute to trac-darcs, an adapted version of the (now vanished) contrib/trac-post-commit-hook but I'm not able to find the "right" way of doing it under 0.12... Where is it that logic now?
[01:30:39.625181]<lelit>oh, in tracopt/ticket/commit_updater it seems
[02:09:53.690832]<mitsuhiko>did anyone work on a trac iphone application?
[02:14:16.989391]<cuco>hi, i want to write a plugin that when it finds a special regex (x103????) it will link me to a specific site, how can ido this?
[02:44:35.027752]<bionoid>cuco what do you mean, in wiki content, all content or what?
[02:51:21.588004]<cuco>in wiki content.
[02:51:27.641572]<cuco>bionoid ^^
[02:53:32.507032]<bionoid>cuco Write a plugin ;-)
[02:56:30.626758]<cuco>bionoid, like duh!
[02:56:41.846854]<cuco>i am looking for an api reference or something.
[02:57:00.052139]<cuco>i see that I am looking into IWikiSyntaxProvider..
[02:57:21.307926]<cuco>but since I have no python experience (my first lines) this is going to be "funny"
[02:58:14.376909]<bionoid>cuco hehe one sec, I will provide you a minimal example
[02:59:41.640011]<bionoid>cuco http://pastebin.com/VYQua9XD --> not tested but should be a good baseline
[03:01:14.527005]<cuco>http://pastebin.com/cVeEbNFS
[03:01:27.221063]<cuco>this is what I started to write, it seems I was in the correct direction
[03:18:28.956654]<cuco>bionoid lets assume this is not working, how can i debug this? how can i know which function has been called, and where this is failing?
[03:18:35.090855]*cuco looks at the logs for errors
[03:19:37.594777]*cuco found sytnax errors, it's his first time coding pythong
[03:22:57.600908]<cuco>cool. not working yet, but no synax errors
[03:23:56.766253]<cuco>yay! i need to reboot into a better world!
[03:24:06.329830]<cuco>Suse 11.2 > windows 7
[03:24:18.375021]<cuco>but still debian > ubuntu > suse
[03:24:32.912623]<cuco>not sure where arch is. I think arch > debian
[03:36:28.660171]<cuco>now life is better. irc looks better in konversation
[04:35:15.027957]<kirean>what's the correct way to get a value from a ticket, is this ok?
[04:35:15.298025]<kirean>value = t['fieldname']
[06:49:09.944172]<visios>Anyone who have experience with Acunote?
[06:55:08.837630]*retracile sputters something incontrovertible about mornings.
[11:25:35.910529]<mitsuhiko>rblank: ping
[11:28:35.159425]<isnoop>Running 0.11.7, why would it start hanging every time you change or create a ticket?
[11:28:47.173421]<isnoop>Could it be related to faulty SMTP settings?
[11:28:55.287931]<pacopablo>isnoop: yes
[11:29:01.884201]<pacopablo>that is the most likely cause
[11:29:04.520922]<isnoop>Bingo. Thanks.
[11:34:21.256184]<isnoop>Thanks again for the help. SMTP was indeed the culprit.
[13:16:18.562617]<rblank>retracile: Hey there!
[13:16:47.748536]<rblank>retracile: Do you mind if I commit the last patch on #8235 even before you review it?
[13:17:14.792638]<rblank>retracile: Christian wants to release a 0.12beta this week, and I would have liked this to be included.
[13:25:07.178814]<macmaN>does trac have builtin diff processor?
[13:25:27.039839]<macmaN>or diff macro would be correct to say?
[13:27:39.691591]<retracile>rblank: Hey; sorry I've been a bit... unresponsive lately. :/
[13:28:09.979704]<retracile>rblank: I missed your discussion with cboos yesterday.
[13:28:14.067018]<rblank>retracile: Only 10 minutes of lag, not too bad actually :)
[13:28:21.995889]<retracile>(Read thru it in the logs though.)
[13:28:34.449128]<retracile>rblank: heh. :)
[13:28:53.327109]<retracile>rblank: I've been in a mental fog most of the day :(
[13:29:22.407063]<rblank>It seem that Genshi is a bit out of favor these days
[13:30:17.567756]<cmc>seems relatively recent
[13:30:33.676599]<retracile>hrm.... I can understand... 0.11 took a huge performance hit relative to 0.10, and genshi took most of the blame for it.
[13:30:47.304319]<retracile>rblank: as for #8235; go ahead.
[13:30:59.119017]<rblank>retracile: Thanks, I'll commit tonight.
[13:31:14.927749]<rblank>I've never known anything else than Genshi, so I don't have a reference.
[13:31:34.253702]<rblank>It has always seemed fast enough... on a fast enough machine.
[13:32:26.802470]<retracile>heh. Well... you might throw a 0.10 setup onto a test box and compare. It's been a while since I compared them, but I recall 0.11 _feeling_ slower, even as an end-user.
[13:33:03.481650]<rblank>So how do you feel about switching the templating engine... again?
[13:33:35.062911]<rblank>(That's only one possible solution, another one being optimizing Genshi of course)
[13:34:27.372617]<retracile>rblank: Uhm.... leery. I'm concerned about the size of such a task and the pain it'll cause for plugins, etc.
[13:34:53.736340]*rblank looks up "leery"
[13:35:11.700230]<retracile>rblank: I'm also leery of taking on maintenance of Genshi.
[13:35:26.107578]<retracile>rblank: "wary" as a synonym...
[13:35:33.984827]<rblank>I'm much more leery of the second, actually...
[13:35:45.557980]<retracile>rblank: yeah, I can understand that too.
[13:36:43.074831]<rblank>Although, maintenance in the sense of "keeping it working" might be doable. Actually fixing things is another story altogether.
[13:37:54.228060]<mitsuhiko>rblank: babel release tomorrow
[13:38:03.047530]<rblank>mitsuhiko: You're kidding?
[13:38:03.369048]<mitsuhiko>assuming you're interested in that :)
[13:38:05.896921]<mitsuhiko>nope
[13:38:09.690643]<rblank>Great!
[13:38:13.061368]<mitsuhiko>should have been today, but something got screwed up
[13:38:13.129228]<retracile>:)
[13:38:41.810159]<rblank>mitsuhiko: How about Genshi? :)
[13:40:25.101500]<rblank>mitsuhiko: That gets you a kudo right away. Give me a minute...
[13:42:35.875658]<macmaN>congrats on babel
[13:42:41.462603]<macmaN>you rock
[13:44:52.572890]<mitsuhiko>macmaN: i'm just the mediator :)
[13:45:07.486939]<retracile>rblank: I think we're going to need to really focus on performance at some point soon, and I suspect that's going to require genshi work as well... which I expect will weigh in on the "change the templating engine again" side.
[13:45:34.791488]<rblank>retracile: Agreed.
[13:54:58.411035]<osimons>evening people
[13:55:30.300267]<retracile>rblank: I don't really know anything about other templating engines; is there one that has a solid community around it, or a large project dedicated to using it?
[13:55:41.596813]<retracile>osimons: Afternoon, good sir. :)
[13:55:51.137034]<osimons>mitsuhiko's jinja2 seems to be the front-runner
[13:56:13.046386]<rblank>retracile: Jinja2 seems to be quite "en vogue"
[13:56:18.404346]<rblank>Hey osimons!
[13:56:32.887542]<osimons>hi eli, remy
[13:57:16.235408]<retracile>Who's using jinja2 currently? (Please pardon my ignorance on this topic...)
[13:57:36.626123]<osimons>sphinx for one
[13:57:55.983185]<osimons>i'm not fuzzed about the templating engine. genshi works well, but so would no doubt something else. the big negative for me is yet another major release focusing on internal, breaking changes in Trac
[13:57:59.390281]<retracile>Looks like django is using their own... which I presume is also rather tied to django anyway.
[13:58:22.832200]<retracile>osimons: Hrm... yeah, that's a fair point.
[13:59:02.739028]<osimons>retracile: especially a nightmare for plugin developers
[13:59:38.119358]<retracile>osimons: but if the alternative is taking on genshi maintenance ourselves... uhm...
[14:00:05.165737]<rblank>And my suggestion of modularizing the templating engine was shot down real quick yesterday evening. With good reasons.
[14:00:56.778558]<osimons>retracile: i know, not easy. i had a quiet word with chris earlier today about it - he can't promise to maintain it, so we do need to think of something
[14:02:44.269993]*retracile wishes again for more time in a day...
[14:03:14.989871]<mitsuhiko>retracile: open source projects or closed source? :)
[14:07:38.096821]<osimons>mitsuhiko: you got the vote of confidence from chris - he'd be +1 on migrating Trac to Jinja2 :-)
[14:07:47.253849]<retracile>mitsuhiko: wife & 3 kids, house, open source projects, a side business, a machinist's skill to develop, .... oh, and getting my hands on a 5x5x5 rubik's cube and learning to solve it. ;)
[14:08:18.606099]<mitsuhiko>retracile: oh, that was to "who's using jinja2 currently" :)
[14:08:25.194967]<retracile>(not to mention the blog with the expired, self-signed ssl cert... *sigh*)
[14:08:43.683276]<retracile>mitsuhiko: heh, I thought that was to the wish for more time. Whoops! :)
[14:08:50.886767]<mitsuhiko>you should get a cert from that authority the mozilla people have no idea whose root it is :D
[14:08:56.016027]<retracile>mitsuhiko: But I was thinking open-source :)
[14:09:08.311225]<mitsuhiko>rumors has it it was paypal though
[14:09:19.233613]<retracile>mitsuhiko: O_o Got a link on that one?
[14:09:48.094367]<mitsuhiko>retracile: http://groups.google.com/group/mozilla.dev.security.policy/browse_thread/thread/b6493a285ba79998/26fca75f9aeff1dc
[14:10:05.999264]<mitsuhiko>that whole ssl business is going down fast lately
[14:10:32.956650]<mitsuhiko>someone managed to obtain a ssl cert for a freemailer xD: https://bugzilla.mozilla.org/show_bug.cgi?id=556468
[14:13:41.265882]<retracile>mitsuhiko: whee!
[14:25:12.160408]<rblank>Yay! 8 tickets to go for 0.12 :)
[14:28:31.122464]<retracile>rblank: woot! :)
[14:28:57.367725]<retracile>rblank: You're doing good work on that; wish I could claim the same.
[14:29:41.363113]<rblank>retracile: Actually, cboos has been much more active lately. I hope I can catch up.
[14:30:34.153770]<retracile>rblank: heh :)
[14:38:44.639905]<rblank>Good night folks, need to get ~4 hours of sleep before going on a business trip :(
[23:33:17.434315]<delaney>hello, its it possible to access trac via C++ or webservices?
[23:33:32.302940]<delaney>specifically to create new tickets
[23:35:17.262904]<delaney>?
[23:37:07.075936]<wildintellect>delaney, http://trac-hacks.org/ there's probably something there for you