Team Chat Logs

February 18, 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

[01:23:12.586210]<gozerbot>trac: Changeset [9203]: Add a cache for `PermissionSystem.get_users_with_permission`. Patch by ... - <http://trac.edgewall.org/changeset/9203> || Changeset [9202]: TracReports: display a value of zero as '0' instead of ''. Closes #7512 ... - <http://trac.edgewall.org/changeset/9202> || TracSprint edited - <http://trac.edgewall.org/wiki/TracSprint?version=29>
[01:53:08.230340]<gozerbot>trac: Ticket #9032 ([PATCH] Permission system slow with multiple calls) closed - <http://trac.edgewall.org/ticket/9032#comment:5> || Changeset [9204]: Merge changes from 0.11-stable (fixes for #7512 and #9032) - <http://trac.edgewall.org/changeset/9204>
[02:53:08.046414]<gozerbot>trac: Ticket #9063 (would be nice to have an ability to keep wiki pages in SVN) created - <http://trac.edgewall.org/ticket/9063>
[03:23:08.126550]<gozerbot>trac: BitNami edited - <http://trac.edgewall.org/wiki/BitNami?version=2> || Ticket #9063 (would be nice to have an ability to keep wiki pages in SVN) closed - <http://trac.edgewall.org/ticket/9063#comment:1>
[05:53:09.095716]<gozerbot>trac: Ticket #9064 (AttributeError: TracError instance has no attribute 'acctmgr') created - <http://trac.edgewall.org/ticket/9064>
[06:23:09.417431]<gozerbot>trac: Ticket #9064 (AttributeError: TracError instance has no attribute 'acctmgr') closed - <http://trac.edgewall.org/ticket/9064#comment:1>
[07:41:22.779778]<crowbar>Anyone know of an hours tracking plugin which isn't tied directly to tickets? I'd like to be able to make certain log entries which don't have a ticket associated, such as meetings
[07:42:20.267925]<cmc>I don't know of one; we're in the process of implementing our own, tied to the clients plugin
[07:42:54.404502]<crowbar>Are you planning on releasing it?
[07:43:06.378041]<cmc>once it's done, but that won't be for months
[07:43:11.172058]<crowbar>ok, thanks.
[07:53:09.361933]<gozerbot>trac: Ticket #9065 (show "You may use WikiFormatting here" for new tickets too) created - <http://trac.edgewall.org/ticket/9065>
[07:55:07.488100]<gamla_kossan>I'm having a bit of trouble finding the doc part on how/where to connect my svn repo to my trac setup. anyone have a clue?
[08:23:09.447680]<gozerbot>trac: Ticket #9066 (Unicode broken in 11.6) created - <http://trac.edgewall.org/ticket/9066>
[08:42:49.648906]<cmc>gamla: http://trac.edgewall.org/demo-0.11/wiki/TracIni#trac-section
[08:43:03.358529]<cmc>repository_dir and repository_type
[09:45:48.892707]<gozerbot>trac: Ticket #7512 (report 8 (active tickets, mine first) sorts owner wrong) closed - <http://trac.edgewall.org/ticket/7512#comment:15>
[11:06:45.538311]<synfinatic>anyone have any suggestions on running 0.11.6/nginx/fast-cgi/mysql to solve memory leaks?
[11:07:04.788213]<synfinatic>google is indexing my site and 100+MB trac processes on my little VM are painful
[11:48:36.077112]<doki_pen>synfinatic: I'm using tracd with nginx
[11:48:40.425542]<doki_pen>synfinatic: on postgresql
[11:48:51.934608]<doki_pen>synfinatic: don't use mysql if you like things to work
[11:49:41.243148]<doki_pen>synfinatic: I'm not doing any caching, but I get indexed regularly and don't have any issues
[11:52:00.899018]<cmc>whoo postgres
[11:54:50.007439]<doki_pen>synfinatic: btw, my trac procs are about 30MB
[11:55:02.792833]<synfinatic>yeah, i'd prefer postgres too
[11:55:21.768203]<synfinatic>but not enough ram on the vm for both and I have other db related apps
[11:55:34.697424]<doki_pen>synfinatic: I'm running on a 350MB linode
[11:55:35.944883]<synfinatic>and trac+sqlite == huge problems
[11:55:46.917545]<doki_pen>synfinatic: postgres amounts to almost nothing
[11:56:00.947245]<synfinatic>well i'll try tracd then
[11:56:08.076094]<synfinatic>30MB is much better then 110
[11:56:18.840827]<doki_pen>synfinatic: I have 4 procs, which I think is overkill
[11:56:46.184583]<doki_pen>synfinatic: if you really need to supe it up, put varnish in front and run one tracd
[11:56:54.613376]<doki_pen>synfinatic: that'll take care of the indexing
[11:57:06.195373]<doki_pen>synfinatic: also, come up with some reasonable robots.txt
[11:57:50.589958]<doki_pen>synfinatic: nginx is also insignificant on memory
[11:58:02.046950]<doki_pen>synfinatic: are you on a 64bit box, by any chance?
[11:58:07.890706]<synfinatic>nope
[11:58:13.695280]<doki_pen>synfinatic: good
[11:59:50.091312]<synfinatic>2nd question:
[12:00:00.110542]<synfinatic>i'm using the spamfilter/akismet plugin
[12:00:24.094056]<synfinatic>tried running upgrade in trac-admin, but it won't create the spamfilter_* tables in the db
[12:01:04.197127]<synfinatic>just says db is uptodate
[12:01:16.801501]<synfinatic>how do I force the creation of the tables?
[12:01:25.396821]<synfinatic>like spamfilter_log
[12:05:15.377373]<doki_pen>synfinatic: not sure, look at the needs_upgrade method to figure it out
[12:05:18.834872]<doki_pen>synfinatic: inside the plugin
[12:25:03.129002]<jjmojojjmojo>what's the best way to update the status of a ticket from a python script? I've got code that queries the database directly, but I'm worried that it's not doing all the right things before it commits
[12:25:59.787403]<jjmojojjmojo>and by "queries" I mean "UPDATE ticket SET status = %s WHERE id = %d" :P
[12:27:02.484022]<cmc>jjmojojjmojo: you kind of avoid the whole "workflow" idea
[12:27:18.214153]<cmc>and you aren't updating ticket_change
[12:27:42.912187]<bionoid>jjmojojjmojo: use open_environment and the Ticket model
[12:27:51.413440]<jjmojojjmojo>cmc: *nod* is that a good idea? this is a post-commit hook.. .so somebody puts "Fixed #1234" in their change log, and so the ticket gets marked "fixed"
[12:27:55.705880]<jjmojojjmojo>Ticket model... ok
[12:29:28.326287]<cmc>jjmojojjmojo: http://trac.edgewall.org/browser/tags/trac-0.11.6/contrib/trac-post-commit-hook is similar to what your aim is
[12:29:47.593341]<jjmojojjmojo>yeah but it hits the DB directly
[12:30:06.579746]<jjmojojjmojo>whoops, wrong one.. yes that's exactly what I'm trying to do
[12:31:08.049378]<jjmojojjmojo>... except with mercurial... and trac 0.12 :)
[12:31:19.883821]<cmc>;)
[13:13:45.847679]<achester>Ok, hey. I'm getting " Warning: Can't synchronize with the repository (Unsupported version control system "svn". Check that the Python support libraries for "svn" are correctly installed.) " .. I've checked the wiki and my installation seems to pass all the recommended tests..
[13:15:39.515877]<bionoid>achester: You installed pysvn, yes?
[13:15:48.240442]<achester>yeah
[13:16:21.876229]<achester>http://dpaste.org/ysOf/
[13:17:19.373240]<bionoid>How is Trac served?
[13:17:22.201405]<achester>If I run trac-admin inside the trac environment it says it syncs
[13:17:26.071813]<achester>mod_python
[13:17:41.077938]<bionoid>Check that the #! points to correct python executable
[13:18:08.391714]<achester>there is only one python executable inside the chroot
[13:18:38.587660]<bionoid>No idea then, sorry
[13:19:30.562189]<achester>I mean the weird thing is the trac-admin command seems to work and be able to resync the svn repos, its just apache can't..
[13:20:00.167949]<achester>http://dpaste.org/gTYu/
[13:21:33.547251]<bionoid>Maybe a permission issue..?
[13:22:08.165904]<achester>yeah thats what I've been looking at
[13:22:28.067733]<achester>the weird thing is ... everything worked before upgrading subversion
[13:22:41.109152]<achester>but as far as I can tell all the bindings are correctly updated
[13:23:57.776819]<bionoid>And you had a peek at trac+apache debug logs? Nothing relevant?
[13:24:35.042442]<bionoid>also, what about serving with tracd?
[13:25:00.937165]<achester>Yeah I guess I could try tracd next
[13:26:00.796717]<achester>alright well brb for a bit while I try some ideas =)
[13:28:13.464450]<jjmojojjmojo>if I'm using multiple repositories in trac, how can I link to a changeset in a particular repo?
[13:35:39.067697]<synfinatic>doki_pen: thanks for the info on needs_upgrade: was able to fix my problem
[13:39:43.461303]<achester>bionoid: tracd works fine. 0.o
[13:39:55.638044]<achester>at least I know it has something to do with apache now
[13:45:59.382087]<bionoid>achester: One step..;) Did you su <apacheuser> and run tracd?
[13:49:46.600111]<doki_pen>synfinatic: no prob
[13:50:02.303707]<doki_pen>synfinatic: give my some ohloh kudos and we'll be even
[13:53:50.812437]<synfinatic>done
[14:04:01.520730]<doki_pen>synfinatic: sweet, ty
[14:04:38.285670]<ezeike>Hey, I'd like to be able to add more columns beside Component/Version/Milestone, and have them be set from an email through email2trac. How difficult is this?
[14:08:15.163287]<cmc>ezeike: if I understand you correctly, not difficult
[14:08:15.977882]<pacopablo>PyCon!!!!!!!!!!!!!!!!!!!!!
[14:08:37.680391]*pacopablo is finally on his way to Atlanta (well, almost)
[14:09:38.980989]<pacopablo>doki_pen: I haven't looked at the patches yet, but I'm assuming that they don't add a dependency on AnnoucerPLugin, do they/
[14:09:52.098004]<ezeike>cmc: got a link?
[14:10:48.577341]<cmc>ezeike: https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration#Defaultvaluesforticketfields
[14:10:54.061139]<cmc>those can be custom fields
[14:11:47.120981]<cmc>ezeike: http://trac.edgewall.org/demo-0.11/wiki/TracTicketsCustomFields How to add custom fields
[14:33:16.361792]<doki_pen>pacopablo: no
[14:33:39.468688]<doki_pen>pacopablo: they just add an event layer for password reset and account verify
[14:33:51.825805]<doki_pen>pacopablo: and remove a Notification dependency on some sanity check
[14:34:32.178072]<doki_pen>pacopablo: I tested, and there is actually a bug in accountmanager that makes it not work with trac trunk
[14:34:35.590721]<doki_pen>pacopablo: but my stuff works
[14:35:05.875492]<doki_pen>pacopablo: there is some code that's checking some smtp settings, but trac has decoupled smtp so that sendmail could be implemented
[14:35:25.314634]<doki_pen>pacopablo: so you shouldn't be checking those settings anymore.. sorry, no patch for that
[15:15:46.811283]<cmc>anybody familiar with the ticket.update xmlrpc command?
[15:19:49.744824]<cmc>oh damn. typo fixed
[15:41:31.898336]<ezeike>How can I add more columns to the main display? Say, beside the "Component" column
[15:51:16.991914]<ezeike>I've added the custom fields but I'd like some to appear next to Component, Version, Milestone, etc
[22:15:57.967846]<gozerbot>trac: Ticket #9067 (Scheduling Function) created - <http://trac.edgewall.org/ticket/9067>