Team Chat Logs

April 7, 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:04:43.092892]<pacopablo>delaney: look at the xmlrpc plugin
[00:05:00.843531]<pacopablo>additionally, you could use C++ to talk directly tot he database, but that's a bit more work
[00:05:18.870911]<delaney>Ticket API is also complete, with the following types exported: component, version, milestone, type, status, resolution, priority and severity.
[00:05:22.445618]<delaney>sorry
[03:05:26.457382]<hasienda>Upgrading an env with trac-admin from trac-0.12dev-r9442 used with trac-0.12dev-r9115 before
[03:05:59.281497]<hasienda>I get 'TracError: No upgrade module for version 23 (db23.py)'.
[03:07:38.934779]<hasienda>Install is done from a copy of SVN checkout r9442 from http://svn.edgewall.org/repos/trac/trunk.
[03:07:51.810185]<hasienda>Any hints how to fix this?
[03:27:16.908265]<hasienda>db23.py and up (only db22.py and before) wasn't there for any reason, fixed this using another checkout - works now, so never mind.
[03:28:36.945287]<osimons>hasienda: you did a checkout from source and then "python setup.py install" and the upgrade files were not part of the package installed?
[03:32:05.408755]<hasienda>Tried to use a copy of working copy from my local Mercurial repo. It's in the SVN checkout but not in the branch I copied from after merge with that chechout. Must have messed up something myself with the repo so.
[03:33:44.357606]<osimons>likely - all seems fine at my end. goodie.
[04:03:43.552136]<macmaN>is it possible get an rss feed entry for irclogplugin?
[04:04:21.483000]<macmaN>not seeing such thing on pacopablo
[04:06:49.449744]<virhilo>hello
[04:07:20.555010]<virhilo>how to colorize tickets list by severity(for example) instead of priority
[06:47:47.342298]*retracile spouts something unflattering about mornings.
[07:20:38.910361]<paseante>trac seems to have a length limit when showing log messages, is there a way to increase it?
[07:21:25.608707]<paseante>I'm thinking of subversion commit messages, I don't know if the same applies for wiki pages or other SCM softwares
[07:27:25.035167]<Sacho>in the timeline?
[07:36:13.210037]<paseante>Sacho: yes, or the log view
[07:37:56.445271]<Sacho>not related to the tracini option to shorten log messages?
[09:04:37.811639]<osimons>@wiki TracIni
[09:04:37.819483]<evil_twin>http://trac.edgewall.org/wiki/TracIni
[09:05:44.464669]<osimons>paseante: http://trac.edgewall.org/wiki/TracIni#timeline-section
[09:14:49.840585]<Bananobot>What's the best way to update a wiki page from the command line?
[09:18:29.379623]<retracile>Bananobot: trac-admin has a couple of sub-commands for exporting/importing wiki pages
[09:19:02.743570]<Bananobot>Does "import" actually create a new revision of an existing wiki page?
[09:19:28.191058]<retracile>Bananobot: I'd assume so, though I can't say I've really checked that...
[09:20:46.209698]<retracile>(It'd be pretty straightforward to test by importing a new page, then importing a different version of that same page, and seeing if there are 2 revisions.)
[09:20:59.143663]<Bananobot>Here's what I'm doing: trac-admin /var/lib/trac/techcenter wiki export Admin/ubuntu01.ccctc.ccc | php /usr/lib/pharo/mods/sites-admin/api/update-trac-sites.php | trac-admin /var/lib/trac/techcenter wiki import Admin/ubuntu01.ccctc.ccc
[09:21:14.525583]<Bananobot>update-trac-sites.php just takes the stdin, modifies it, and outputs it to stdout.
[09:21:28.122742]<Bananobot>When I run that, Trac just gives me a list of wiki commands available
[09:21:45.058344]<retracile>hm.
[09:21:54.781658]<Bananobot>This is run as root, BTW
[09:25:15.160511]<retracile>"trac-admin ... wiki export SandBox | sed 's/a/A/g' | trac-admin ... wiki import SandBox" worked for me here
[09:25:43.063493]<retracile>Bananobot: that's using trunk from a month ago
[09:26:30.244766]<Bananobot>I'm using 0.11.5
[09:28:19.192905]<retracile>Bananobot: I get your behavior on 0.11.6 & 0.11.7 & current 0.11-stable
[09:28:57.220271]<retracile>Bananobot: Looks like it's a wiki import bug in 0.11
[09:29:08.547285]*Bananobot looks for a bug ticket
[09:30:10.089689]<retracile>ARGH! Trying to use "trac-admin ... wiki import SandBox <( ... wiki export ...) " gives "Exception: /proc/self/fd/63 is not a file"
[09:31:30.396860]<retracile>Bananobot: Looks like you'll just have to use a temp file :(
[09:31:54.286263]<Bananobot>No problem, if it will work. I'll try
[09:32:18.191313]<retracile>Bananobot: As "fair warning", with 0.12 "right around the corner", this might not get fixed in 0.11
[09:32:34.843375]<retracile>Bananobot: yeah, importing from a file does work.
[09:52:44.741190]<Bananobot>retracile: Yay, it works! It wasn't at first, but then I noticed I had put "tmpfile" instead of "$tmpfile" :P
[09:52:55.085517]<retracile>Bananobot: heh :)
[09:53:07.792415]<Bananobot>Is there a way to specify a revision message?
[09:56:42.687243]<retracile>Bananobot: On the import? Hmmm... not that I know of...
[10:04:22.371239]<svm_invictvs>Is there a trac plugin that lets you assign issues with dependencies?
[10:04:30.919240]<coderanger>mastertickets
[10:05:40.098336]<svm_invictvs>Does it easy_install?
[10:05:55.451326]<coderanger>pip install tracmastertickets
[10:06:23.840767]<svm_invictvs>Don't have pip
[10:06:38.565862]<coderanger>pip > easy_install
[10:06:39.209072]<coderanger>:-)
[10:06:48.531218]<coderanger>(but easy_install works fine too)
[10:07:36.590080]<svm_invictvs>cool
[10:07:38.019997]<svm_invictvs>That did it.
[10:07:45.818549]<coderanger>http://s3.pixane.com/python_comrades.png
[10:08:11.994509]<svm_invictvs>I have to bounce apache don't i?
[10:08:36.724865]<coderanger>yes, and you need to enable the plugin first
[10:09:44.617960]<coderanger>(and upgrade the trac-env, since mastertickets needs a new DB table)
[10:12:10.701618]<svm_invictvs>yep, all a snap
[10:13:07.022509]<svm_invictvs>hm
[10:13:11.614777]<svm_invictvs>dependency graph isn't showing up
[10:13:25.288551]<coderanger>Do you have graphviz installed?
[10:19:02.096515]<svm_invictvs>coderanger: Nope....
[10:19:05.276380]<svm_invictvs>installing it right now...
[10:19:54.737815]<coderanger>svm_invictvs: Might want to read the wiki page ;-)
[10:20:17.737622]<svm_invictvs>:-/
[10:21:02.484708]<svm_invictvs>coderanger: This is your plugin?
[10:21:19.229040]<coderanger>Yah, though I've not had time to work on it in a while
[10:21:58.267306]<svm_invictvs>Ah, graphviz also needs a plugin.
[10:22:07.412813]<coderanger>No, it doesn't :P
[10:22:17.174923]<svm_invictvs>OH "You do not"
[10:22:17.282407]<coderanger>You just need dot
[10:22:18.030295]<svm_invictvs>lol
[10:22:28.369514]<svm_invictvs>Which is installing
[10:22:57.436753]<svm_invictvs>blocking = text blocking.label = Blocking
[10:23:09.946826]<svm_invictvs>Does that let me set the input to a list box?
[10:23:18.402822]<coderanger>No
[11:47:08.823758]<svm_invictvs>coderanger: Nice.
[11:47:13.031252]<svm_invictvs>coderanger: This is slick.
[12:11:45.333366]<exarkun>Something about the csv renderer for tickets changed. In 0.11.6, the emitted csv is full of newlines that makes it unparseable garbage.
[12:11:57.394339]<exarkun>Anyone know anything about that?
[13:12:03.208125]<isnoop>Is there any way to apply a custom sort to a report?
[13:12:15.618252]<isnoop>When sorting by status, I want closed to be at the bottom, regardless of alpha sort.
[13:20:43.705807]<isnoop>Correction: When *grouping* by status...
[13:36:51.583887]<Bananobot>What's a good extension for implementing simple ticket dependencies? Preferably, I'd be able to modify ticket A to add ticket B as a dependency, and then the ticket B page would automatically show a reverse link back to ticket A.
[13:40:22.517524]*Bananobot reads the backlog
[13:40:29.505063]<Bananobot>I'll try out mastertickets
[15:05:35.238834]<russell_h>so I have one Trac instance running under mod_wsgi on two different vhosts (with different process groups) - on one vhost everything is fine, but on the other vhost the Account Manager menu items don't seem to show up
[15:05:49.756877]<russell_h>anyone know what would cause that?
[15:08:28.257818]<russell_h>ah, nevermind, got it - for some reason I need to specify plugins_dir for it to work on the second vhost
[15:53:20.751368]<svm_invictvs>Does trac have an api of some sort?
[15:53:29.042683]<svm_invictvs>Such that I can integrate it with other web apps?
[16:40:24.674135]<osimons>@logging
[16:40:24.688615]<evil_twin>logging is http://trac.edgewall.org/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors.
[16:40:32.186486]<osimons>^^ delaney, for you