| [00:00:09] |
<coderanger> |
lemme add info to the wiki page and you should be all set |
| [00:02:05] |
<pisi> |
coderanger: how does that relate to 0.11 ? |
| [00:02:35] |
<pisi> |
(looking at th timeline, tracforge is the key here, right ?) |
| [00:02:42] |
<coderanger> |
It isnt tested on it at all, and is highly unlikely to work on it |
| [00:03:42] |
<coderanger> |
TracForge is probably going to be one of the last things I port to 0.11 |
| [00:05:02] |
* |
stevegt_ has joined #trac |
| [00:06:49] |
* |
matt_good has quit IRC |
| [00:08:11] |
<pisi> |
I'm running on 0.11 - just because i like bleeding edge and because the rest of the site is built with genshi anyway. |
| [00:08:46] |
<coderanger> |
You can try it, but if it doesn't work you are somewhat SoL |
| [00:09:02] |
<coderanger> |
Though I suppose you could just rip out the code for the dispatcher or something |
| [00:10:32] |
<coderanger> |
look at tracforge.admin.dispatcher |
| [00:10:52] |
<coderanger> |
http://trac-hacks.org/browser/tracforgeplugin/0.10/tracforge/admin/dispatch.py |
| [00:11:51] |
<coderanger> |
It will be somewhat annoying to administer without tracforge's central permissions, but it should work okay (I think) |
| [00:28:28] |
<pisi> |
hmm. Seems doable. I don't mind the extra administration cost. |
| [00:30:04] |
<pisi> |
I think I'd try to integrate this code into the normal trac_parent_dir code. Maybe I could get rid of hardcoded projects. |
| [00:30:13] |
<pisi> |
hardcoded /projects |
| [00:30:25] |
<coderanger> |
pisi: Why? |
| [00:30:47] |
<coderanger> |
And this can't go in the main codebase |
| [00:31:04] |
<coderanger> |
since it depends on a more specific layout than the normal |
| [00:36:23] |
<pisi> |
I'll see what I can do. Basically I'd get rid of the requirement to have a master project and just use the PROJECT_VIEW permission probing. In the end I'd like to use it with th:TracWsgiPlugin #tracs option. |
| [00:36:55] |
<coderanger> |
pisi: Thats impossible, you need the master project to have a login to check permissions against |
| [00:37:34] |
<coderanger> |
Unless you add a login form to the index, which seems a bit silly |
| [00:38:15] |
<pisi> |
Isn't it enough if I assume that REMOTE_USER is set or not set already ? |
| [00:38:51] |
<pisi> |
(what is true. In my case it is automagically done with SSL/smart cards) |
| [00:38:54] |
<coderanger> |
That would require using HTTP auth, which I don't use anywhere due to logout issues. |
| [00:39:37] |
<pisi> |
authentication issue is solved for me, so just probing for permissions should be OK. |
| [00:39:52] |
<coderanger> |
Then the patch should be pretty tiny |
| [00:39:59] |
<pisi> |
yup. |
| [00:40:23] |
<coderanger> |
just can't be used upstream |
| [00:41:02] |
<pisi> |
that's ok for me. I hope you don't mind if I re-use your code and integrate it somehow into TracWsgiPlugin ? |
| [00:41:18] |
<coderanger> |
Sure, not that that module has much code in it |
| [00:42:01] |
<coderanger> |
its just restarting a WSGI call with new parameters |
| [00:42:40] |
<pisi> |
I don't really hack on trac every day so it is good to re-use the work of those who do ;) |
| [00:43:50] |
<coderanger> |
heh, the last real commit to tracforge was 5 months ago :P |
| [00:44:10] |
<pisi> |
I think that using WSGI and having the authentication done in some other layer than trac is a nice way of deploying trac. Thus for those who use trac via WSGI and want to have multiple projects this code might be useful. |
| [00:45:10] |
<coderanger> |
pisi: A lot of my public projects are used by students, often from public terminals, so the annoyances of HTTP auth are problematic |
| [00:48:04] |
<pisi> |
well, another cool option these days might be openid + signed cookies |
| [00:50:04] |
<coderanger> |
I need to monkey with the openid plugin a bit |
| [00:50:26] |
<coderanger> |
it would be nice if I could have trac act as an openid server as well as a client |
| [00:51:59] |
<pisi> |
true. I think there is more need for openid consumers than servers. At least from architecture point of view. You need nice url-s that people would like to use and good authentication backends (like smart cards) |
| [00:52:38] |
<pisi> |
openidenabled.com just recently published python openid libraries v2.0 with simple registration support |
| [00:52:44] |
<coderanger> |
pisi: Smart card hardware is still too hard to get/expensive |
| [00:53:12] |
<pisi> |
I'm in the process of upgrading https://ideelabor.ee/openid to the new code. and looking into authkit openid support to place it above trac in some public cases. |
| [00:53:22] |
<pisi> |
coderanger: not in Estonia ;) |
| [00:54:06] |
* |
coderanger grumbles about American IT |
| [00:54:38] |
<pisi> |
and I also have openid server code that uses genshi/wsgi. That would be much easier to integrate with trac I assume. not yet publicly available thow. |
| [00:55:00] |
<pisi> |
ugh |
| [00:59:20] |
* |
gakman has quit IRC |
| [01:01:43] |
* |
gakman has joined #trac |
| [01:17:47] |
* |
SunWuKung has joined #trac |
| [01:56:53] |
* |
SunWuKung has quit IRC |
| [01:57:24] |
* |
Federico2 has joined #trac |
| [02:11:04] |
<pisi> |
almost |
| [02:11:23] |
<pisi> |
coderanger: I always get WIKI_VIEW permission in 0.11 :( |
| [02:11:37] |
<coderanger> |
wiki_view? |
| [02:12:01] |
<pisi> |
I decided to use WIKI_VIEW as the needed permission to list the env in the index. |
| [02:14:32] |
<pisi> |
Strange. I think that trac code should count an authenticated user == None as anonymous |
| [02:17:02] |
<coderanger> |
No, thats handled by the authenticator system |
| [02:19:17] |
* |
joel has quit IRC |
| [02:26:24] |
* |
zarathustra has joined #trac |
| [02:42:41] |
* |
m_g has joined #trac |
| [02:53:42] |
<pisi> |
coderanger: ok, i have something semi-working as well in v0.3 th:TracWsgiPlugin |
| [02:53:53] |
<pisi> |
coderanger: this is for WSGI and 0.11 |
| [02:56:25] |
<pisi> |
coderanger: thanks for inspiration. I can move on now :) |
| [02:56:35] |
<coderanger> |
heh, no prob |
| [03:02:25] |
<pisi> |
paster serve test.ini should work out of the box if you change the path in test.ini and if you have all prerequisites installed. |
| [03:03:40] |
<pisi> |
Some parts of the plugin are generic enough that they should go into upstream. At least paste entry points should be in 0.11 egg |
| [03:03:59] |
<pisi> |
(#5112) |
| [03:05:49] |
<coderanger> |
Hah, reading about newforms in django 0.96, its eerily identical to the config API I just made for TracHome |
| [03:16:38] |
* |
EvilGuru has joined #trac |
| [03:38:14] |
* |
kopernikus has joined #trac |
| [03:44:46] |
<EvilGuru> |
I use Trac on debian (apt-get install trac), but I am not sure what will happen or what I need to do when the new version comes out |
| [03:53:38] |
* |
maxb has joined #trac |
| [03:55:04] |
* |
eblot has joined #trac |
| [03:55:55] |
<danderson> |
EvilGuru: you'll probably need to run trac-admin yourenv upgrade && trac-admin yourenv wiki upgrade on all your environments |
| [03:56:02] |
<danderson> |
to bring them in sync with the new trac code |
| [03:56:19] |
<EvilGuru> |
danderson: seems nice and easy |
| [04:15:33] |
* |
techie_ has quit IRC |
| [04:31:45] |
* |
kopernikus has quit IRC |
| [04:32:09] |
* |
kopernikus has joined #trac |
| [04:33:09] |
* |
prologic has joined #trac |
| [04:33:27] |
* |
prologic has left #trac |
| [04:45:26] |
* |
dog4 has joined #trac |
| [05:18:45] |
* |
ErikRose has joined #trac |
| [05:31:11] |
* |
StOORm has joined #trac |
| [05:43:31] |
* |
prologic has joined #trac |
| [05:43:57] |
* |
prologic has left #trac |
| [05:50:20] |
* |
d0rt has joined #trac |
| [05:59:43] |
* |
StOORm is now known as StO-OFF |
| [06:09:49] |
* |
jimmy-james has joined #trac |
| [06:16:09] |
* |
maxb has quit IRC |
| [06:16:30] |
* |
pbx has joined #trac |
| [06:16:35] |
<pbx> |
G'morning all |
| [06:17:46] |
* |
eblot has quit IRC |
| [06:20:15] |
<StO-OFF> |
gm |
| [06:20:22] |
* |
StO-OFF has quit IRC |
| [06:24:00] |
* |
dog4_ has joined #trac |
| [06:27:55] |
<pbx> |
I'm looking to write an auth plugin for Trac and need some advice. I have my users already in a local DB for another part of the site (based on Django FWIW), and want to let them use the same logins to get into Trac. One small twist is that their login names are actually ID numbers, whereas I'd like to have their (human) names displayed in the UI -- e.g. on tickets they file. |
| [06:28:19] |
<pbx> |
So 1) Where's a good place to start and 2) Is that ID/name constraint likely to be a pain? |
| [06:32:53] |
* |
dog4 has quit IRC |
| [06:34:06] |
* |
retracile has quit IRC |
| [06:37:25] |
* |
elehack|work has joined #trac |
| [06:45:54] |
* |
maxb has joined #trac |
| [06:49:02] |
<pbx> |
Hm. Nobody knows about auth plugins? |
| [07:03:38] |
<d0rt> |
if you stick around and try the question at different times of day I'm sure someone will pipe up |
| [07:05:40] |
* |
elehack|work has quit IRC |
| [07:09:49] |
* |
retracile has joined #trac |
| [07:11:54] |
<pbx> |
d0rt: OK, thanks. I'll let it sit. I've asked it a couple times before. I just installed the Account Manager plugin and am looks it its extensibility. |
| [07:11:58] |
<pbx> |
s/looks/looking/ |
| [07:12:00] |
* |
elehack|work has joined #trac |
| [07:12:09] |
<pbx> |
damn fingers |
| [07:15:44] |
<pbx> |
Here's another one, hopefully simpler. I |
| [07:17:16] |
<pbx> |
am using Trac at work on a repo of 5 or 6 websites. Each is a component. I also have a wiki page about each with links for new tickets, viewing existing tickets, and a list of open tickets (via the TicketQuery macro). Is it worth trying to template this, or will it be less work just to maintain these (simple) wiki pages manually? |
| [07:26:28] |
* |
danbeck has joined #trac |
| [07:27:57] |
* |
joel has joined #trac |
| [07:28:01] |
<pbx> |
OK, looks like the WikiFIle or WikiInclude macros might be the ticket. |
| [07:33:45] |
* |
jimmy-james has quit IRC |
| [07:34:06] |
<joel> |
Hi All -- I hope you can guide me to a solution. |
| [07:34:07] |
<joel> |
I'm using Trac Accont manager 0.1.3dev r2063 and am having problem |
| [07:34:09] |
<joel> |
granting new users permissions. I'm running WinXP OS and Apache 2.2 Server, Trac v0.10 and Python |
| [07:34:11] |
<joel> |
What I want to do is protect my root site from all access and only grant access to authorized people. |
| [07:34:13] |
<joel> |
For Example: |
| [07:34:14] |
<joel> |
www.foo.com - protected from ALL |
| [07:34:16] |
<joel> |
www.foo.com/trac/ -- authorized people only, all others if they find it get reverted to the root. |
| [07:34:17] |
<joel> |
My apache config is: |
| [07:34:19] |
<joel> |
<Location /trac> |
| [07:34:20] |
<joel> |
SetHandler mod_python |
| [07:34:22] |
<joel> |
PythonHandler trac.web.modpython_frontend |
| [07:34:23] |
<joel> |
PythonOption TracEnv d:/trac/clia |
| [07:34:25] |
<joel> |
PythonOption TracUriRoot /trac |
| [07:34:26] |
<joel> |
AuthType Basic |
| [07:34:28] |
<joel> |
AuthName "CLIA TICKET SYSYEM" |
| [07:34:29] |
<joel> |
AuthUserFile "d:/trac/pass/trac.httpasswd" |
| [07:34:31] |
<joel> |
Require valid-user |
| [07:34:32] |
<joel> |
</Location> |
| [07:34:34] |
<joel> |
<Location "/trac/login"> |
| [07:34:35] |
<joel> |
AuthType Basic |
| [07:34:37] |
<joel> |
AuthName "CLIA TICKET SYSYEM" |
| [07:34:38] |
<joel> |
AuthUserFile "d:/trac/pass/trac.httpasswd" |
| [07:34:40] |
<joel> |
Require valid-user |
| [07:34:42] |
<joel> |
</Location> |
| [07:34:43] |
<pbx> |
How about a pastebin man! |
| [07:34:44] |
<joel> |
The root seem to be working fine, but /trac isn't working with the Acct Manager's passwords. And I'm not sure which plugins to use: |
| [07:34:47] |
<joel> |
HtDigestStore, HtPassdStore or HttpAuthStore |
| [07:34:49] |
<joel> |
If you can be of any assistance, I would appreciate it. |
| [07:43:10] |
* |
eblot has joined #trac |
| [07:48:44] |
<pbx> |
joel: I'm just a guy sitting here waiting for an answer to *my* question, but if you're using Basic auth then I don't think you need/want anything with "digest" in its name. |
| [07:49:57] |
<joel> |
pbx. pasebin for the sample code above? I've tried various configurations and something is not working. |
| [07:51:00] |
<joel> |
and that makes sence about the digest. so which one: HtPassdStore or HttpAuthStore? |
| [07:51:46] |
<pbx> |
joel: You've read the plugin docs page? |
| [07:54:13] |
<joel> |
yes.. can I assume that the same password file is to be used in the ini for the apache server and the tracadmin -right? |
| [07:54:40] |
<pbx> |
joel: Not sure what you're asking there. |
| [07:56:38] |
<joel> |
in my apache server config (httpd.conf) i have this set: d:/trac/pass/trac.httpasswd SHOULD that be the same file a tracadmin uses? |
| [07:58:25] |
<pbx> |
Sorry, I'm still unclear. Are you saying that you want the TracAccountManager to use the same auth that you've already got set up in Apache? |
| [07:59:14] |
<pbx> |
joel: I believe the docs tell you to remove your own auth directives once you've set up the plugin. |
| [08:00:02] |
<joel> |
Yes that's right - so I can manage it via the web interface. I must have missed that in the docs. |
| [08:16:33] |
* |
LionsMane has joined #trac |
| [08:22:55] |
* |
stalker` has joined #trac |
| [08:23:41] |
* |
prologic has joined #trac |
| [08:23:41] |
<joel> |
pbx - i got it to work - finally! Thanks for the help. |
| [08:23:48] |
* |
prologic has left #trac |
| [08:24:14] |
* |
pradeep has joined #trac |
| [08:39:37] |
* |
jimmy-james has joined #trac |
| [08:47:51] |
* |
jimmy-james has quit IRC |
| [08:52:44] |
* |
jimmy-james has joined #trac |
| [08:54:49] |
* |
elehack|work has quit IRC |
| [09:01:14] |
* |
matt_good has joined #trac |
| [09:09:50] |
<pbx> |
joel: Good! |
| [09:13:36] |
<d0rt> |
pbx -- praps it's more productive for you to ask your auth plugin question on the trac-users or trac-dev list |
| [09:18:09] |
* |
joel has quit IRC |
| [09:21:20] |
<warjets> |
how can you remove or modify a comment made in error |
| [09:28:08] |
<eblot> |
warjets: TicketDeletePlugin on trac-hacks.org: you can delete any change made to a ticket |
| [09:29:12] |
* |
dog4_ has quit IRC |
| [09:48:55] |
* |
d0rt has quit IRC |
| [09:55:33] |
* |
pbx has left #trac |
| [10:02:25] |
* |
icebrian has joined #trac |
| [10:06:14] |
<warjets> |
eblot: thanks |
| [10:06:48] |
<warjets> |
is there also an sort of plugin for making ticket description editing easier? The tracker hates my line breaks and without putting a lot of effort in to a description, they come out looking like shit |
| [10:14:04] |
<eblot> |
I don't know. Tickets use the Wiki syntax. You can use verbatim block {{{ ... }}} if you want to copy and paste raw text, but it's easier to write Wiki syntax directly from my perspective. |
| [10:32:18] |
<evil_twin> |
New news from t.e.o: Ticket #5112 (enhancement closed): TracWsgiPlugin integration <http://trac.edgewall.org/ticket/5112#comment:1> || Ticket #5112 (enhancement created): TracWsgiPlugin integration <http://trac.edgewall.org/ticket/5112> |
| [10:34:06] |
* |
ecmanaut has joined #trac |
| [10:43:16] |
* |
jimmy-james has quit IRC |
| [10:43:30] |
* |
airrob has joined #trac |
| [10:43:53] |
<airrob> |
I am trying to install Trac on Dreamhost, and every guide I try fails. Can anybody point me to a good guide to follow? |
| [10:50:45] |
* |
zedas has joined #trac |
| [10:50:49] |
<icebrian> |
hi all, any date on when 0.10.4 will be released? |
| [10:51:05] |
* |
ecmanaut_ has quit IRC |
| [10:51:14] |
<zedas> |
hey, what's the chance you guys are gonna quit making people pass --basic-auth and --auth params to tracd when you can just read that from the ini file? |
| [10:53:58] |
<zedas> |
i think i'll cook up a patch, but don't want to do duplicate work |
| [10:54:13] |
<zedas> |
so, if anyone's considering making tracd you know, usable, let me know. |
| [10:58:41] |
* |
airrob_ has joined #trac |
| [11:00:28] |
* |
hotte has joined #trac |
| [11:16:18] |
* |
airrob has quit IRC |
| [11:20:30] |
* |
mess__ has quit IRC |
| [11:20:48] |
* |
mess__ has joined #trac |
| [11:22:45] |
<pfn> |
hrm, I'm migrating tickets from an old (different) system, and using the xml-rpc api... can I create tickets directly in the 'fixed' or any non-new state? |
| [11:27:25] |
* |
RichiH has joined #trac |
| [11:27:59] |
<RichiH> |
is it possible to have one trac installation maintain multiple svn repositories, some of which might even be hidden from the general public? |
| [11:29:32] |
* |
pombreda has joined #trac |
| [11:29:43] |
<retracile> |
RichiH: not that I know of. You can go the other way, that is, multiple Tracs for a svn repo. |
| [11:29:50] |
* |
pombred1 has quit IRC |
| [11:30:12] |
* |
joel__ has joined #trac |
| [11:30:23] |
* |
joel__ is now known as joel |
| [11:30:29] |
<RichiH> |
retracile: hmm, pity |
| [11:30:49] |
<retracile> |
RichiH: What are you trying to accomplish? |
| [11:31:35] |
<RichiH> |
retracile: we want to use trac for several projects which are distinct. some of them will not be public while others will be |
| [11:32:00] |
<retracile> |
RichiH: Look at coderanger's tracforge |
| [11:32:34] |
<evil_twin> |
New news from t.e.o: Ticket #5113 (defect closed): ERROR PAGE: view from milestone broken <http://trac.edgewall.org/ticket/5113#comment:1> || Ticket #5113 (defect created): ERROR PAGE: view from milestone broken <http://trac.edgewall.org/ticket/5113> |
| [11:32:38] |
* |
__ionut__ has joined #trac |
| [11:34:44] |
* |
pradeep has quit IRC |
| [11:35:18] |
<joel> |
Hi. Anyone discovered this when using the TracAdmin plugin -- that when I try >>trac-admin.py permission list uesrname |
| [11:35:20] |
<joel> |
i get the following error: "unknown syntax username' |
| [11:35:21] |
<joel> |
|
| [11:36:35] |
<RichiH> |
An error occurred while loading http://tracforge.net/: |
| [11:36:38] |
<RichiH> |
Could not connect to host tracforge.net. |
| [11:36:52] |
<RichiH> |
retracile: does not appear to be too reliable ;) |
| [11:36:56] |
<RichiH> |
scnr |
| [11:38:10] |
<retracile> |
RichiH: wrong tracforge; it's http://trac-hacks.org/wiki/TracForgePlugin |
| [11:39:07] |
<retracile> |
RichiH: I haven't used it, but coderanger is the author, and he hangs out here and is very responsive to questions/suggestions/etc. |
| [11:40:07] |
* |
pombreda has quit IRC |
| [11:40:19] |
<pisi> |
RichiH: I made a small non-trac-forge plugin for 0.11 only as well. th:TracWsgiPlugin |
| [11:40:38] |
<pisi> |
It checks for WIKI_VIEW permission before showing a project in the project index. |
| [11:41:26] |
<pisi> |
or well, that's a different story. |
| [11:43:42] |
<joel> |
retactile.. any thought on my question? Everything seems to be working - except when I use a command line. |
| [11:44:36] |
<retracile> |
joel: it looks like you forgot the trac environment argument to trac-admin. |
| [11:44:52] |
* |
d0rt has joined #trac |
| [11:46:08] |
<joel> |
i tried it from inside the project folder like this |
| [11:46:10] |
<joel> |
d:/prjoect/tracfolder>trac-admin.py permission list username |
| [11:46:12] |
<joel> |
Same error message. |
| [11:47:15] |
<retracile> |
No, the project folder is an argument to the command. |
| [11:49:41] |
* |
pisi has left #trac |
| [11:49:45] |
* |
stalker` has quit IRC |
| [11:50:52] |
<joel> |
Oh.. I'm a idiot today.. duh! |
| [11:51:44] |
* |
pombreda has joined #trac |
| [11:57:29] |
<idnar> |
hmm, so I installed the OpenIDAuth plugin from http://trac-hacks.org/svn/openidplugin |
| [11:57:36] |
<idnar> |
why doesn't anything show up under webadmin -> plugins? |
| [11:57:44] |
<idnar> |
(I installed it with easy_install) |
| [12:00:20] |
<idnar> |
oh, no etree |
| [12:01:08] |
<idnar> |
and other stuff missing, too |
| [12:02:42] |
<evil_twin> |
New news from t.e.o: TracDev edited by cboos <http://trac.edgewall.org/wiki/TracDev> |
| [12:13:42] |
* |
xmt has joined #trac |
| [12:15:23] |
<xmt> |
I have problems with replacing the header logo. are there any known typical bloody noob mistakes concerning customized logos? |
| [12:16:29] |
<xmt> |
i have it in /var/www/mysite.com/htdocs/myproject/trac/my_banner.png |
| [12:16:54] |
<xmt> |
and trac.ini contains: src = common/my_banner.png |
| [12:17:43] |
<xmt> |
noone? |
| [12:22:24] |
* |
airrob has joined #trac |
| [12:22:50] |
<airrob> |
If anybody can help me get my post-commit hook working on Dreamhost, I would be more than appreciative. |
| [12:23:26] |
<airrob> |
It doesn't seem to work at all. |
| [12:23:46] |
* |
shwag has joined #trac |
| [12:23:50] |
<coderanger> |
RichiH: That feature actually just got added last night |
| [12:24:03] |
<coderanger> |
Look at the section (in the wiki) on the project index |
| [12:24:11] |
<shwag> |
Is there a way for me to have two versions of trac installed at the same time? Seems like it gets overwritten in /usr/lib/python/site-packages/trac |
| [12:24:13] |
* |
jimmy-james has joined #trac |
| [12:24:30] |
<airrob> |
coderanger: i fixed the fastcgi problem by running the DreamTracInstall.sh script again after removing everything |
| [12:24:35] |
<coderanger> |
shwag: You will need to use different --prefixes for them |
| [12:24:38] |
<airrob> |
now fastcgi works and i cant get the post commit hook to |
| [12:25:58] |
<shwag> |
coderanger: not sure how to use --prefixes |
| [12:26:45] |
<coderanger> |
shwag: When you run the install, python setup.py install --prefix=/usr/local/trac1 |
| [12:26:51] |
<coderanger> |
or something |
| [12:27:17] |
<coderanger> |
you will need to take care of adding the right folders to $PYTHONPATH though |
| [12:29:31] |
* |
joel has quit IRC |
| [12:32:24] |
* |
d0rt has quit IRC |
| [12:32:50] |
<evil_twin> |
New news from t.e.o: TracDev/DatabaseSchema edited by cboos <http://trac.edgewall.org/wiki/TracDev/DatabaseSchema> || TracDev/DatabaseSchema edited by cboos <http://trac.edgewall.org/wiki/TracDev/DatabaseSchema> || TracDev/DatabaseSchema edited by cboos <http://trac.edgewall.org/wiki/TracDev/DatabaseSchema> || trac-schema-v2.png attached to TracDev/DatabaseSchema <http://trac.edgewall.org/attachment/wiki/TracDev/DatabaseSchema/trac-schema-v2.png> || trac-schema-v2.pdf attached to TracDev/DatabaseSchema <http://trac.edgewall.org/attachment/wiki/TracDev/DatabaseSchema/trac-schema-v2.pdf> |
| [12:33:28] |
<shwag> |
coderanger: did that, and then changed my python handler in the apache config, but I just get a 500 server error. |
| [12:33:49] |
<coderanger> |
What do you mean, "changed the handler:? |
| [12:34:06] |
<coderanger> |
And did you put the new folder on PythonPath? |
| [12:34:08] |
<RichiH> |
@coderangerso it is in trac main, now? |
| [12:34:08] |
<evil_twin> |
RichiH: Error: "coderangerso" is not a valid command. |
| [12:34:11] |
<RichiH> |
brb |
| [12:34:21] |
<coderanger> |
RichiH: No, its just a plugin |
| [12:35:03] |
<lisppaste5> |
kopernikus pasted "small patch for tracforge" at http://paste.lisp.org/display/39474 |
| [12:36:17] |
<coderanger> |
kopernikus: The first one is a non-issue because I am going to change the behavior to be based on the project list, the current PARENT_DIR is just a proof-of-concept |
| [12:36:19] |
* |
d0rt has joined #trac |
| [12:36:22] |
* |
airrob has quit IRC |
| [12:38:05] |
<shwag> |
coderanger: i did --prefix=/usr/lib/python2.4/site-packages/trac_new |
| [12:38:59] |
<coderanger> |
shwag: You don't want to do that |
| [12:38:59] |
<coderanger> |
You want to put it at /usr/local/trac_new or something |
| [12:39:20] |
<coderanger> |
Then add /usr/local/trac_new/lib/python2.4/site-packages to PythonPath |
| [12:40:33] |
<shwag> |
where is the pythonpath |
| [12:40:44] |
<coderanger> |
You are using mod_python, right? |
| [12:40:51] |
<shwag> |
coderanger: yah |
| [12:40:56] |
<coderanger> |
in the apache config: |
| [12:41:01] |
<shwag> |
ok |
| [12:41:17] |
<coderanger> |
PythonPath "['/usr/local/trac_new/lib/python2.4/site-packages'] + sys.path" |
| [12:41:19] |
* |
d0rt has quit IRC |
| [12:45:27] |
* |
d0rt has joined #trac |
| [12:45:32] |
* |
boorad has quit IRC |
| [12:47:27] |
<idnar> |
zooko: are your tracdarcs patches available somewhere? |
| [12:47:40] |
* |
sr has left #trac |
| [12:54:18] |
* |
bryanl has quit IRC |
| [12:56:59] |
* |
airrob has joined #trac |
| [12:57:28] |
<airrob> |
Can anybody help me set up the post-commit hook? I put the file http://trac.edgewall.org/browser/tags/trac-0.9.6/contrib/trac-post-commit-hook into a file called post-commit, but it doesn't close the ticket when I put "Fixes 1" |
| [12:59:25] |
<warjets> |
fixed #1 |
| [12:59:25] |
* |
oUtlaw- has joined #trac |
| [12:59:27] |
<warjets> |
er fixes #1 |
| [12:59:41] |
<warjets> |
read the script, it tells you |
| [12:59:42] |
<RichiH> |
coderanger: is it fit for production use, though? |
| [12:59:56] |
<oUtlaw-> |
I have a ticket, that has some text in it that looks like this: Line 1: <%@ ... and now, I can't edit, comment or delete the ticket |
| [13:00:00] |
<oUtlaw-> |
is there a way to fix this? |
| [13:01:02] |
* |
airrob has quit IRC |
| [13:03:16] |
* |
icebrian has quit IRC |
| [13:03:31] |
<shwag> |
I get the error, (The Trac Environment needs to be upgraded. Run trac-admin /var/tracnew/gnm upgrade") |
| [13:03:38] |
<shwag> |
but then I get this... sudo trac-admin /var/tracnew/gnm upgrade |
| [13:03:38] |
<shwag> |
Database is up to date, no upgrade necessary. |
| [13:07:29] |
<oUtlaw-> |
how can I delete a comment on a ticket manually? |
| [13:07:31] |
<oUtlaw-> |
db is sqlite |
| [13:07:37] |
<oUtlaw-> |
its corrupting the ticket |
| [13:08:01] |
* |
tesst has joined #trac |
| [13:08:04] |
<tesst> |
hello |
| [13:08:36] |
<tesst> |
could someone help me with Trac's installation? Unfortunately the TracInstall wiki page is not very friendly to newbies |
| [13:09:35] |
<tesst> |
I already have the following installed: Python 2.4.4, Python 2.4 Trac 10.3.1, Python 2.4 mod_python-3.3.1, and Python 2.4 clearsilver-0.9.14 |
| [13:09:50] |
<tesst> |
I also have Apache and MySQL running |
| [13:09:58] |
<tesst> |
what now? |
| [13:10:27] |
<retracile> |
tesst: The OS or distribution you're using is also an important data-point. |
| [13:10:45] |
<oUtlaw-> |
any suggestions on how to edit a sqlite db record? |
| [13:10:46] |
<tesst> |
my bad...Windows XP SP2 |
| [13:11:05] |
<tesst> |
I thought the "newbie" part gave it away |
| [13:11:29] |
<tesst> |
I got Bugzilla to work, I thought Trac would be the same level of difficulty |
| [13:12:08] |
<tesst> |
It says this: Like most Python programs, the Trac Python package is installed by running the following command at the top of the source directory: "$ python ./setup.py install" |
| [13:12:18] |
<coderanger> |
RichiH: No idea, all depends on how confident you are in my skills I suppose. I can tell you I use it on some reasonably used sites |
| [13:12:32] |
<tesst> |
where exactly do I enter this command? It worked on neither the command prompt nor the Python prompt. I eneded up running the py file manually by finding it then executing |
| [13:13:00] |
<coderanger> |
shwag: Make sure you add the new path to $PYTHONPATH in your shell as well |
| [13:13:31] |
<coderanger> |
tesst: What happened what you ran it in cmd.exe? |
| [13:13:47] |
<tesst> |
"$ is not an internal command" |
| [13:13:50] |
<retracile> |
tesst: If you haven't seen http://trac.edgewall.org/wiki/TracOnWindows it might help... but I won't be able to. |
| [13:14:00] |
<coderanger> |
tesst: $ is the prompt in Unix-land |
| [13:14:07] |
<tesst> |
ah, I didn't see that |
| [13:14:09] |
<coderanger> |
tesst: Like the '>' in cmd.exe |
| [13:14:34] |
<tesst> |
I'll get the all-in-one installer...you should link it in the documentation guys :P |
| [13:15:15] |
<tesst> |
should I uninstall everything else before installing this package? |
| [13:15:41] |
<coderanger> |
oUtlaw-: DELETE FROM ticket_change WHERE ticket=<ticket number> AND field = 'comment' AND newvalue LIKE '%<pattern>%'; |
| [13:16:01] |
<coderanger> |
oUtlaw-: Does ticketdelete not let you delete it though? |
| [13:16:15] |
<oUtlaw-> |
oh |
| [13:16:17] |
<oUtlaw-> |
let me try that |
| [13:17:55] |
<oUtlaw-> |
damn |
| [13:17:58] |
<oUtlaw-> |
forgot all about that plugin |
| [13:18:00] |
<oUtlaw-> |
thanks |
| [13:18:06] |
* |
oUtlaw- has quit IRC |
| [13:18:50] |
* |
tesst has quit IRC |
| [13:35:16] |
* |
jhulten has joined #trac |
| [13:41:38] |
* |
d0rt has quit IRC |
| [13:51:24] |
* |
airrob has joined #trac |
| [13:52:30] |
<airrob> |
My post-commit hook isn't working. I've set it up like the Trac hook says. but it's not working. Is there a log I can check? |
| [13:55:31] |
* |
Marlun has joined #trac |
| [14:03:20] |
<evil_twin> |
New news from t.e.o: Ticket #5115 (defect created): Error when marking as spam <http://trac.edgewall.org/ticket/5115> |
| [14:03:45] |
* |
cfedde has joined #trac |
| [14:04:00] |
<airrob> |
Running "env - ./post-commit /svn/test 7" gives me "No such file or directory" |
| [14:05:36] |
<cfedde> |
coderanger: have you had any feedback on your MasterTicketsPlugin? does it seem sufficient after a month of use? |
| [14:05:51] |
<airrob> |
Taken from the FAQ. |
| [14:14:32] |
* |
Marlun has quit IRC |
| [14:15:45] |
<airrob> |
Can anybody help me get this post-commit hook to work? |
| [14:16:31] |
<airrob> |
I'm pulling my hair out. Figuratively. |
| [14:18:27] |
* |
vrcngtrx has joined #trac |
| [14:18:49] |
<vrcngtrx> |
is anyone here? |
| [14:19:03] |
* |
clark has joined #trac |
| [14:19:07] |
<clark> |
hello |
| [14:19:13] |
<vrcngtrx> |
I'm looking for coderanger |
| [14:19:19] |
<clark> |
I am looking for help finishing the install of trac |
| [14:19:40] |
<clark> |
I have the following message : %s does not appear to be a Subversion repository. |
| [14:19:49] |
<clark> |
but I am sure the repository is ok |
| [14:20:07] |
<clark> |
the different solutions i have seen on the web don't help me :( |
| [14:20:16] |
<clark> |
anybody has any ideas ? |
| [14:20:54] |
<tag> |
vim should have a visual block undo |
| [14:21:17] |
<tag> |
where it jumps to the undo branch that last modified anything selected by the current visual block |
| [14:21:20] |
<tag> |
and undoes it |
| [14:21:21] |
<tag> |
that would be pipm |
| [14:21:22] |
<tag> |
pimp |
| [14:21:34] |
<matt_good> |
tag: huh? |
| [14:21:51] |
<matt_good> |
wrong channel? |
| [14:22:01] |
<tag> |
I'm just babbling |
| [14:22:12] |
<tag> |
it's still a good idea |
| [14:22:46] |
<tag> |
matt_good: hey I heard you were working on some code review system |
| [14:22:55] |
<airrob> |
Where is python installed on Dreamhost? |
| [14:23:03] |
<matt_good> |
clark: you're sure it's the repository, not a working copy? |
| [14:23:10] |
<airrob> |
Specifically after following this guide: http://natmaster.com/articles/installing_trac_0.10.php |
| [14:23:11] |
<clark> |
yes |