Team Chat Logs

July 3, 2010

2010 6
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 31  

[00:37:23.133935]<tobago>how to add further attributes to a ticket like "planned workdays" [Integer] or "documentation required" [true/false]?
[01:11:14.955084]<osimons>tobago: custom fields
[01:11:40.120586]<osimons>@wiki TracTicketCustomFields
[01:11:40.127546]<evil_twin>http://trac.edgewall.org/wiki/TracTicketCustomFields
[01:12:22.502521]<osimons>you may also find my plugin useful if you want to let project admins manage this instead of needing sysadmin access for writing trac.ini directly: http://trac-hacks.org/wiki/CustomFieldAdminPlugin
[01:16:26.105747]<tobago>osimons, no wiki entry there :(
[01:16:38.386255]<tobago>sorry meant evil_twin
[01:16:48.599831]<tobago>whatver...
[01:16:53.427813]<osimons>http://trac.edgewall.org/wiki/TracTicketsCustomFields
[01:17:11.749960]<tobago>osimons, :)
[01:17:22.745293]<osimons>tobago: evil_twin is a helpful bot, but he does not second-guess my spelling. missing an 's' :-)
[01:18:00.728253]<tobago>osimons, i realized it when i entered the stupid stuff i wrote... ;)
[02:01:06.754570]<evil_twin>t.e.o: CHANGES attached to SpamFilter - <http://trac.edgewall.org/attachment/wiki/SpamFilter/CHANGES> - anonymous
[02:01:11.754555]<evil_twin>t.e.o: CHANGES.2 attached to SpamFilter - <http://trac.edgewall.org/attachment/wiki/SpamFilter/CHANGES.2> - anonymous
[03:57:37.340328]<ruif13>hi
[03:57:41.009663]<ruif13>anyone can help
[03:58:03.191371]<ruif13>i have trac 0.12
[03:58:26.936275]<ruif13>and when i try to checkout in netbeans
[03:58:28.714302]<ruif13>appears
[03:58:44.421780]<ruif13>org.tigris.subversion.javahl.clientexception ra layer request failed
[04:06:04.435071]<ruif13>i have done :P
[05:06:41.910096]<evil_twin>t.e.o: Ticket #9480 (Delete wrong attachements) created - <http://trac.edgewall.org/ticket/9480> - dstoecker
[08:02:15.266304]<evil_twin>t.e.o: Ticket #9235 (Maintain git mirror (on GitHub?)) updated - <http://trac.edgewall.org/ticket/9235#comment:11> - cboos
[08:07:16.912675]<evil_twin>t.e.o: Ticket #9480 (Delete wrong attachements) closed - <http://trac.edgewall.org/ticket/9480#comment:1> - cboos
[09:02:23.799671]<evil_twin>t.e.o: Ticket #9111 (TimeoutError: Unable to get database connection within 20 seconds) updated - <http://trac.edgewall.org/ticket/9111#comment:10> - cboos
[10:42:43.219425]<evil_twin>t.e.o: t9111-wait-if-waiters.diff attached to Ticket #9111 - <http://trac.edgewall.org/attachment/ticket/9111/t9111-wait-if-waiters.diff> - cboos
[11:07:48.079920]<evil_twin>t.e.o: Ticket #9111 (TimeoutError: Unable to get database connection within 20 seconds) updated - <http://trac.edgewall.org/ticket/9111#comment:11> - cboos
[12:25:26.962615]<hasienda>osimons: ping
[13:26:30.212184]<osimons>hasienda: pong
[13:27:21.637250]<hasienda>osimons: hello,
[13:28:02.781391]<hasienda>osimons: just wanted to inform you, that I had a busy day turning your suggestion into reality
[13:28:32.460566]<osimons>goodie. is the code noe more to your satisfaction?
[13:28:38.863653]<osimons>s/noe/now
[13:28:38.873550]<evil_twin>osimons meant: goodie. is the code now more to your satisfaction?
[13:29:01.887262]<hasienda>osimons: current revision has both, changes for only reading the config as well as a total rewrite with Genshi's tag()
[13:29:13.877397]<hasienda>osimons: yes, this looks a lot better now
[13:29:56.175619]<hasienda>osimons: http://trac-hacks.org/browser/wikiticketcalendarmacro/trunk/wikiticketcalendar/macro.py
[13:31:00.543054]<hasienda>osimons: the hope to shorten the code by building an additional private module for some repeating code did not come true,
[13:31:38.438929]<hasienda>osimons: but less redundancy is still a good thing, right?
[13:32:11.003758]<osimons>no, it looks ~same length. however, should still be much easier to maintain code now that you've left the markup-as-a-plain-string approach
[13:33:40.547323]<hasienda>osimons: studying Trac code about how to better read the config values I saw that you did some work there - so there comes the knowledge from :-)
[13:34:17.000151]<osimons>hasienda: yup. got some commits there and with the plugins over the years...
[13:37:10.581883]<osimons>hasienda: tip of the day, and a pattern you'll see a lot in python code: "a = 1 and 2" will make a == 2. by extension you can also have a = 0 and 2 or 4 to make a == 4 as the first test in 'and' fails at 0 and so it skips the second and makes a == 4. applying this to your code, you can do:
[13:37:49.089815]<osimons>a_class = status == 'closed' and 'closed' or 'open'
[13:38:05.620495]<osimons>4 lines => 1 line. and just as readable.
[13:38:28.972360]<osimons>(in my opinion at least... :-)
[13:39:00.597476]<hasienda>osimons: I saw such constructions in the past, even used them, will take a look.
[13:39:19.250041]<hasienda>osimons: But the macro argument parsing is the last big piece of code from the early days of that macro. I'll see, what could be done to make it more fexible by named arguments, and maybe shorter by using more code from Trac.
[13:40:25.408942]<hasienda>osimons: since I aim to add full TracQuery capabilities for selecting tickets to display, this is my next development goal
[13:41:22.021727]<hasienda>osimons: I'm still surprised how much work can be put into such a relatively small plugin ...
[13:41:53.238102]<osimons>heh. no end to the amount of time it can consume if your not prepared to accept "good enough"...
[13:42:36.006238]<hasienda>osimons: right, at least I totally underestimated that when I started to try some improvements.
[13:43:16.615374]<evil_twin>t.e.o: Ticket #7818 (Removing items from Admin panel (Users, Milestones, etc) is possible ...) updated - <http://trac.edgewall.org/ticket/7818#comment:2> - rblank
[13:44:42.878133]<hasienda>osimons: ok, thank you for guidance, I've really appreciated your kind advice and will certainly come back for more at another time. :-)
[13:45:56.616189]<osimons>no probs, hasienda. happy to help. "will work for kudos" - http://www.ohloh.net/accounts/osimons :-)
[13:48:40.165397]<hasienda>osimons: kudos, right, but at least you should ask me, if you ever need something from Germany, that I could try to get my hands on.
[14:03:18.846866]<evil_twin>t.e.o: Ticket #7820 ([PATCH] Syslog Logging Not Working on FreeBSD) updated - <http://trac.edgewall.org/ticket/7820#comment:3> - rblank
[14:03:23.847787]<evil_twin>t.e.o: Ticket #7820 ([PATCH] Syslog Logging Not Working on FreeBSD) updated - <http://trac.edgewall.org/ticket/7820#comment:4> - rblank
[14:08:19.273654]<evil_twin>t.e.o: Ticket #7851 (BOM appears in source code listings when using Pygments 1.0) updated - <http://trac.edgewall.org/ticket/7851#comment:2> - rblank
[14:13:20.246785]<evil_twin>t.e.o: Ticket #7911 (Optional validation for custom fields) updated - <http://trac.edgewall.org/ticket/7911#comment:6> - rblank
[14:18:21.212573]<evil_twin>t.e.o: Ticket #7958 (Options for tracd to drop privileges) updated - <http://trac.edgewall.org/ticket/7958#comment:8> - rblank
[14:28:23.134479]<evil_twin>t.e.o: Ticket #8036 (allow IPermissionRequestor to extend existing meta-permissions) updated - <http://trac.edgewall.org/ticket/8036#comment:5> - rblank
[14:33:24.105444]<evil_twin>t.e.o: Ticket #8219 (Forward additional parameters from /report to /query) updated - <http://trac.edgewall.org/ticket/8219#comment:2> - rblank
[14:33:29.105247]<evil_twin>t.e.o: Ticket #8289 (Make SVN Authz compatible with SVN 1.5) updated - <http://trac.edgewall.org/ticket/8289#comment:14> - rblank
[14:38:25.073490]<evil_twin>t.e.o: Ticket #4997 (Check SVN authz permissions with svn_authz_check_access) closed - <http://trac.edgewall.org/ticket/4997#comment:14> - rblank
[14:38:30.072327]<evil_twin>t.e.o: Ticket #8289 (Make SVN Authz compatible with SVN 1.5) updated - <http://trac.edgewall.org/ticket/8289#comment:15> - rblank
[14:43:52.087677]<evil_twin>t.e.o: Ticket #8332 (trac-admin permission masks) updated - <http://trac.edgewall.org/ticket/8332#comment:2> - rblank
[14:48:26.060997]<evil_twin>t.e.o: Ticket #8341 ([PATCH] Add an option to send filenames) updated - <http://trac.edgewall.org/ticket/8341#comment:3> - rblank
[14:50:45.564582]<toked>I appreciate some help; trying to setup trac with apache2 + fastcgi (plain cgi is working). getting an "internal error: (22, 'Invalid argument')" coming out of _fcgi.py; google results don't really help me (first time using fastcgi)
[14:51:22.514520]<toked>most likely a configuration issue, but i have no idea where to start
[14:53:27.026407]<evil_twin>t.e.o: Ticket #8356 (Email address in user preferences is not honored when user name contains ...) updated - <http://trac.edgewall.org/ticket/8356#comment:4> - rblank
[14:53:32.026497]<evil_twin>t.e.o: Ticket #8395 (restriction of contents of notifications (both, subject and body)) updated - <http://trac.edgewall.org/ticket/8395#comment:2> - rblank
[14:58:27.994767]<evil_twin>t.e.o: Ticket #8504 (Named Custom Queries) updated - <http://trac.edgewall.org/ticket/8504#comment:7> - rblank
[15:03:36.723217]<hasienda>osimons: just realized that I could reduce by 30 loc by moving out some redundant code to another private module, making the main loop much smaller and readable now. That's what I was looking for for quite a while. :-)
[15:03:56.845832]<evil_twin>t.e.o: Ticket #8663 (Javascript in Query page doesn't work if a component name has ...) updated - <http://trac.edgewall.org/ticket/8663#comment:5> - rblank
[15:04:21.600511]<hasienda>osimons: the change: http://trac-hacks.org/changeset?new=wikiticketcalendarmacro%2Ftrunk%2Fwikiticketcalendar%2Fmacro.py%408206&old=wikiticketcalendarmacro%2Ftrunk%2Fwikiticketcalendar%2Fmacro.py%408204
[15:06:24.895644]<hasienda>osimons: btw, got quite noisy here since evil_twin does announce changes at t.e.o again and rblank is moving through the tickets since yesterday.
[15:08:55.239468]<osimons>goddie, hasienda.
[15:09:55.285665]<hasienda>osimons: thanks. That's fun indeed. :-)
[15:10:40.140682]<osimons>heh. it is actually.
[15:12:40.700576]<hasienda>toked: sorry, but I just use tracd, so no own experiences. Certainly you do read the docu (like http://trac.edgewall.org/wiki/TracFastCgi), don't you? Then you'll need someone else, who had used it before.
[15:13:51.701065]<evil_twin>t.e.o: Ticket #8702 (Different workflows when viewing own tickets/others tickets) updated - <http://trac.edgewall.org/ticket/8702#comment:5> - rblank
[15:18:55.586908]<evil_twin>t.e.o: Ticket #8812 (Text field with post-label and right alignment) updated - <http://trac.edgewall.org/ticket/8812#comment:4> - rblank
[15:28:54.017478]<toked>hasienda: yes, i did; I wasn't too sure about exposing tracd to the internet, anyway running tracd and using mod_proxy seems to work ok.
[15:28:56.340274]<evil_twin>t.e.o: Ticket #9265 (Display HEAD when browsing latest revision) updated - <http://trac.edgewall.org/ticket/9265#comment:2> - rblank
[18:45:45.441642]<codyrobbins>The TracInstall page says setuptools is a required dependency, but where do I download it?
[18:46:08.281799]<pacopablo>codyrobbins: which distro?
[18:46:23.479791]<codyrobbins>Trac 0.12
[18:46:28.785514]<codyrobbins>The link just goes to a page with documentation on how to use setuptools as a developer
[18:46:33.599397]<pacopablo>OS distro
[18:46:42.967959]<codyrobbins>Fedora 8
[18:46:52.563429]<codyrobbins>I think I need the source for setuptools, there's no package
[18:47:00.627683]<codyrobbins>Do I have to check out from the Subversion repository?
[18:47:02.659392]<pacopablo>there should be a python-setuptools package in yum
[18:48:07.022710]<pacopablo>otherwise download and run: http://peak.telecommunity.com/dist/ez_setup.py
[18:49:45.562764]<codyrobbins>pacopablo: OK, cool—I found the package.
[18:49:49.967308]<codyrobbins>Thanks!
[23:26:01.087789]<prologic>in genshi, how do I just generate a bunch of links using a for loop over a list (passed to the template) ?
[23:27:02.821959]<prologic>nevermind got it
[23:27:03.898091]<prologic>I think :)