Team Chat Logs

2006 8
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  

September 09, 2006

[00:13:51] * hpnadig has quit IRC
[00:15:03] * hpnadig has joined #trac
[00:37:20] * moolight has quit IRC
[00:37:21] * moolight_uSbRJ has joined #trac
[00:37:31] * moolight_uSbRJ is now known as moolight
[00:48:32] * tkp has joined #trac
[00:53:27] * neoxed has quit IRC
[01:02:08] * hpnadig has quit IRC
[01:02:14] * neoxed has joined #Trac
[01:04:41] * omry has joined #trac
[01:07:51] <omry> good morning all
[01:08:24] <omry> I`d like to try trac to manage my project, does it play nice with CVS?
[01:17:30] <alect> no
[01:19:44] * flox has quit IRC
[01:20:28] * flox_ has joined #trac
[01:20:30] * flox_ is now known as flox
[01:20:46] <omry> I see. version control intergration is optional now, right?
[01:21:35] <alect> correct
[01:21:59] <omry> how do I make it run on apache? the installation guide practically says only it would be better than the standalone.
[01:22:14] <omry> Running Trac on a Web Server ¶
[01:22:14] <omry> Trac provides three options for connecting to a “real” web server: CGI, FastCGI and mod_python. For decent performance, it is recommended that you use either FastCGI or mod_python.
[01:23:42] <alect> read the installation guide
[01:24:01] <alect> TracInstall
[01:24:11] <omry> http://trac.edgewall.org/wiki/TracInstall ?
[01:24:13] <omry> I do
[01:24:47] <omry> it doesn't really say much about it
[01:25:05] <coderanger> TracCgi/TracFastCgi/TracModPython
[01:25:18] <omry> got them all
[01:25:19] <omry> now what?
[01:25:21] <omry> ah
[01:25:23] <omry> wati
[01:25:24] <coderanger> each contains the parts of the setup for each system
[01:25:24] <omry> wait
[01:25:41] <omry> let me take another look...
[01:28:12] <omry> the doc says TracCGI OR FastCGI enabled WS OR Apache with mod python.
[01:28:34] <omry> ohh, okay.
[01:29:05] <coderanger> indeed
[01:29:19] <coderanger> if you are using the 0.10 beta there are actully even more options
[01:29:33] <coderanger> tracd can run as an SCGI server
[01:29:55] <coderanger> and trac itself can be used with a WSGI server like Twisted's
[01:31:14] <omry> I think I`ll go with the simple apache integration. possibly as a virtual host.
[01:31:36] <omry> if I am not happy with the location of the environment I created, how do I move it?
[01:31:41] <coderanger> mv
[01:31:44] <omry> sure
[01:31:49] <omry> but will it break anything?
[01:31:52] <coderanger> nope
[01:31:55] <omry> should update trac somehow?
[01:32:00] <omry> cool.
[01:32:00] <coderanger> an env is totally self contained
[01:32:12] <omry> great.
[01:32:17] <coderanger> you can move, copy, or delete them as you would anything else
[01:32:20] <omry> that's the way god meant things to be.
[01:32:25] <omry> :)
[01:33:06] <omry> where do you guys put your envs?
[01:33:51] <coderanger> my general layout is /var/www/<vhost>/tracs/<tracname>
[01:34:18] <omry> and its fine, security wise, to store it under the web root?
[01:34:20] <coderanger> Though I run a somewhat larger number of Trac instances than most people
[01:34:40] <coderanger> I point the webroot at /var/www/<vhost>/htdocs
[01:35:49] <coderanger> other people will use /var/trac or /usr/trac
[01:35:52] <omry> one trac installation can support multiple envs, right?
[01:35:57] <coderanger> yes
[01:35:58] <omry> or - several projects.
[01:36:02] <omry> cool.
[01:36:15] <coderanger> Trac itself is just a set of python modules (and some static content)
[01:36:44] <omry> yes, its really a question of database design.
[01:36:54] <omry> mostly
[01:37:04] <coderanger> by default each env uses its own SQLite db
[01:37:13] <coderanger> which is just a file (db/trac.db in the env)
[01:37:28] <omry> would you recommend this configuration for a low traffic project?
[01:37:37] <omry> I already created a mysql database for it,
[01:38:14] <coderanger> yes
[01:38:49] <coderanger> its much easier to work with, and I have yet to see SQLite be a performance issue
[01:39:04] <omry> alrighty
[01:39:11] <omry> I`ll drop the database then.
[01:39:21] <coderanger> you can always move later if need be
[01:39:31] <omry> should I re-install trac to make it work with SQLite?
[01:39:41] <coderanger> nope
[01:39:52] <coderanger> just make sure sqlite and pysqlite are isntalled
[01:40:17] <coderanger> it autodetects what backends are available
[01:41:51] <omry> cool.
[01:42:43] <omry> the web server user need write access to the env dir, I take it?
[01:43:50] <coderanger> yes, or at least to the DB, and the attachments folder if you want
[01:46:23] <omry> gotcha.
[01:50:30] * Marlun has joined #trac
[01:50:43] * Dimitris has joined #trac
[01:50:59] * coderanger -> Sleep
[01:51:07] <omry> goodnight.
[01:51:08] <omry> thanks.
[01:51:30] * Dimitris has quit IRC
[01:52:11] * monotone has joined #trac
[01:57:59] <Marlun> Do I need some plugin for reStructuredText to work? Because in my trac guide the table on the reStructuredText page is not a table, but on the official trac guide reStructedText it is a table.
[01:58:31] <Marlun> ah python docutils..
[02:00:54] <Marlun> fixed it.
[02:11:21] * monotone has quit IRC
[02:19:18] <omry> I have a problem:
[02:19:49] <omry> I am creating a fresh env, and it gives me some exceptions about missing tables
[02:19:58] <omry> http://firefang.net/projects/firestats/wiki
[02:21:29] <Marlun> omry: the webpage you supplied works for me?
[02:21:39] <omry> opens,
[02:21:47] <omry> but print a stac trace
[02:21:48] <omry> track
[02:22:00] <omry> initially I tried to use mysql
[02:22:01] <Marlun> ah when I clicked on timeline I got the error.
[02:22:10] <omry> yeah, its broken
[02:22:12] <omry> thats the problem
[02:22:26] <omry> I think trac rememver somehow that I used mysql initially
[02:22:34] <omry> now I want to use SQLite
[02:22:56] <Marlun> did you remove te old env before creating the new one?
[02:23:11] <omry> wiped clean
[02:23:23] <omry> I have nothing there, so I can do it again if you like.
[02:24:30] <omry> strange.
[02:24:36] <Marlun> I'm very new to this so I don't think I can be of so much help. I've only used SQLite with Trac too so I don't know if maybe theres something in the global trac.ini which specifies some database specific options?
[02:25:19] <omry> I think it was related to a browser cache
[02:25:23] <omry> it seems to work now
[02:25:28] <omry> I didn't do anything on the server.
[02:26:02] <omry> Marlun, do I need to lean up the trac related content from the env manually?
[02:26:08] <omry> s/lean/clean
[02:26:43] <omry> or does it..
[02:26:57] <omry> still broken, it seems.
[02:27:02] <omry> when I try to save settings
[02:29:24] <omry> Marlun, you had no such problems?
[02:35:32] <Marlun> What do you mean with "trac related content from the env"?
[02:36:48] <Marlun> omry: a tip is to search for the exact error message on google, theres a big chans someone else have had the same problem and posted about it on a mailing list, I almost always find posts about problems I've got on the mailing lists.
[02:37:03] <Marlun> They don't always help but sometimes they give you tips which makes you fix it yourself.
[02:37:12] <Marlun> and I guess then they did help .P
[02:39:18] <omry> :)
[02:40:24] * Miek has joined #trac
[02:47:48] * tuxipuxi has joined #trac
[03:17:58] * moolight has quit IRC
[03:21:24] * barlas has quit IRC
[03:21:34] * barlas has joined #trac
[03:24:03] <omry> how do I add a user?
[03:27:19] * Miek has quit IRC
[03:29:46] <nextime> omry : if you use tracd, i don't know, read on the online documentation. If you use apache, both fcgi or mod_python is equal, you simply need to add a normal apache user, with htpasswd, done that, you can manage permission of this user from trac-admin with permission command
[03:30:43] <omry> nextime, there is no mechanism for users to register themselves?
[03:30:48] <omry> (apache)
[03:31:35] <nextime> omry : if i can remember right, there is a plugin to permit user registration, but nothing to do that in the default install
[03:32:00] <omry> right now when I hit login I get an exception, is that normal?
[03:32:12] <omry> http://firefang.net/projects/firestats/login
[03:32:26] <nextime> anyway, you can also use an apache tric like using http auth over an sql backend + an ad-hoc php or python script to manage the database
[03:32:44] <omry> nextime, sure.
[03:32:55] <omry> I just dont want to go write something that is supported :)
[03:33:17] <nextime> omry : iuhmm, no, your exception isn't normal
[03:33:35] <omry> nextime, this is a fresh install.
[03:33:47] <omry> I dont know why it happens.
[03:33:54] <nextime> omry : it seem that you don't have basic auth configured in your apache config
[03:34:09] <omry> oh
[03:34:20] <omry> that's per site, right?
[03:34:26] <nextime> you need that so trac can identify a user ( even if it is anonymous )
[03:34:48] <nextime> omry : is per site, global or per directory, depend on how you configure apache
[03:35:04] <omry> nextime, I see.
[03:35:07] <nextime> usually for trac is based on <Location >
[03:35:11] <omry> the docs say anything about it?
[03:35:16] <omry> I know its an apache issue
[03:35:27] <omry> but I didn't find any hints in trac wiki
[03:35:45] <nextime> omry : i think yes, you can find some examples on the edgewall wiki
[03:36:41] <nextime> anyway, if you want i can paste an example apache config in query
[03:36:57] <omry> that will be great
[03:37:01] <nextime> ( i have no chanche to use pastebin now )
[03:43:42] * a-priori__ has joined #trac
[03:50:37] <Marlun> omry: The AccountManagerPlugin lets you login/register/change password etc, it also works with the WebAdmin plugin which lets you add remove permissions/users/milstones and much more (administer trac from the web).
[03:50:58] <Marlun> omry: Information about AccountManagerPlugin: http://trac-hacks.org/wiki/AccountManagerPlugin
[03:51:04] <omry> Marlun, thank
[03:51:05] <omry> s
[03:51:12] <Marlun> Read the whole wiki page since it tells you how to set everything up.
[03:52:08] * cboos has joined #trac
[03:52:10] <Marlun> If you have some problems I may be able to help, I've got it up and working but I'm still (as I said before) new to this.
[04:00:36] * a-priori_ has quit IRC
[04:03:36] <omry> Marlun, I installed the web admin
[04:03:47] <omry> but I dont get an admin link
[04:03:52] <omry> I use apache basic auth
[04:04:09] <omry> and I gave my user TRAC_ADMIN
[04:05:37] <omry> ah,
[04:05:41] <omry> I forgot to activate the plugin
[04:05:47] <omry> where is the trac.ini file (global) ?
[04:06:42] <omry> found it
[04:07:47] <omry> hmm
[04:07:53] <omry> Its still not there
[04:08:06] <omry> I am not supposed to restart Apache after I change trac.ini, do I ?
[04:10:48] <omry> ping Marlun
[04:10:49] <alect> yes
[04:11:04] <omry> I do? there is a live python process?
[04:11:18] <omry> that stays up?
[04:14:39] <omry> okay, I got the admin link
[04:14:42] <omry> after restarting
[04:14:45] <omry> thanks
[04:26:12] * dju` has joined #trac
[04:30:54] * cboos has quit IRC
[04:39:52] * a-priori__ has quit IRC
[04:40:11] * a-priori__ has joined #trac
[04:44:17] * dju` has quit IRC
[04:44:24] * dju` has joined #trac
[04:46:52] * dju` has quit IRC
[04:46:58] * dju` has joined #trac
[04:53:42] * maxb has joined #trac
[04:57:49] * a-priori__ has quit IRC
[04:58:27] * a-priori__ has joined #trac
[05:05:50] * __ has joined #trac
[05:07:41] <asmodai> alect!
[05:09:44] * _idostyle has joined #trac
[05:22:48] * Rica has quit IRC
[05:25:31] * idostyle has quit IRC
[05:25:35] * _idostyle is now known as idostyle
[05:30:33] * cboos has joined #trac
[05:30:40] * xjjk has joined #trac
[05:34:02] * tomster has joined #trac
[05:41:23] * maxb has quit IRC
[05:41:57] * maxb_ has joined #trac
[05:42:37] * maxb_ is now known as maxb
[05:49:08] * tkp has quit IRC
[05:53:34] * xjjk has quit IRC
[05:54:29] * De_Mon has joined #trac
[05:55:07] * cboos has quit IRC
[05:56:25] * Del_Mon has quit IRC
[06:00:58] * tkp has joined #trac
[06:34:25] * jborg has joined #trac
[06:48:09] * tomster has quit IRC
[06:58:14] <maxb> Ticket #1890 continues to be relentlessly spammed. Is there anything that can be done?
[07:08:09] * Semhirage has quit IRC
[07:08:10] * Semhirage_ has joined #trac
[07:14:32] * matt_good has quit IRC
[07:18:50] * sky has quit IRC
[07:32:09] * Marlun has quit IRC
[07:49:33] * alexsott has joined #trac
[07:50:09] <alexsott> hi there
[07:50:59] <alexsott> i was asked to come on this channel to get account for VLC bug reporting @trac
[07:51:22] * BrianHV_ has joined #trac
[07:52:13] * BrianHV has quit IRC
[07:52:46] * BrianHV_ is now known as BrianHV
[07:54:15] * Marlun has joined #trac
[08:01:23] * BrianHV_ has joined #trac
[08:01:40] * BrianHV has quit IRC
[08:01:44] * BrianHV_ is now known as BrianHV
[08:06:52] * Synapse has quit IRC
[08:09:17] * barlas has quit IRC
[08:09:35] * barlas has joined #trac
[08:18:17] <maxb> Is there any way to get notification of ALL 'write' operations to a Trac? i.e., ticket submissions, comments, wiki changes?
[08:18:36] <maxb> I want a way to efficiently monitor my Tracs for inbound spam
[08:25:51] * barlas has quit IRC
[08:26:09] * barlas has joined #trac
[08:32:07] <tuxipuxi> maxb, what about using the RSS feed? or do you need mails?
[08:33:34] * hobophobe has joined #trac
[08:34:15] <hobophobe> Is there a way to segregate some users on a trac system from the overall system? To allow for example regular users of the program to submit bugs to only some given area?
[08:36:14] <hobophobe> Or else is there a way to flag all of one usergroup's submissions?
[08:37:00] <alect> not really
[08:37:08] <alect> hey asmodai :)
[08:37:18] <hobophobe> How about assigning all new tickets some default owner?
[08:37:44] * Miek has joined #trac
[08:42:18] * cboos has joined #trac
[08:46:01] * Rica has joined #trac
[08:49:46] <Miek> has anyone been able to get trac working with lighttpd and suexec?
[08:52:57] * barlas has quit IRC
[09:01:24] * bryanl_ has joined #trac
[09:01:33] <bryanl_> it looks like i'm going to be running trac + basecamp
[09:02:17] <bryanl_> basecamp has better project management tasks.... but I still love the trac wiki / subversion access / timelines and bug management
[09:02:22] <bryanl_> this ought to be a fun project
[09:02:34] <asmodai> alect: dude!
[09:02:44] <asmodai> alect: can I bother you for a sec in private?
[09:02:54] * __ has quit IRC
[09:08:29] * hlb has quit IRC
[09:24:51] * Del_Mon has joined #trac
[09:26:15] * Marlun has quit IRC
[09:36:06] * De_Mon has quit IRC
[09:37:18] * agile has quit IRC
[09:41:36] * Marlun has joined #trac
[09:47:27] * hlb has joined #trac
[09:47:39] * hobophobe has left #trac
[09:51:22] * chandlerc has joined #trac
[09:52:47] * Miek has quit IRC
[09:52:47] * tuxipuxi has quit IRC
[09:53:37] * barlas has joined #trac
[09:54:06] * tuxipuxi has joined #trac
[10:19:18] * agile has joined #trac
[11:09:53] * thansen has quit IRC
[11:14:00] * alexsott has quit IRC
[11:14:18] * cjb has left #trac
[11:14:50] * Semhirage_ is now known as Semhirage
[11:22:05] * Inc has joined #trac
[11:22:26] <Inc> is there a web based plugin that lets you add svn users?
[11:25:44] * jborg has quit IRC
[11:27:31] * thansen has joined #trac
[11:30:45] * thansen has quit IRC
[11:31:27] * thansen has joined #trac
[11:46:23] * __ has joined #trac
[11:51:08] * barlas has quit IRC
[12:03:33] * Rica has quit IRC
[12:10:07] * o_cee has joined #trac
[12:16:24] <coderanger> Inc: AccountManager
[12:17:54] <Inc> thanks
[12:33:20] <omry> is there's a global trac.ini?
[12:33:26] <omry> I only see one in my env
[12:33:52] <omry> I want all my project envs to share the same AccountManager configuraton
[12:34:40] <coderanger> it doesn't exist by default
[12:34:52] <coderanger> usr/share/trac/conf/trac.ini
[12:35:22] <omry> what's the override rules?
[12:35:38] <omry> project settins shaddow the default settings?
[12:35:41] <coderanger> the local takes priority
[12:35:46] <coderanger> merged per line
[12:35:55] <omry> alrighty.
[12:36:29] <omry> so basically you take it takes the first file, and than load the second on top. if there is an identical [component]->key pair the local wins?
[12:39:57] <coderanger> yep
[12:41:05] <omry> do I need to reload apache after every configuration change?
[12:41:14] <coderanger> "no"
[12:41:30] <omry> why the ""?
[12:41:41] <coderanger> though any changes to what plugins are being loaded ([components]) does need a reload
[12:42:07] <coderanger> and some poorly written plugins may require a reload for changes to their config
[12:42:07] <omry> oh.
[12:42:34] <omry> I dont know much about python, much less about python as a apache module.
[12:42:45] <omry> how can that be? is there a state stored somewhere for it?
[12:43:08] <coderanger> yes, mod_python keep a code cache for all global object
[12:43:19] <coderanger> and Trac maintains a cache of envs
[12:43:30] <omry> I see. where does it store it
[12:43:31] <omry> ?
[12:43:36] <omry> (mod_python)
[12:43:37] <coderanger> in memory
[12:43:46] <omry> oh.
[12:43:57] <omry> so apache load the module, which remains up, and keep the stuff
[12:44:02] <omry> nice
[12:44:09] <coderanger> it caches the actual data strucures so it doesnt need to create them over and over
[12:44:18] <coderanger> thats part of why it is faster
[12:44:25] <omry> I see why its efficient
[12:44:36] <omry> php just restarts all over as far as I know
[12:44:39] <coderanger> fcgi does the same thing, just differently
[12:44:56] <omry> fcgi? generic fast cgi?
[12:45:02] <coderanger> yep
[12:45:22] <omry> I guess it would have to keep cgi-bin core in memory, or some hackery like that
[12:45:34] <omry> at least the code part
[12:45:44] <coderanger> FCGI programs run as a their own daemon
[12:45:54] <omry> ah, so its not generic
[12:45:57] <coderanger> The webserver communicates with them over a socket
[12:46:00] <omry> you need a special cgi-bin
[12:46:13] <coderanger> FastCGI != CGI
[12:46:34] <coderanger> It is its own spec
[12:46:38] <omry> understood
[12:47:06] <omry> I have installed account manager with htpassword file, do I need to remove the auth related parts from the site file?
[12:47:32] <coderanger> if you want it to use the central one
[12:49:54] <omry> back to AssertionError: Authentication information not available.
[12:51:11] * em-dash has quit IRC
[12:53:40] <omry> the AccountManager page says nothing about it
[12:54:09] <omry> how do I setup apache so that I do not get that exception and anon users can still open the page?
[12:55:55] <coderanger> You probably mean to be using the form-based login
[12:59:01] <omry> what's that?
[12:59:16] <omry> I mean to have anonymous users browse freely
[12:59:29] <omry> and allow them to register
[12:59:36] <omry> if they want more than info
[13:00:09] <coderanger> okay, that error just means you are using teh default LoginModule and you havent setup HTTP authentication
[13:00:27] <omry> in apache?
[13:00:33] <coderanger> yes
[13:03:17] <omry> the thing is, once I do that, it requires me to login, obiousl
[13:03:18] <omry> y
[13:03:26] <omry> so no anon users
[13:04:31] <coderanger> you only require auth on the /login path
[13:04:41] <coderanger> this is all in the install documentation
[13:05:01] <omry> ohh
[13:05:04] <omry> I missed it
[13:07:57] <omry> apache supports locations like: <Location "/var/trac/*/Logic"> ?
[13:08:17] <coderanger> LocationMatch
[13:08:18] <omry> err, /projects/*/login
[13:08:50] <coderanger> <LocationMatch ^/projects/[^/]+/login>
[13:10:19] <omry> <LocationMatch "/projects/.*/login">
[13:10:21] <omry> did this
[13:10:27] <omry> will that do?
[13:10:31] <omry> seems to work
[13:10:37] <coderanger> probably
[13:10:45] <omry> what's the ^?>
[13:10:48] <omry> ^
[13:10:51] <omry> starts with?
[13:11:05] <coderanger> though if someone make a wiki page called "login" it will match that
[13:11:10] <coderanger> yes
[13:11:41] <omry> and it will not match yours?
[13:11:50] <coderanger> correct
[13:12:47] <omry> cool.
[13:12:55] <omry> now to the form based login
[13:13:01] <omry> http auth is ugly as hell :)
[13:13:11] <coderanger> Well if you wanted form based-login you didnt need to do that ;-)
[13:13:18] <omry> lol
[13:13:24] <omry> well. at least I learnt
[13:13:26] <coderanger> in fact you need to undo it
[13:13:32] <omry> and?
[13:13:46] <coderanger> as a password-protected login form is not very useful :)
[13:14:00] <Inc> hah.
[13:14:02] <omry> ha :)
[13:14:27] <omry> coderanger, well, if you dont know the password you have nothing to look for there anyway :)
[13:16:20] <omry> so, about that form login
[13:16:26] <omry> any link to info?
[13:19:54] <Marlun> [[BR]] isn't working for me... for some reason.
[13:20:59] <Marlun> It only gets put into the wiki as [[BR]].
[13:21:21] <omry> btw: how hard it is to run a php code from trac plugin?
[13:22:29] <omry> I am working on a web statistics system (http://firefang.net/english/firestats) and I would love to keep track of users accessing trac.
[13:24:00] <Inc> me too
[13:25:24] <omry> and do you know the answer?
[13:25:25] <omry> :)
[13:28:33] <omry> coderanger, is that the form based login? http://trac-hacks.org/wiki/AuthFormPlugin
[13:29:21] <coderanger> omry: Look at the AccountManager page
[13:29:56] <coderanger> Its about half way down
[13:30:25] <coderanger> And you cannot run PHP code from Trac, so you would need to do silly things just iframes
[13:31:32] <omry> coderanger, thanks, found it.
[13:31:50] <omry> coderanger, I bet I can.. php can be executed as a process.
[13:32:15] <coderanger> execing a process will be very slow
[13:33:31] <omry> very slow?
[13:33:34] <omry> I dont think so..
[13:33:57] <