Team Chat Logs

February 9, 2010

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

[00:10:16.548917]<otaku42>moin
[00:20:48.127310]<infid>if my trac.ini file is owned by www-data, how should my normal user edit it, just as sudo/root?
[00:25:46.888853]<infid>or should i sudo -u www-data vim trac.ini?
[00:28:51.293352]<wildintellect>you could also chmod the file to allow other users write permission
[00:29:41.546596]<infid>well it needs to be owned by www-data
[00:29:55.543749]<infid>either method i showed works fine for editing , just wondering what's best
[00:35:18.506648]<kirean>infid: add the user to a group that's allowed to edit the file?
[00:42:44.394040]<wildintellect>chmod changes permission on the file not ownership chown changes ownership
[00:43:13.448964]<wildintellect>as long as the file exists sudo vim trac.ini is fine
[00:43:46.223036]<wildintellect>you just have to be careful when making new files, since sudo vim newfile would make a file owned by root
[01:01:16.792927]<kirean>infid: there is also sudoedit
[01:11:49.423361]<infid>ah thanks, sudoedit is perfect :D
[01:17:39.036766]<gozerbot>trac: Ticket #9042 (Compiler prüft Maximalwerte der Größe von Parametrierung abhängig vom ...) closed - <http://trac.edgewall.org/ticket/9042#comment:3>
[01:46:27.590830]<infid>when trac.ini says header_log's src=site/foo.jpg does that mean i should mkdir /home/trac/conf/site/ and put my logo in there?
[01:46:47.212937]<infid> /home/trac/projenv/conf/site/ i meant
[01:58:21.643495]<wildintellect>no
[01:58:37.553288]<wildintellect>site is a variable that trac will replace
[01:58:55.902788]<wildintellect>all files like images and static pages should go in htdocs
[01:59:17.388224]<wildintellect>you shouldn't need to make a folder it should exist
[02:00:28.574970]<infid>so site is the value of DocumentRoot?
[02:05:22.729614]<infid>or do you mean /home/trac/projenv/htdocs? is that where my site's files are actually supposed to go? i currently have them in ~/public_html/my-site/
[02:07:47.382321]<infid>i'm using mod_python
[02:15:42.229211]<infid>nm i see what you mean. i just simply put my logo in trac/projenv/htdocs/ and site/ is a variable for that dir. it's late, brain is slow
[03:17:36.571702]<gozerbot>trac: Ticket #9043 (Unable to link to browser files containing "#" in filename) created - <http://trac.edgewall.org/ticket/9043>
[04:47:38.872778]<gozerbot>trac: Ticket #9044 (OperationalError: (1054, "Unknown column '$ASSIGNED' in 'where clause'")) created - <http://trac.edgewall.org/ticket/9044>
[05:17:41.182780]<gozerbot>trac: TracDev/ReleaseTesting edited - <http://trac.edgewall.org/wiki/TracDev/ReleaseTesting?version=41> || Ticket #9044 (OperationalError: (1054, "Unknown column '$ASSIGNED' in 'where clause'")) closed - <http://trac.edgewall.org/ticket/9044#comment:1>
[06:39:16.290605]<Morbus>g'day. i'm looking for a code plugin that could track number of commits by one person, whether they were attached to tickets, that sort of thing.
[06:39:22.305654]<Morbus>i didn't really see anything on the trac hacks...
[06:47:40.486808]<gozerbot>trac: Ticket #8930 (port [8878] to 0.11-stable) closed - <http://trac.edgewall.org/ticket/8930#comment:2> || Changeset [9170]: 0.11.7dev: backport r8878 which fixed a bad usage of the Trac db API (no ... - <http://trac.edgewall.org/changeset/9170> || Ticket #8982 (sourceforge2trac.py update for import to 0.11) closed - <http://trac.edgewall.org/ticket/8982#comment:2>
[06:47:45.501827]<gozerbot> || Changeset [9169]: sourceforge2trac.py: fix script to work with Trac 0.11 datamodel and all ... - <http://trac.edgewall.org/changeset/9169> || Ticket #5585 (bugzilla2trac does not work with bugzilla 3.0) closed - <http://trac.edgewall.org/ticket/5585#comment:17> || Changeset [9168]: bugzilla2trac.py: make it compatible with Bugzilla 3.04 and PostgreSQL. ... - <http://trac.edgewall.org/changeset/9168> (+1)
[07:17:42.312264]<gozerbot>trac: Ticket #8911 (Timeline RSS feed title removes HTML tags) closed - <http://trac.edgewall.org/ticket/8911#comment:2>
[08:43:40.755221]<nick_fn>When implementing an ITicketManipulator, how should validate_ticket() find the 'before' values?
[08:45:48.944974]<cmc>instinct would be to load the ticket: new Ticket(env, ticket#)
[08:45:52.085688]<nick_fn>ah, ticket._old mabye
[08:46:10.336358]<cmc>that'd make more sense :)
[08:46:23.358530]<nick_fn>the name _old suggestions I shouldn't use it, possibly, though.
[08:46:50.961766]<cmc>I forgot about _old; it's used a lot, actually
[08:48:06.524205]<nick_fn>it'll do for today. Thanks :)
[10:17:42.651954]<gozerbot>trac: TracStandalone edited - <http://trac.edgewall.org/wiki/TracStandalone?version=75>
[10:26:14.509820]<burp>hi, did anyone experience a problem with missing navigation before?
[10:26:58.570719]<burp>I'm using the debian package, and I see no navigation bars, and no footer, but /browser /timeline etc. work
[10:27:12.400351]<burp>also the html is quite strange.. "<html xmlns="http://www.w3.org/1999/xhtml"> <html> "
[10:28:02.658383]<cmc>did you add any additional templates?
[10:28:16.219477]<burp>nope, fresh installation
[10:30:06.163875]<cmc>hm. I'd set the logging to debug, output to stderr and then run with tracd
[10:30:20.202155]<burp>hm, funny thing is there is no problem with tracd
[10:30:23.765743]<burp>but with WSGI
[10:30:50.603268]<cmc>sorry, I have no experience with wsgi
[10:31:03.753750]<burp>hm, might be some problem with python not finding the right template paths
[10:34:47.707589]<burp>hm, cgi also works
[10:34:50.528124]<burp>so it must be
[11:08:35.225457]<RAWRjar>Hey everyone. I'm wondering if I have a TicketQuery macro, can I make the title of the result table anything other than "Results"?
[11:17:32.463644]<cmc>RAWRjar: looks like it is hard coded into trac/ticket/templates/query_results.html
[11:22:21.589033]<RAWRjar>cmc: would that mean I could change it, but then it'd be different for everything? Could I copy the code and make my own macro with a title parameter?
[11:23:00.601842]<cmc>you'd probably have to use a separate template altogether
[11:23:20.522218]<cmc>but yes, you can copy the code for TicketQueryMacro, then copy the html file mentioned before and make a new plugin
[11:27:57.976651]<RAWRjar>cmc: in my trac environment there is no root ticket folder. there is a templates folder, but only a site.html file
[11:30:19.495423]<cmc>right, I'm referring to the trac code, which is probably in /usr/share/pyshared/trac
[11:32:58.940551]<cmc>at least, that's where it is on debian
[11:33:12.095097]<RAWRjar>cmc: I'm in a Windows32 environment, any idea where that would be? (running a search ATM)
[11:33:41.224353]<RAWRjar>h/o, found it
[11:34:34.833697]<RAWRjar>Used an egg install so it ended up in "C:\Python25\Lib\site-packages\Trac-0.11.5-py2.5-win32.egg\trac\ticket\templates" - so I can copy this HTML file and modify it to create my own macro?
[11:37:18.980946]<cmc>I'd start by looking at the structure of an existing plugin, say http://trac-hacks.org/wiki/IncludeMacro
[11:37:56.789758]<cmc>then copy-paste the relevant portions of the relevant macro: http://trac.edgewall.org/browser/tags/trac-0.11.6/trac/ticket/query.py#L1019
[11:38:17.506247]<cmc>save that, you want to point to a different template: http://trac.edgewall.org/browser/tags/trac-0.11.6/trac/ticket/query.py#L1104
[11:39:21.677713]<RAWRjar>cmc: cool, I will take a look at those docs later today :)
[11:39:26.200999]<RAWRjar>thank you for your help!
[11:39:48.061474]<RAWRjar>maybe I should submit a ticket to the big Trac to ask for added functionality for this
[11:39:52.844977]<cmc>good luck. If you're not interested in learning about plugin development, you can also just edit the template file, though that'd affect all results
[11:40:04.969630]<cmc>might be a good idea
[11:41:02.225353]<RAWRjar>My main motivation for this is that using a header "==This query:...==" then the TicketQuery puts a decent amount of spacing between the header/table
[11:41:26.032133]<RAWRjar>it'd be easier to just let the macro have a more useful title in the results table and omit the header
[11:42:36.638689]<cmc>you could also use one of the sql query macro plugins: http://trac-hacks.org/wiki/SqlQueryMacro and http://trac-hacks.org/wiki/WikiTableMacro
[11:49:55.929255]<macmaN>does anyone have a quick clue how to extract the final component of your project url in genshi template
[11:50:07.678304]<macmaN><link rel="stylesheet" type="text/css" href="${href.chrome('site')}/${project.}.css" />
[11:50:12.654074]<macmaN>something like this
[11:50:26.191830]<macmaN>i need to extract from project.url
[11:50:29.194020]<macmaN>i guess
[11:50:49.773548]<macmaN>projekt directory name doesn't seem to be available anywhere
[12:12:27.866926]<qubodup>hi
[12:14:16.876691]<Taldor>Hi, does trac 0.11.2 support something like meta-issues natively?
[12:16:51.890834]<macmaN>describe your understanding of meta-issues
[12:17:31.694324]<macmaN>is it something like 4-betting 50BB with 89o because you're certain that the 9BB 3-bet is a bluff?
[12:17:40.689466]<macmaN>i don't think trac handles that one
[12:19:02.570829]<Taldor>I mean issues that are considered fixed when all child-issues are fixed
[12:19:58.841793]<Taldor>(I didn't understand your example)
[12:32:07.745121]<macmaN>Taldor: perhaps trac-hacks has some ticket dependency plugin
[12:32:19.134411]<macmaN>ive seen the interest here before
[12:32:33.827123]<macmaN>is ChangeLogMacro supposed to work with multirepos?
[12:33:01.508041]<Taldor>I think I can't use trac-hacks. my trac installation is a sf.net application
[12:33:30.950610]<macmaN>ah, ootb you definitely dont have metaissues
[12:39:08.462884]<Taldor>ok, thanks macmaN
[13:22:39.046272]<IrCYop>Anywone know of an ubuntu package for trac 0.12
[13:47:48.322362]<gozerbot>trac: Changeset [9171]: 0.12dev: merge with 0.11-stable - <http://trac.edgewall.org/changeset/9171>
[14:17:44.469234]<gozerbot>trac: Changeset [9175]: l10n/fr: some minor corrections on previous translation. - <http://trac.edgewall.org/changeset/9175> || Changeset [9174]: l10/fr: updated to match last extraction (100%) - <http://trac.edgewall.org/changeset/9174> || Changeset [9173]: l10n: new automatic extraction - please ignore the diffs. - <http://trac.edgewall.org/changeset/9173> || Changeset
[14:17:49.345361]<gozerbot> [9172]: Made internal "Error:" string translatable. Patch by Elnur Abdurrakhimov ... - <http://trac.edgewall.org/changeset/9172>
[15:17:45.012091]<gozerbot>trac: TracDev/Proposals/AdvancedWikiFormatting edited - <http://trac.edgewall.org/wiki/TracDev/Proposals/AdvancedWikiFormatting?version=18> || Ticket #9045 (Add support for RTL languages) created - <http://trac.edgewall.org/ticket/9045>
[15:47:45.992496]<gozerbot>trac: 0.12/TracLinks edited - <http://trac.edgewall.org/wiki/0.12/TracLinks?version=3>
[23:28:49.434961]<macmaN>!seen cboos
[23:28:49.440387]<evil_twin>cboos was last seen on irc.freenode.net at Fri, 09 Oct 2009 10:30:07 +0100, saying: see you later ... eventually ;-)
[23:28:50.540654]<gozerbot>cboos was last seen on irc.freenode.net at Sat, 09 Jan 2010 00:48:17 +0100, quitting: "ChatZilla 0.9.86 [Firefox 3.5.6/20091201220228]"
[23:43:59.760208]<dunk_>!cc @
[23:44:00.011645]<gozerbot>control char set to @
[23:44:37.308681]<macmaN>bodunkadunk
[23:49:05.160445]<infid>how would you define a trac 'milestone'?