Team Chat Logs

May 21, 2010

2010 4
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            

[04:10:17.226136]<wild_oscar>can one put something like a ticket's attribute (state, due date, etc) in the wiki?
[04:15:23.742691]<osimons>@wiki WikiMacros
[04:15:23.753085]<evil_twin>http://trac.edgewall.org/wiki/WikiMacros
[04:15:55.572633]<osimons>wild_oscar: ^^ see TicketQuery macro
[04:22:48.913633]<wild_oscar>ah, nice. cheers osimons
[04:23:01.678801]<wild_oscar>btw, how stable is .12?
[04:23:29.435429]<osimons>wild_oscar: it is in beta, approaching an RC shortly so getting there...
[04:24:04.766335]<wild_oscar>I was looking at some wikiformat improvements that were interesting...but I wouldn't want to mess up my current project
[04:24:52.980867]<wild_oscar>also, if I am thinking correctly about the multi-project feature, it might be pretty great to have all projects in the same place
[04:32:23.314671]<wild_oscar>osimons: you can't really display something like "Closed" wth wikimacros, can you?
[04:32:41.555015]<wild_oscar>like "select status from ticket where id=122"
[04:36:24.645660]<osimons>wild_oscar: huh? [[TicketQuery]] you mean? it does not do sql...
[04:36:47.193966]<osimons>the right way would be [[TicketQuery(id=122)]]
[04:37:56.970109]<osimons>or more advanced; [[TicketQuery(id=1|3|5|6,status!=closed,col=id,col=summary,order=summary)]] (untested...) - basically whatever you get as query arguments in URL when playing with /query
[04:47:07.878125]<osimons>wild_oscar: ^^ not quite correct... needs the list type for you to pick columns to display i think. however, it was just a show of the general idea...
[05:36:53.029178]<larsivi>anyone familiar with the account manager plugin? how can I access state from it from another plugin - like the users email address
[05:54:04.930359]<ende>(I asked the following question yesterday but was pulled into a meeting before I could get a reply...)
[05:55:05.751100]<ende>I'm looking to change the color of hyperlinks in my Trac instance (red->purple). Is this configurable in some config file or do I need to meddle with a CSS file or something? Thanks.
[05:58:32.211130]<ende>I believe I've found my solution: http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
[06:18:10.390114]<wild_oscar>osimons: what I meant was that the result is a list, not a value
[06:19:21.779484]<wild_oscar>ie, one cannot have something like "And right now we have this activity as [[TicketQuery(id=1|3|5|6,, *show the status*]] "
[06:23:22.627314]<wild_oscar>[[TicketQuery(id=122)]] shows a table. and for what I understand, order=summary shows...the summary, not just a string property of what you want
[06:41:49.209198]<flakrat>does trac 0.12 support Git natively, or do you still have to use a plugin?
[06:44:07.398960]<scfe>flakrat: Nope, the idea is to keep trac small.
[06:45:31.375956]<flakrat>scfe, gotcha, so a follow up question, say I add GitPlugin to 0.12, with multiple project support, can I support a Git project and an SVN project in the same instance of Trac?
[06:46:53.243387]<scfe>flakrat: I don't know for sure but I think this is possible.
[06:51:24.539318]<flakrat>cool, looking forward to the release
[06:52:00.238051]<ende>I have a dumb python question
[06:52:08.452323]<ende>an egg is no different than a zip file right?
[06:52:20.279075]<ende>I mean, assuming it follows the proper structure, etc
[06:52:47.469942]<ende>but I can take an unpacked egg, zip it up, and rename it to a .egg and it is kosher?
[07:03:33.234147]<osimons>ende: yes - python supports loading code from zip files
[07:04:29.214159]<osimons>however, webservers and others that need to access resources inside the egg need to unpack it (hence all the stuff about the PYTHON_EGG_CACHE)
[07:06:14.602925]<osimons>so, i frequently like to unzip the eggs and replace it with a folder with the same name - that saves having to unzip the egg at runtime
[07:41:01.124770]<techtonik>What for do we need this option in trac.ini? mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
[08:00:53.039879]<osimons>techtonik: add more type & file ending mappings - mine includes among other things text/x-actionscript:as, text/x-erlang:erl:hrl, text/x-common-lisp:cl:lisp, text/x-trac-wiki:wiki
[08:01:54.610612]<osimons>techtonik: gotten better with recent pygments and trac internal handling, but the setting is always a fallback to allow custom file-endings to render as some mime type
[08:02:45.965158]<osimons>like if your company uses "*.techtonik" file endings for some reason, you can map it up as xml if that is what it really is
[08:04:02.761334]<osimons>i know a company that loves all kinds of file endings for what is basically xml, so my mime_map also includes this item:
[08:04:04.146561]<osimons>text/xml:aspx:ascx:master:xml:resx:config:sitemap:wsdl:disco:map:asmx:mxml:csproj
[08:16:24.896353]<osimons>techtonik: oh, and one more use-case: the setting will override any default defined endings, and in the "old day" of Trac .cs was ClearSilver text templates but I needed .cs to be C# code. often file endings conflict, or you want to adjust the renderer used in your particular project.
[08:16:34.046652]<osimons>... and that is about it :-)
[08:32:54.082203]<techtonik>I see. Thanks for clarification.
[13:57:24.802390]<robinbowes>I'm editing the "My Tickets" report, and want to add the date of the last change to the ticket list
[13:58:03.175665]<robinbowes>I see the fragment "changetime AS _changetime", but changetime is unixtime; how can I format that as a date?
[14:02:55.070977]<robinbowes>OK, found it: datetime(changetime, 'unixepoch') as changed
[14:06:39.404132]<niez>hi, I'm having problems with repository browser
[14:07:27.950374]<niez>I've configured svn repository in admin (I'm using 0.12)
[14:08:16.224743]<niez>after resync I still don't see it in menu