| [00:02:32] |
* |
tuxipuxi has joined #trac |
| [00:24:12] |
* |
tuxipuxi has quit IRC |
| [00:25:57] |
* |
peppelorum has joined #trac |
| [00:44:00] |
* |
Bart` has joined #trac |
| [00:46:50] |
* |
Semhirage_ has joined #trac |
| [00:48:02] |
* |
ryepup_ has joined #trac |
| [00:50:02] |
* |
d5rt has quit IRC |
| [00:50:02] |
* |
mac__ has quit IRC |
| [00:50:02] |
* |
msoares has quit IRC |
| [00:50:02] |
* |
ryepup has quit IRC |
| [00:50:02] |
* |
BrianHV has quit IRC |
| [00:50:03] |
* |
jacobat has quit IRC |
| [00:50:03] |
* |
Epcylon has quit IRC |
| [00:50:03] |
* |
dilinger has quit IRC |
| [00:50:03] |
* |
Mozillion has quit IRC |
| [00:50:03] |
* |
mitsuhiko has quit IRC |
| [00:50:03] |
* |
ged has quit IRC |
| [00:50:03] |
* |
brettcar has quit IRC |
| [00:50:03] |
* |
chillywilly has quit IRC |
| [00:50:03] |
* |
Semhirage has quit IRC |
| [00:50:10] |
* |
ryepup_ is now known as ryepup |
| [00:50:53] |
* |
Epcylon has joined #trac |
| [00:51:09] |
* |
BrianHV has joined #trac |
| [00:51:28] |
* |
brettcar has joined #trac |
| [00:51:45] |
* |
chillywilly has joined #trac |
| [00:54:34] |
* |
jacobat has joined #trac |
| [00:54:55] |
* |
dilinger has joined #trac |
| [00:55:21] |
* |
Ricc has joined #trac |
| [00:58:32] |
* |
agile has quit IRC |
| [01:02:16] |
* |
mitsuhiko has joined #trac |
| [01:06:44] |
* |
msoares has joined #trac |
| [01:06:48] |
* |
d5rt has joined #trac |
| [01:08:14] |
* |
Bart` has left #trac |
| [01:10:31] |
* |
Hydra^WRK has quit IRC |
| [01:12:22] |
* |
Riccc has quit IRC |
| [01:13:50] |
* |
klando has joined #trac |
| [01:14:24] |
* |
agile has joined #trac |
| [01:14:35] |
* |
Hydra_ has joined #trac |
| [01:18:16] |
* |
Semhirage_ is now known as Semhirage |
| [01:31:36] |
* |
ValiSystM has joined #trac |
| [02:15:22] |
* |
cprov has joined #trac |
| [02:22:52] |
<vmx> |
is it possible to use a subversion repository which is not on the same server but available via http(s)? |
| [02:25:08] |
* |
s0undt3ch has quit IRC |
| [02:25:50] |
* |
cprov has quit IRC |
| [02:26:27] |
<vmx> |
ah sorry i should have ask google first, i found the corresponding ticket |
| [02:39:24] |
* |
Blackhex has joined #trac |
| [02:55:23] |
* |
mac__ has joined #trac |
| [02:56:25] |
* |
tenshiKur0 has joined #trac |
| [03:00:25] |
<spike> |
File "/usr/lib/python2.4/site-packages/trac/Environment.py", line 71, in verify |
| [03:00:26] |
<spike> |
assert fd.read(26) == 'Trac Environment Version 1' |
| [03:00:26] |
<spike> |
AssertionError |
| [03:00:33] |
<spike> |
I get that error when trying to run tracd |
| [03:00:44] |
<spike> |
it's an old version, .8.4, on ubuntu breezy |
| [03:00:56] |
<spike> |
any idea what the problem could be? |
| [03:03:20] |
* |
s0undt3ch has joined #trac |
| [03:03:52] |
<Blackhex> |
s0undt3ch: hi, have you already started workning on DiscussionPlugin? |
| [03:06:05] |
<s0undt3ch> |
Blackhex: nope, I'll be migrating my server to vservers in the next few days, then minor things on wikitemplates, and the yes, I believe I'll start working on it |
| [03:06:38] |
<Blackhex> |
s0undt3ch: I'm going to start tonight. |
| [03:06:49] |
<s0undt3ch> |
great :) |
| [03:07:21] |
<s0undt3ch> |
there have been a few ppl askinb about if the plug was still being developed |
| [03:08:21] |
<Blackhex> |
so we can officially say yes .-) |
| [03:09:09] |
<s0undt3ch> |
gonna use trac-hacks repo? |
| [03:09:44] |
<Blackhex> |
I don't have access ritght |
| [03:09:48] |
<s0undt3ch> |
I was thinking of setting up a standalone trac env for discussion plugin |
| [03:10:28] |
<Blackhex> |
I'll be testing on my vserver and lately on my private server. |
| [03:11:24] |
<s0undt3ch> |
you use vservers too? |
| [03:11:54] |
<s0undt3ch> |
ie, linux-vserver.org |
| [03:12:02] |
<s0undt3ch> |
or the like? |
| [03:12:12] |
<Blackhex> |
have to, because I am a student and a have to move from hostel with great connection to home |
| [03:12:20] |
<Blackhex> |
vserver.pipni.cz |
| [03:13:01] |
<s0undt3ch> |
oops, private access :) |
| [03:13:22] |
<Blackhex> |
vserver.pipni.cz it's free but little slow |
| [03:14:10] |
<s0undt3ch> |
not the kind of vserver I was thinking about |
| [03:14:19] |
<s0undt3ch> |
have a look, linux-vserver.org |
| [03:14:25] |
<Blackhex> |
My connection si 1Gbit for now but i have only 100Mbit card :-) |
| [03:14:34] |
<Blackhex> |
I will. |
| [03:14:37] |
<s0undt3ch> |
at home? |
| [03:14:41] |
<Blackhex> |
at hostel |
| [03:14:45] |
<s0undt3ch> |
oh |
| [03:17:25] |
<Blackhex> |
linux-vserver.org is homepage of vserver projecte, isn't it? |
| [03:17:38] |
<s0undt3ch> |
yes |
| [03:17:48] |
<Blackhex> |
but vserver.pipni.cz is proveder of virtual machinech running vserver |
| [03:18:00] |
<s0undt3ch> |
:) |
| [03:18:07] |
<s0undt3ch> |
then I guess it's the same |
| [03:18:23] |
<s0undt3ch> |
I'll be running that on my own server in a few days |
| [03:18:52] |
<Blackhex> |
I see, I thought that linux-vserver.org is providing machines too. |
| [03:19:44] |
<s0undt3ch> |
nope, the provide the soft that alows running serveral independant servers on only one machine |
| [03:21:50] |
* |
imajes has joined #trac |
| [03:21:54] |
<Blackhex> |
ok |
| [03:23:36] |
<s0undt3ch> |
bbl |
| [03:43:42] |
* |
easyBush has joined #trac |
| [03:51:14] |
* |
oferw has joined #trac |
| [03:54:10] |
* |
sam`_ has joined #trac |
| [03:55:23] |
* |
sam` has quit IRC |
| [03:55:28] |
* |
sam`_ is now known as sam` |
| [03:56:29] |
<spike> |
eeer, is the metanav bar the one containing "Login Settings Help About" items ? |
| [03:59:01] |
<tic> |
so it would seem! |
| [03:59:19] |
* |
easyBush_ has quit IRC |
| [04:02:44] |
<spike> |
eeer, so again it's trac internal stuff the bar they have under the logo, eh? |
| [04:03:14] |
<spike> |
I need that too, to link other stuff that belogns to other part of the website |
| [04:19:21] |
* |
imajes has quit IRC |
| [04:25:55] |
* |
oferw has quit IRC |
| [04:28:20] |
* |
jjb_lyceum has quit IRC |
| [04:34:24] |
* |
tenshiKur0 has quit IRC |
| [04:35:30] |
* |
robs0r has joined #trac |
| [04:36:28] |
* |
angrymike has joined #trac |
| [04:51:49] |
* |
robs has quit IRC |
| [04:51:49] |
* |
robs0r is now known as robs |
| [04:55:04] |
* |
Mozillion has joined #trac |
| [05:10:12] |
* |
jjb_lyceum has joined #trac |
| [05:10:38] |
* |
Synapse has joined #trac |
| [05:12:15] |
* |
chandlerc has quit IRC |
| [05:15:27] |
* |
Synapse has quit IRC |
| [05:16:05] |
* |
Synapse has joined #trac |
| [05:25:54] |
* |
_idostyle has joined #trac |
| [05:28:11] |
* |
MasterC has joined #trac |
| [05:32:55] |
* |
MasterC has quit IRC |
| [05:33:50] |
* |
MasterC has joined #trac |
| [05:33:59] |
* |
Blackhex has left #trac |
| [05:36:00] |
* |
idostyle has quit IRC |
| [05:36:10] |
* |
_idostyle is now known as idostyle |
| [05:36:33] |
* |
stretch has joined #trac |
| [05:36:38] |
* |
tuxipuxi has joined #trac |
| [05:38:23] |
* |
chandlerc has joined #trac |
| [05:43:15] |
<s0undt3ch> |
pacopablo: ping |
| [05:44:27] |
<s0undt3ch> |
pacopablo: http://www.gentoo.org/proj/en/devrel/user-relations/summerofcode/ |
| [05:47:03] |
* |
Ricc has quit IRC |
| [05:47:06] |
* |
stretch has quit IRC |
| [05:47:19] |
* |
Ricc has joined #trac |
| [05:58:53] |
* |
agile has quit IRC |
| [06:03:02] |
* |
milk-it has joined #trac |
| [06:03:15] |
* |
MasterC has quit IRC |
| [06:05:22] |
* |
MasterC has joined #trac |
| [06:14:13] |
* |
stretch has joined #trac |
| [06:15:05] |
* |
ryepup has quit IRC |
| [06:16:10] |
<vmx> |
has anyone tried using svk for mirroring a remote repository to get it work with trac? |
| [06:18:54] |
* |
jjb_lyce1m has joined #trac |
| [06:20:55] |
* |
Synapse_ has joined #trac |
| [06:25:22] |
* |
jjb_lyceum has quit IRC |
| [06:25:56] |
<alect> |
vmx: yes, people have successfully done that |
| [06:29:30] |
<cmlenz> |
dilinger: here? |
| [06:33:20] |
* |
coderanger_ has joined #trac |
| [06:33:42] |
<coderanger_> |
Morning y'all |
| [06:39:11] |
* |
mat|work has quit IRC |
| [06:40:52] |
* |
ian_cr03 has joined #trac |
| [06:41:55] |
* |
agile has joined #trac |
| [06:43:04] |
* |
Synapse has quit IRC |
| [06:43:22] |
<alect> |
hey coderanger |
| [06:43:35] |
* |
knight_ has quit IRC |
| [06:47:44] |
<ian_cr03> |
I'm having a really weird authentication problem with Trac 0.9.5-1 (from debian testing) and Apache 2.0.55-4 |
| [06:48:15] |
<ian_cr03> |
It seems like my browser's auth cookie just keeps getting deleted. |
| [06:48:57] |
<ian_cr03> |
but the row is still in the sqlite database. |
| [06:50:02] |
<ian_cr03> |
(using mod_python) |
| [06:50:28] |
<ian_cr03> |
anyone ever heard of this? just getting randomly logged off? i searched the trac tickets and didn't find anything relevant. |
| [06:50:43] |
<ian_cr03> |
I can set up a test account for someone if anyone is interested in seeing the problem. |
| [06:52:01] |
<ian_cr03> |
oh bloody hell. i think I got it. NAT problems. I look like I'm coming from two IPs. |
| [06:52:16] |
<ian_cr03> |
Funny how you get inspiration when you describe the problem to someone else. |
| [06:53:43] |
* |
mat|work has joined #trac |
| [07:08:26] |
* |
ryepup has joined #trac |
| [07:14:31] |
* |
ian_cr03 has quit IRC |
| [07:15:49] |
<jeoff> |
did anyone else notice that the trac-post-commit-hook script is broken in trunk? |
| [07:16:20] |
<jeoff> |
Traceback (most recent call last): |
| [07:16:20] |
<jeoff> |
File "./trac-post-commit-hook", line 77, in ? |
| [07:16:21] |
<jeoff> |
from trac.Notify import TicketNotifyEmail |
| [07:16:21] |
<jeoff> |
ImportError: No module named Notify |
| [07:16:53] |
<jeoff> |
Notify.py got refactored away, but the trac-post-commit-hook still references it... |
| [07:21:21] |
<jeoff> |
ok, I see that ticket #2806 has a patch for this |
| [07:21:40] |
* |
klasstek has joined #trac |
| [07:31:22] |
<dilinger> |
cmlenz: what's up? |
| [07:31:44] |
<cmlenz> |
howdy... did you have a chance to test the account on pec? |
| [07:32:01] |
<cmlenz> |
and what's up with the mysql stuff ;-) |
| [07:38:39] |
* |
dstanek has joined #trac |
| [07:39:06] |
* |
whitelynx|firest has joined #trac |
| [07:39:33] |
<dstanek> |
i need to require registration to help stop spam...is there any documentation on how to do this |
| [07:43:02] |
* |
DaveHope has joined #trac |
| [07:43:24] |
<DaveHope> |
Quick N00b question. As a user, how do I go about registering in trac so as to file a bug report to a projetc ? |
| [07:44:45] |
* |
jjb_lyce1m has quit IRC |
| [07:45:03] |
* |
DaveHope has left #trac |
| [07:51:57] |
* |
jjb_lyceum has joined #trac |
| [08:01:00] |
<cmlenz> |
dstanek: if using the trac dev version is an option, checkout the SpamFilter plugin |
| [08:01:34] |
<dstanek> |
cmlenz: right now i am stuck on an older version |
| [08:02:39] |
* |
whitelynx|firest has quit IRC |
| [08:03:16] |
* |
whitelynx|firest has joined #trac |
| [08:07:23] |
* |
MasterC has quit IRC |
| [08:18:43] |
* |
honda_S2000 has joined #trac |
| [08:19:26] |
<honda_S2000> |
hi can anyone tell me where the ticket properties elements such as assign to milestone keywords are defined?? |
| [08:19:53] |
* |
ValiSystM has quit IRC |
| [08:20:07] |
* |
ValiSystM has joined #trac |
| [08:21:40] |
* |
jjb_lyceum has quit IRC |
| [08:21:58] |
<honda_S2000> |
can anyone help?? |
| [08:24:14] |
<honda_S2000> |
is there to put in a select box all active tickets? |
| [08:24:25] |
<honda_S2000> |
*any way to put |
| [08:30:04] |
<coderanger_> |
honda_S2000: What do you mean? |
| [08:31:13] |
<honda_S2000> |
i working in a very simple requirement management |
| [08:32:10] |
<honda_S2000> |
and i want to list in a drop down box all active tickets so requirement can depend on them |
| [08:32:20] |
<coderanger_> |
No |
| [08:32:33] |
<coderanger_> |
That cannot be done in the current system without lots of hacking |
| [08:32:43] |
* |
rodolfo has joined #trac |
| [08:32:52] |
<honda_S2000> |
hacking such as... |
| [08:32:54] |
<rodolfo> |
hi |
| [08:33:10] |
<coderanger_> |
You would have to rework the newticket and ticket modules |
| [08:34:03] |
<honda_S2000> |
hummm ok |
| [08:35:02] |
<honda_S2000> |
and i could i insert a new field such as realizes the following requirement and i could i list there all tickets with type requirement |
| [08:35:04] |
<honda_S2000> |
?? |
| [08:36:22] |
* |
jjb_lyceum has joined #trac |
| [08:39:21] |
* |
rodolfo has quit IRC |
| [09:02:44] |
* |
s0undt3c1 has joined #trac |
| [09:06:06] |
* |
s0undt3ch has quit IRC |
| [09:06:15] |
* |
s0undt3c1 is now known as s0undt3ch |
| [09:13:47] |
* |
stevegt has quit IRC |
| [09:15:13] |
<pacopablo> |
honda_S2000: have you taken a look at the workflow branch? |
| [09:15:47] |
<honda_S2000> |
yes but i find it quite confusing and i'm kind in a hurry to do that |
| [09:16:01] |
<honda_S2000> |
my boss is killing me to do that |
| [09:16:07] |
<pacopablo> |
dstanek: check out the account manager plugin on track-hacks.org |
| [09:19:02] |
* |
stretch_ has joined #trac |
| [09:34:13] |
* |
stretch has quit IRC |
| [09:37:24] |
* |
danbeck has joined #trac |
| [09:45:54] |
* |
coderanger_ has quit IRC |
| [09:49:34] |
* |
tenshiKur0 has joined #trac |
| [09:49:41] |
* |
ged has joined #trac |
| [09:50:38] |
<jeoff> |
any Component gurus handy? |
| [09:51:04] |
<jeoff> |
i'm trying to get my Component to also have its own thread, but not having the best luck |
| [09:51:34] |
<pacopablo> |
what do you mean? |
| [09:51:47] |
<pacopablo> |
Component as in plugin? |
| [09:51:55] |
<pacopablo> |
and you're trying to spawn a thread? |
| [09:51:56] |
<jeoff> |
yep |
| [09:52:37] |
<jeoff> |
i'm writing an ITicketChangeListener plugin that takes the ticket changes and sends them elsewhere on the web via http |
| [09:53:03] |
<jeoff> |
but sometimes it holds up the ticket form processing, so I created a queue |
| [09:53:37] |
<jeoff> |
so the component is supposed to read from the queue in a separate thread |
| [09:54:40] |
<jeoff> |
but the thread doesn't seem to be starting... |
| [09:55:09] |
<jeoff> |
so i thought, if anyone else has attempted threading in a Component then they might know some of the caveats |
| [09:56:41] |
<jeoff> |
i realize it won't work in CGI, but i hoped in mod_python it would... |
| [09:57:15] |
* |
otaku42 is now known as otaku42_away |
| [10:06:36] |
* |
s0undt3c1 has joined #trac |
| [10:10:23] |
* |
hazza has joined #trac |
| [10:17:41] |
<pacopablo> |
take a look at the PooledConnection in trac.db.somethign |
| [10:17:54] |
<pacopablo> |
that's the only place that i know of that trac uses threads |
| [10:18:10] |
* |
honda_S2000 has quit IRC |
| [10:18:21] |
<pacopablo> |
but I've got a slight aversion to threads, so I try to stay away from them :) |
| [10:19:36] |
* |
s0undt3ch has quit IRC |
| [10:19:44] |
* |
s0undt3c1 is now known as s0undt3ch |
| [10:20:22] |
<hazza> |
Is it possible to create a custom table of contents, similar to how [[TracGuideToc]] is presented? |
| [10:21:34] |
<pacopablo> |
depends what you want. You can create your own macro, or you can use {{{!html }}} block in wiki |
| [10:22:43] |
<hazza> |
Thanks - knowing it is not a standard feature helps in looking for a solution :) |
| [10:23:08] |
<pacopablo> |
you can also look at the TOC macro on track-hacks.org |
| [10:23:13] |
<pacopablo> |
er, trac-hacks.org |
| [10:24:17] |
<hazza> |
I'm there now. There is a version for 0.9 .. I'll see if it works with 0.10-dev. |
| [10:24:31] |
<pacopablo> |
I think it does |
| [10:28:01] |
<hazza> |
TracNav is for 0.10 - I'll try that one instead :) |
| [10:30:55] |
* |
jborg has joined #trac |
| [10:32:09] |
* |
stevegt has joined #trac |
| [10:50:35] |
* |
KGtheway2B has joined #trac |
| [10:50:50] |
<KGtheway2B> |
woah |
| [10:50:52] |
<KGtheway2B> |
hello all |
| [10:51:01] |
* |
cbrake has joined #trac |
| [10:51:02] |
<KGtheway2B> |
I've got an error using gobby |
| [10:51:11] |
<KGtheway2B> |
it's: <<Protocol version mismatch>> |
| [10:51:16] |
<KGtheway2B> |
anyone have any ideas? |
| [10:51:39] |
<KGtheway2B> |
I'm behind a mega-firewall put up by my university |
| [10:52:29] |
<cbrake> |
what is the best way to require login before accessing any part of a trac installation? One solution I've tried is removing the anonymous user. Is there a better way? |
| [10:53:43] |
<hazza> |
TracNav works fine! Thanks for the pointer! |
| [10:54:42] |
<pacopablo> |
KGtheway2B: that looks like an error completely related to your firewall, and not trac |
| [10:54:52] |
<pacopablo> |
KGtheway2B: are you trying to access it via https? |
| [10:55:10] |
<pacopablo> |
cbrake: you can also set the HTTP authentication to / instead of /login |
| [10:55:32] |
<pacopablo> |
cbrake: and require a valid user. that will prompt them with a login box as soon as the hit the site |
| [10:55:45] |
<cbrake> |
pacopablo: ahh, that is much cleaner -- thanks! |
| [10:56:17] |
<KGtheway2B> |
pacopablo, I think you are right, and no, I'm not trying anything fancy |
| [10:58:45] |
<Ricc> |
Is there a way to rename a Wiki Page wiki:OriginalName -> wiki:ModifiedName ? |
| [10:59:52] |
<pacopablo> |
check out the wiki rename script on trac-hacks.org |
| [11:00:05] |
* |
hazza has left #trac |
| [11:01:58] |
<pacopablo> |
there is no built-in method for doing so |
| [11:05:45] |
* |
cmlenz has quit IRC |
| [11:07:46] |
* |
coderanger_ has joined #trac |
| [11:10:14] |
* |
tenshiKur0 has quit IRC |
| [11:11:08] |
<jeoff> |
pacopablo: yeah I looked at the threading in pool.py |
| [11:11:16] |
<jeoff> |
(just now) -- don't think it's going to work though |
| [11:11:31] |
<jeoff> |
it looks like my plugin Component gets instantiated over and over |
| [11:11:40] |
<jeoff> |
not for *every* form request, but nearly every one |
| [11:14:05] |
* |
Mozillion has left #trac |
| [11:18:04] |
* |
ValiSystM has quit IRC |
| [11:19:53] |
* |
vmx has quit IRC |
| [11:20:07] |
* |
vmx has joined #trac |
| [11:20:54] |
* |
bmcquay has joined #trac |
| [11:22:33] |
<bmcquay> |
aloha |
| [11:22:53] |
<pacopablo> |
how's the island? |
| [11:23:44] |
<bmcquay> |
great! we woke up to a tsunami warning |
| [11:23:48] |
<bmcquay> |
it |
| [11:23:54] |
<bmcquay> |
it's been downgraded since though |
| [11:24:49] |
<bmcquay> |
i'm trying to reuse the changeset functionality so i copied the files over to a different name |
| [11:25:42] |
<bmcquay> |
i can't figure out how to get trac to recognize /setchangeset/ as a valid url |
| [11:26:00] |
<bmcquay> |
i get 'No handler matched request to /setchangeset/145' |
| [11:26:03] |
<bmcquay> |
any ideas? |
| [11:26:47] |
* |
Blackhex has joined #trac |
| [11:26:59] |
<bmcquay> |
what i'm trying to do is get a unique list of files associated with a particular ticket, i've gotten a post-commit hook to insert the rev number into a db table that associated the ticket with the rev |
| [11:27:05] |
<pacopablo> |
what's your match_request method look like? |
| [11:27:25] |
<bmcquay> |
now i just need to take that list of revs per ticket and display a unique list of files that have been modified, i want to reuse the changeset code to do it |
| [11:28:26] |
<bmcquay> |
which one? there's one in auth and chrome |
| [11:28:35] |
<pacopablo> |
in your component |
| [11:28:37] |
<bmcquay> |
guessing chrome, i haven't changed any |
| [11:28:40] |
<bmcquay> |
ahh |
| [11:28:52] |
<cbrake> |
is there any way to add/remove all permissions w/ "trac-admin permission add ..." |
| [11:29:15] |
<bmcquay> |
def match_request(self, req): |
| [11:29:16] |
<bmcquay> |
match = re.match(r'/setchangeset/([0-9]+)$', req.path_info) |
| [11:29:18] |
<bmcquay> |
if match: |
| [11:29:20] |
<bmcquay> |
req.args['rev'] = match.group(1) |
| [11:29:22] |
<bmcquay> |
return 1 |
| [11:29:46] |
<bmcquay> |
cbrake: can't you just give admin permissions |
| [11:30:01] |
* |
cbrake looks ... |
| [11:30:11] |
<pacopablo> |
cbrake: I think you can remove all with * |
| [11:30:27] |
<pacopablo> |
cbrake: but I don't think there is an equivalent for adding |
| [11:31:02] |
<cbrake> |
pacopablo: "trac-admin /home/trac/biobank permission remove cbrake *" does not seem to do anything. |
| [11:31:29] |
<cbrake> |
bmcquay: ok, yeah that should work. Makes it a little simpler. |
| [11:32:56] |
* |
sam`_ has joined #trac |
| [11:33:34] |
* |
sam` has quit IRC |
| [11:33:39] |
* |
sam`_ is now known as sam` |
| [11:35:46] |
<bmcquay> |
pacopablo: any ideas on the changeset thing? all i've really done was copy the changeset files to setchangeset |
| [11:36:05] |
<bmcquay> |
i figured trac would parse the url and try to load the setchangeset file |
| [11:37:12] |
<bmcquay> |
here are some trac logs: 08:25:21 Trac[main] ERROR: No handler matched request to /setchangeset/145 |
| [11:37:14] |
<bmcquay> |
Traceback (most recent call last): |
| [11:37:15] |
<bmcquay> |
File "/usr/lib/python2.4/site-packages/trac/web/fcgi_frontend.py", line 40, in _handler |
| [11:37:17] |
<bmcquay> |
dispatch_request(req.path_info, req, env) |
| [11:37:18] |
<bmcquay> |
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request |
| [11:37:20] |
<bmcquay> |
dispatcher.dispatch(req) |
| [11:37:21] |
<bmcquay> |
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 104, in dispatch |
| [11:37:23] |
<bmcquay> |
raise TracError, 'No handler matched request to %s' % req.path_info |
| [11:40:32] |
<pacopablo> |
bmcquay: in the future use pastebin fro tracebacks and code |
| [11:40:40] |
<pacopablo> |
@faq pastebin |
| [11:40:40] |
<evil_twin> |
pacopablo: "pastebin" is http://trac.pastebin.com |
| [11:41:57] |
* |
Murphi has joined #trac |
| [11:43:54] |
<pacopablo> |
bmcquay: are you sure that your reqex is matching? |
| [11:47:13] |
* |
Murphi has left #trac |
| [11:48:11] |
<bmcquay> |
pacopablo: not 100% but its the same code as the changeset code, the only thing that's different is me adding 'set' in front of all the changesets |
| [11:49:32] |
<pacopablo> |
well, it appears that the regex matches. |
| [11:50:03] |
<pacopablo> |
I'm not sure that setting req.archs is safe |
| [11:50:14] |
<pacopablo> |
er, args |
| [11:50:35] |
* |
Murphi has joined #trac |
| [11:50:48] |
<pacopablo> |
since i think it's read only in some cases |
| [11:51:12] |
<bmcquay> |
pacobablo: it's not getting to the match_request, i tried raising an exception |
| [11:51:55] |
<bmcquay> |
i was thinking it had something to do with populate_hdf, but that doesn't mention changeset anywhere |
| [11:52:31] |
<pacopablo> |
ahh, then are you sure you're plugin is getting loaded? |
| [11:52:45] |
<pacopablo> |
do you see a line in the log saying that it's loading? |
| [11:53:37] |
<bmcquay> |
pacopablo, no i'm certain it's not being loaded, the only mention in logs to it is that there is no such handler |
| [11:54:33] |
<bmcquay> |
is there a place where plugins are registered in the env? isn't that what populate_hdf does? |
| [11:55:13] |
<pacopablo> |
no, that's not what populate_hdf is for |
| [11:55:26] |
<pacopablo> |
your plugin gets registerd via setuptools |
| [11:56:04] |
<pacopablo> |
ie, you plugin uses the "trac.plugin" extention point in your setup.py file |
| [11:56:35] |
<pacopablo> |
then when trac starts, it loads all plugins that are on the PYTHONPATH that use the trac.plugin extention point |
| [11:57:08] |
<pacopablo> |
if the plugin is in the plugins dir of your trac environment, then it is automatically enabled |
| [11:57:18] |
* |
stretch has joined #trac |
| [11:57:54] |
<pacopablo> |
if it's in the site-packages dir or someplace else on the PYTHONPATH then it is only enabled if there is a line in the trac.ini file under the [components] section |
| [11:58:05] |
<pacopablo> |
that enables it, such as: webadmin.* = enabled |
| [12:02:03] |
<bmcquay> |
ahh |
| [12:03:59] |
<bmcquay> |
i just copied changeset.py to setchangeset.py |
| [12:05:16] |
<bmcquay> |
so that isn't going to work at all |
| [12:05:33] |
<pacopablo> |
no |
| [12:05:42] |
<bmcquay> |
i need to create a plugins directory where? site-packages/trac/plugins ? |
| [12:06:05] |
<pacopablo> |
though if you use trunk, I do believe that you can simply put said file in your plugins dir of your trac environment |
| [12:06:13] |
<pacopablo> |
the plugins dir should already be created |
| [12:06:20] |
<pacopablo> |
it's part of the trac environment |
| [12:06:40] |
<pacopablo> |
part of the project, not the base install |
| [12:06:50] |
<pacopablo> |
whatever path you supplied to trac-admin initenv |
| [12:07:03] |
<bmcquay> |
gotcha |
| [12:07:15] |
<pacopablo> |
@faq plugins |
| [12:07:16] |
<evil_twin> |
pacopablo: "plugins" is http://projects.edgewall.com/trac/wiki/TracPlugins |
| [12:07:59] |
<pacopablo> |
http://projects.edgewall.com/trac/wiki/TracDev/PluginDevelopment |
| [12:08:49] |
<pacopablo> |
take a look at that last link for how to make a plugin |
| [12:09:55] |
* |
KGtheway2B has left #trac |
| [12:11:50] |
<bmcquay> |
yeah i was trying to get around having to actually go through writing a plugin and thought i could throw together a quick hack, i suppose not |
| [12:12:17] |
<pacopablo> |
well, try out putting the .py file in the plugins dir |
| [12:12:38] |
<pacopablo> |
I believe that support was added for single file plugins in dev |
| [12:12:41] |
<pacopablo> |
er, trunk |
| [12:12:46] |
<bmcquay> |
i should create another subdirectory for my plugin right |
| [12:13:02] |
<pacopablo> |
but if you're using 0.9.x, then you'll have to create a plugins |
| [12:13:15] |
<pacopablo> |
I don't hink you'll need it, just put it in the plugins dir |
| [12:13:23] |
<bmcquay> |
i'm using 0.9.4 |
| [12:13:32] |
<pacopablo> |
ahh, then you'll need to create a plugin |
| [12:13:41] |
<pacopablo> |
so create a dir and create a setup.py, etc |
| [12:13:50] |
<pacopablo> |
take a look at some of the plugins on trac-hacks.org |
| [12:14:42] |
* |
Murphi has quit IRC |
| [12:15:03] |
* |
vmx has quit IRC |
| [12:15:18] |
* |
vmx has joined #trac |
| [12:20:29] |
<bmcquay> |
what happens if my plugin adds a db table and modifies ticket.cs ? |
| [12:21:17] |
<pacopablo> |
the db modification shoudl be handled by implementing IEnvironmentSetupProvider |
| [12:21:40] |
<pacopablo> |
take a look at the tags macro for how it implements it |
| [12:21:50] |
<pacopablo> |
er, tags plugin |
| [12:22:09] |
<pacopablo> |
as far as modifying ticket.cs, that's trickier |
| [12:23:20] |
<pacopablo> |
you may be able to handle it by subclassing the module then disabling the ticket module and enabling your ticket module |
| [12:23:26] |
<pacopablo> |
see tags and account manager |
| [12:24:01] |
<pacopablo> |
the other option would be to replace the ticket.cs in the IEnvironmentSetupProvider methods |
| [12:25:01] |
<pacopablo> |
finally, you could take a look at the workflow branch to see if that may make what you're trying to do easier |
| [12:25:20] |
<pacopablo> |
as the workflow branch is aimed at allowing for easy customization of tickets |
| [12:25:28] |
<bmcquay> |
bah, this is starting to sound like a pain in my ass |
| [12:25:40] |
<bmcquay> |
i've gotten that part already working |
| [12:26:08] |
<pacopablo> |
then just use IEnvironmentSetupProvider to replace the ticket.cs |
| [12:26:11] |
<bmcquay> |
probably not how it was intended that i extend trac but it works :) |
| [12:26:40] |
<pacopablo> |
you could even package your ticket.cs with your plugin, and have it copy it to the environment templates dir |
| [12:26:42] |
<bmcquay> |
isn't there an easier way for me to hack this together without having to fuck around with plugins |