| [00:14:34] |
* |
Blackhex has joined #trac |
| [00:16:29] |
<asmodai> |
matt_good: *nod* |
| [00:16:32] |
<asmodai> |
matt_good: Interesting stuff |
| [00:23:09] |
* |
Synapse has quit IRC |
| [00:28:50] |
* |
cmlenz has joined #trac |
| [00:34:59] |
<asmodai> |
morning cmlenz |
| [00:35:08] |
<cmlenz> |
hi |
| [00:39:52] |
<asmodai> |
cmlenz: Will I make you happy with a genshi tutorial? :) |
| [00:40:24] |
<cmlenz> |
oh, not a book? bah :-P |
| [00:40:33] |
<cmlenz> |
but seriously, hell yes :-) |
| [00:42:04] |
<asmodai> |
k, since i need it myself anyway :) |
| [00:42:06] |
<coderanger> |
A porting guide would be kickass |
| [00:42:31] |
<coderanger> |
(the current one is a bit lacking) |
| [00:43:56] |
<asmodai> |
coderanger: first things first |
| [00:44:26] |
<asmodai> |
:D |
| [00:44:38] |
<coderanger> |
Heh, hows the TicketDelete stuff going? |
| [00:44:47] |
<asmodai> |
coderanger: Hitting walls, hence stuff like this. |
| [00:44:50] |
<asmodai> |
speaking of which |
| [00:44:56] |
<asmodai> |
cmlenz: that test plugin code *should* work? |
| [00:45:05] |
<asmodai> |
with the pass for the render part |
| [00:45:21] |
<cmlenz> |
um, what are you referring to? |
| [00:55:46] |
<asmodai> |
moment |
| [00:55:51] |
<asmodai> |
trying to find the paste |
| [00:56:01] |
<asmodai> |
http://paste.lisp.org/display/29146 |
| [00:56:46] |
<cmlenz> |
no, it needs to return a (template_name, data) tuple |
| [00:57:30] |
<asmodai> |
Yeah, but that's funny in a sense, since it is not even hitting the associated page yet. |
| [00:57:44] |
<asmodai> |
At first I hadn't added the render method |
| [00:57:53] |
<asmodai> |
just to register the link in the menu overview of admin |
| [00:57:58] |
<asmodai> |
it complained about the missing method |
| [00:58:27] |
<asmodai> |
added the render method, but even for the top-level admin menu it already wants the template. |
| [00:59:58] |
* |
asmodai wonders if it would moan about a None tuple |
| [01:15:17] |
<cmlenz> |
that's a bit weird indeed |
| [01:32:20] |
<asmodai> |
So am I. :) |
| [01:32:43] |
<asmodai> |
I just wanted to create a test plugin that essentially was a NOP, just register its link |
| [02:01:59] |
<asmodai> |
http://compiledmonkey.com/2006/11/02/why-software-sucks/ |
| [02:03:52] |
<Getty> |
asmodai: is it by you? |
| [02:07:25] |
<asmodai> |
Nope. |
| [02:07:36] |
<Getty> |
reading that articel is really evil |
| [02:07:47] |
<Getty> |
most parts are just "out of some reality" not the reality of good coders |
| [02:08:38] |
<Getty> |
and i lost most fun of coding when i see such programs like MediaWiki or phpmyadmin or phpBB or something like that |
| [02:08:47] |
<asmodai> |
hahah |
| [02:09:23] |
<Getty> |
its unbelievable how important stuff is based on such shitty codes |
| [02:09:49] |
<Getty> |
the phpmyadmin coder could have spared all mysql coders tons of hours, if he would thought 1 sec. about nice abstraction |
| [02:09:59] |
<Getty> |
then we could use subparts of his stuff in own applications for faster development |
| [02:10:09] |
<Getty> |
over and over, just waste of time |
| [02:11:20] |
<asmodai> |
hahah |
| [02:11:32] |
<asmodai> |
Why are you using mysql anyway? :P |
| [02:12:02] |
<Getty> |
we got 30 people in our company with tons of mysql experience |
| [02:12:06] |
<Getty> |
0 with oracle experience |
| [02:12:10] |
<Getty> |
1 with postgresql experience |
| [02:12:16] |
<Getty> |
so now tell me, which database i should use? |
| [02:12:21] |
* |
m_g has joined #trac |
| [02:12:31] |
<coderanger> |
sqlite! |
| [02:12:35] |
<Getty> |
lol ;) |
| [02:12:35] |
<coderanger> |
:) |
| [02:12:36] |
<asmodai> |
coderanger++ |
| [02:12:38] |
<misc> |
access ? |
| [02:12:46] |
<Getty> |
our company tracs runs on sqlite! ;) |
| [02:12:49] |
<misc> |
oups, you said "database" |
| [02:12:49] |
<asmodai> |
Anyone ported Trac to Access yet? |
| [02:13:04] |
<misc> |
asmodai: the reverse would be easier, imho :) |
| [02:13:30] |
<asmodai> |
heh ;) |
| [02:15:12] |
* |
asmodai still has difficulty equating mysql with a database |
| [02:16:13] |
<Getty> |
what are we mixing now? |
| [02:16:31] |
<Getty> |
i mean access is just a database interface (actually a kind of interface which is still not replaced by opensource) |
| [02:16:40] |
<Getty> |
and mysql is coming more and more a real database |
| [02:16:46] |
<Getty> |
pre 5.0 it was text-file, yes |
| [02:16:51] |
<asmodai> |
Oh, my Access comment was just a witz |
| [02:16:56] |
<Getty> |
bad one ;) |
| [02:17:02] |
<Getty> |
then please use MSSQL in the joke |
| [02:17:03] |
<Getty> |
then it fits |
| [02:17:11] |
<asmodai> |
MSSQL fits no-one. :P |
| [02:17:14] |
<Getty> |
true |
| [02:17:33] |
<Getty> |
but access is gold, i would kill for a good open source version of that |
| [02:17:48] |
<Getty> |
how many hours of php development i could have dropped with an access |
| [02:18:11] |
<Getty> |
(i build very much internal interfaces for the co-workers) |
| [02:20:30] |
* |
__ has joined #trac |
| [02:22:44] |
* |
tkp has joined #trac |
| [02:26:12] |
* |
idnar has quit IRC |
| [02:39:06] |
* |
idnar has joined #trac |
| [02:39:34] |
* |
Rica has quit IRC |
| [02:51:25] |
* |
jrydberg has joined #trac |
| [03:04:03] |
* |
Blackhex has joined #trac |
| [03:05:30] |
<Blackhex> |
coderanger: Thank you for solving that ScreenshotsPlugin ticket with sgrayban. |
| [03:06:29] |
* |
omry has quit IRC |
| [03:11:39] |
* |
omry has joined #trac |
| [03:16:42] |
* |
nextime has quit IRC |
| [03:17:50] |
<omry> |
how do I get a robots.txt file at the root of a trac project? |
| [03:18:11] |
<Getty> |
kill all mac users.... |
| [03:18:30] |
<Getty> |
please kill all mac users, now... kill steve jobs and let explode all macintosh |
| [03:19:16] |
<asmodai> |
Have I complained about PHP already today? |
| [03:19:25] |
<jesterKing> |
please, go ahead |
| [03:19:35] |
<misc> |
omry: with a alias in apache ? |
| [03:19:38] |
<asmodai> |
<whine target="php"> |
| [03:19:49] |
<omry> |
misc, thanks. |
| [03:20:25] |
<Getty> |
asmodai: if you cant use it, dont use it ;) |
| [03:20:55] |
<asmodai> |
can't use it? It's a horrendous system with an even more horrible API |
| [03:21:25] |
<Blackhex> |
asmodai: +1 |
| [03:21:29] |
<asmodai> |
Mmm, in light of that it makes sense that Microsoft is dealing with Zend now |
| [03:24:59] |
<asmodai> |
Unfortunately two negatives only make a positive in mathematics. |
| [03:26:13] |
<otaku42> |
oi... 17585 spam posts blocked on madwifi.org since october 19th. that's about 1172 posts per day, rather than the 400 i mentioned one or two days ago. doh! |
| [03:27:28] |
<asmodai> |
About 200% more. |
| [03:27:38] |
<asmodai> |
Big difference. =\ |
| [03:30:34] |
<otaku42> |
even worse... 2896 spam posts blocked yesterday, 2198 blocked on tuesday, 1950 on monday. so the number of spam that hits the site is constantly rising. |
| [03:31:38] |
<otaku42> |
asmodai: in case you're curious: http://madwifi.org/audit |
| [03:32:40] |
<asmodai> |
the logs are scary by itself |
| [03:32:45] |
<asmodai> |
5.8M :S |
| [03:32:59] |
<otaku42> |
the last one is 38M |
| [03:33:58] |
<asmodai> |
:( |
| [03:37:34] |
* |
gcbirzan has joined #trac |
| [03:42:32] |
<otaku42> |
i think today is a good day to look at the spamfilter plugin... |
| [04:28:19] |
* |
tenshiKur0 has joined #trac |
| [04:35:21] |
* |
divya has quit IRC |
| [04:36:10] |
* |
Blackhex has quit IRC |
| [04:36:58] |
* |
Wombert has joined #trac |
| [04:36:59] |
* |
Blackhex has joined #trac |
| [04:37:10] |
<Wombert> |
hmm I'm trying to get the post-commit hook running |
| [04:37:21] |
<Wombert> |
it runs without error, but the ticket isn't changed |
| [04:37:23] |
<Wombert> |
any ideas? |
| [04:40:05] |
* |
hypno has joined #trac |
| [04:40:24] |
<hypno> |
hi, trac-admin is giving me Command failed: for every command, can i make it more verbose |
| [04:40:27] |
<hypno> |
? |
| [04:42:10] |
* |
Wombert has quit IRC |
| [04:44:29] |
* |
flox has joined #trac |
| [04:47:57] |
<hypno> |
er belay that |
| [04:47:58] |
* |
hypno has left #trac |
| [04:53:15] |
* |
jborg has joined #trac |
| [04:55:15] |
<asmodai> |
hej jborg |
| [04:55:24] |
<jborg> |
howdy |
| [04:55:28] |
<asmodai> |
Hur star det till in cold Sverige? |
| [04:56:49] |
<jborg> |
Det är bara bra, själv då? |
| [04:57:51] |
<asmodai> |
Can't complain, although the weather switched from 15 C to like 5C overnight with watercold wind. |
| [04:59:13] |
<jborg> |
heh, that's nothing, it's -2 C here |
| [05:00:24] |
<asmodai> |
jeez, that cold already for you guys? |
| [05:02:54] |
<jesterKing> |
was -6�C here yesterday |
| [05:03:13] |
<jesterKing> |
now abt -5�C |
| [05:04:00] |
* |
flox has quit IRC |
| [05:04:33] |
<asmodai> |
jesterKing: Where are you? Spitsbergen? :S |
| [05:04:41] |
<jesterKing> |
Turku, Finland |
| [05:04:48] |
<asmodai> |
Terve! |
| [05:04:57] |
<jesterKing> |
terve, terve :) |
| [05:07:08] |
* |
nextime has joined #trac |
| [05:13:52] |
* |
nextime has joined #trac |
| [05:16:45] |
* |
jesterKing is now known as amino |
| [05:24:04] |
* |
Synapse has joined #trac |
| [05:25:40] |
* |
Arnar has quit IRC |
| [05:27:52] |
* |
Arnar has joined #trac |
| [05:50:48] |
* |
bethor has joined #trac |
| [05:59:28] |
* |
whitelynx has quit IRC |
| [06:06:31] |
* |
_blinx has quit IRC |
| [06:07:54] |
* |
blinx has joined #trac |
| [06:08:24] |
* |
whitelynx has joined #trac |
| [06:10:01] |
<bethor> |
hi. I want to host the subversion repos (via https) on a different system than trac. Is that possible? |
| [06:14:23] |
* |
s0undt3ch_ has joined #trac |
| [06:14:56] |
* |
cmlenz has quit IRC |
| [06:15:11] |
* |
cmlenz has joined #trac |
| [06:20:50] |
* |
d0rt has joined #trac |
| [06:23:41] |
<otaku42> |
bethor: if you want to use the browser with that svn repository, then no, that's not possible. the repository has to be local for that purpose. |
| [06:28:03] |
* |
s0undt3ch has quit IRC |
| [06:28:04] |
* |
s0undt3ch_ is now known as s0undt3ch |
| [06:29:03] |
<bethor> |
otaku42, so there is no way to host the repos on a different host? |
| [06:29:51] |
<otaku42> |
bethor: not as long as you want to allow users to browse the repository with trac. |
| [06:30:05] |
<bethor> |
okay, now I got it :-) |
| [06:30:18] |
<bethor> |
thanks. |
| [06:31:08] |
<otaku42> |
bethor: well, maybe it is possible to mount the remote location of the repos with NFS or something like that, so that trac can access the repos directly. however, i never tried such a setup and have no idea if it would work. |
| [06:32:46] |
<bethor> |
I don't trust NFS even if it would work... ;-) |
| [06:36:29] |
<otaku42> |
cmlenz: i wonder if the default values for some of the karma modifiers in the spam filtering configuration are correct. for example, "5" is given for AkismetFilterStrategy - wouldn't that push the karma for a posting that is rejected by akismet when it should lower the post's karma? |
| [06:38:15] |
* |
danbeck has joined #trac |
| [06:39:10] |
* |
jborg has quit IRC |
| [06:40:53] |
* |
xjjk has quit IRC |
| [06:51:17] |
<exarkun> |
bsddb doesn't support concurrent access over nfs |
| [06:51:22] |
<exarkun> |
I don't know if fsfs does |
| [06:51:43] |
* |
blizz has left #trac |
| [06:51:59] |
<exarkun> |
bethor: There's svnsync |
| [06:52:03] |
<exarkun> |
bethor: In svn 1.4 |
| [06:52:26] |
<exarkun> |
bethor: You can keep a copy of the repos on the trac machine up to date with it. |
| [06:52:55] |
* |
asmodai pats exarkun |
| [06:53:07] |
<bethor> |
exarkun, sounds interesting. I'll have a look...thx. |
| [06:53:40] |
<bethor> |
exarkun, one thing. I have old repos (pre-1.4). Would that work too? |
| [06:53:57] |
<exarkun> |
you'll have to upgrade your tools to 1.4 |
| [06:54:03] |
<exarkun> |
but the old repos will load |
| [06:54:10] |
<bethor> |
okay, thanks. |
| [06:54:19] |
* |
converter has joined #trac |
| [06:56:01] |
* |
chandlerc has quit IRC |
| [06:57:24] |
* |
Wombert has joined #trac |
| [07:03:41] |
* |
Wombert has left #trac |
| [07:15:50] |
* |
cmlenz_ has joined #trac |
| [07:16:04] |
* |
cmlenz has quit IRC |
| [07:20:27] |
* |
whitelynx has quit IRC |
| [07:33:27] |
* |
^BuGs^ has joined #trac |
| [07:36:41] |
* |
gcbirzan has quit IRC |
| [07:47:42] |
* |
^BuGs^ has quit IRC |
| [07:58:10] |
* |
mcella has joined #trac |
| [08:11:13] |
* |
haakonn__ has joined #trac |
| [08:14:02] |
* |
haakonn has quit IRC |
| [08:23:41] |
* |
omry has quit IRC |
| [08:24:27] |
* |
omry_ has joined #trac |
| [08:34:27] |
* |
agile has quit IRC |
| [09:03:45] |
* |
mcella_ has joined #trac |
| [09:11:59] |
* |
cobaltsixty has joined #trac |
| [09:12:21] |
<cobaltsixty> |
'lo |
| [09:14:50] |
<cobaltsixty> |
Could anyone give me an idea? I'm trying to make a single-page view of a set of documents using WikiInclude. However, TracNav is being used in each individual page, thus rendering multiple times and trashing the result. Any ideas? It seems the best way could be to add some kind of "Idempotent" (like C's #include) behaviour into TracNAV. However, i'm still a noob in trac plugins dev :) |
| [09:15:20] |
* |
blinx has quit IRC |
| [09:15:41] |
* |
blinx has joined #trac |
| [09:17:02] |
* |
mcella has quit IRC |
| [09:17:54] |
* |
sgorilla has joined #trac |
| [09:18:11] |
<matt_good> |
cobaltsixty: yeah, you could add a token to the hdf so TracNAV could detect if it'd already been used |
| [09:18:51] |
<coderanger> |
AddComment does that |
| [09:18:56] |
<cobaltsixty> |
looks a great idea |
| [09:21:09] |
* |
em-dash has joined #trac |
| [09:21:34] |
* |
em-dash has quit IRC |
| [09:22:02] |
<cobaltsixty> |
well, it seems WikiIncludeMacro could be changed (looks easier) to perhaps filter out certain lines |
| [09:22:50] |
* |
otaku42 is now known as otaku42_away |
| [09:23:18] |
* |
mcella_ has quit IRC |
| [09:24:09] |
<cobaltsixty> |
but it seems the TracNav stuff could be done as well. lemme think |
| [09:27:41] |
* |
blinx has quit IRC |
| [09:28:17] |
* |
_blinx has joined #trac |
| [09:30:57] |
<cobaltsixty> |
Where can I get more info on trac.web.wiki.api.IWikiMacroProvider? |
| [09:33:32] |
<cobaltsixty> |
i can't find hdf, and the closer looks to be 'req' on IWikiMacroProvider.render_macro. But I can't find any further info on this |
| [09:51:55] |
* |
cobaltsixty has quit IRC |
| [09:59:32] |
* |
em-dash has joined #trac |
| [10:13:48] |
* |
rbp has joined #trac |
| [10:21:10] |
* |
_blinx has quit IRC |
| [10:22:50] |
* |
matt_good has quit IRC |
| [10:29:57] |
* |
agile has joined #trac |
| [10:37:28] |
* |
bethor has quit IRC |
| [10:46:03] |
* |
em-dash has quit IRC |
| [10:58:26] |
* |
em-dash has joined #trac |
| [11:09:19] |
* |
cmlenz_ has quit IRC |
| [11:10:37] |
* |
m_g has quit IRC |
| [11:36:31] |
* |
cmlenz has joined #trac |
| [11:37:33] |
* |
jonbaer has joined #trac |
| [11:38:52] |
<jonbaer> |
hi, is there any plugin/etc where are developer can create an invoice from their submitted work in subversion/trac? |
| [11:41:23] |
<asmodai> |
Not that I know, but that doesn't say much. |
| [11:41:30] |
<asmodai> |
Have you checked the trac hacks site? |
| [11:41:37] |
<jonbaer> |
yeah im looking through it now |
| [11:42:10] |
<jonbaer> |
i had to do a detailed invoice for someone + figured it would be worth it to just print my repository commits and use that + we are using trac to monitor |
| [11:42:26] |
<jonbaer> |
would i need python skills to hook something in? |
| [11:46:39] |
<asmodai> |
if it's a plugin that's availble nope |
| [11:47:30] |
* |
jrydberg has quit IRC |
| [11:48:56] |
<jonbaer> |
i think i might just do something w/ the changeset RSS xml instead + just write a simple script |
| [11:58:41] |
* |
Guardian has joined #trac |
| [11:58:46] |
<Guardian> |
hi |
| [11:59:48] |
<Guardian> |
i upgraded from 0.9.6 to 0.10, when using 0.9.6 i installed GeneralLinkSyntax plugin but i want to stop using it. why is the "uninstall" button grayed out in webadmin ? |
| [12:04:43] |
* |
m_g has joined #trac |
| [12:05:11] |
* |
hu8 has joined #trac |
| [12:05:26] |
<asmodai> |
Guardian: rights perhaps? |
| [12:05:45] |
<asmodai> |
Guardian: alternative, just delete it from the plugins directory of your trac install |
| [12:13:51] |
<Guardian> |
hmm |
| [12:13:58] |
<Guardian> |
is there any configuration file to change ? |
| [12:14:03] |
<Guardian> |
or do i just need to remove the .egg ? |
| [12:15:44] |
* |
besonen_mobile has quit IRC |
| [12:17:19] |
<asmodai> |
just remove the egg |
| [12:17:28] |
<asmodai> |
You can check trac.ini in conf |
| [12:17:45] |
<asmodai> |
to see if there's any headings for the plugin's config |
| [12:19:11] |
<Guardian> |
ok |
| [12:20:19] |
<asmodai> |
and perhaps clean the relevant dir from the py egg cache directory :) |
| [12:26:48] |
<Guardian> |
done :) |
| [12:27:11] |
<Guardian> |
if i want to achieve an URL alias, should i use InterWiki or InterTrac ? |
| [12:28:20] |
<Guardian> |
hmm seems that InterTrac seems to only apply to other trac servers |
| [12:28:55] |
<asmodai> |
InterWiki is you want inbetween wikis |
| [12:29:15] |
<Guardian> |
yep i want to remain in the same wiki |
| [12:29:21] |
<Guardian> |
like from a ticket to a wiki page |
| [12:33:11] |
<Guardian> |
ah fuck i overwrote a wiki page :( is there a way to undo ? |
| [12:33:41] |
<asmodai> |
sure |
| [12:33:45] |
<asmodai> |
errr |
| [12:33:48] |
<asmodai> |
overwrote how though? |
| [12:33:57] |
<asmodai> |
through the website? |
| [12:34:41] |
<Guardian> |
no through wiki load |
| [12:34:51] |
<Guardian> |
but it's ok there were the db backup hopefully ! |
| [12:34:54] |
<Guardian> |
there was |
| [12:35:57] |
<asmodai> |
normally each page has a page revision list |
| [12:36:11] |
<asmodai> |
where you can delete the latest revision to go back to the page before the change |
| [12:36:17] |
<asmodai> |
not sure how much it applies in this case |
| [12:38:26] |
<Guardian> |
well it does not apply |
| [12:38:39] |
<Guardian> |
since the page was simply missing after doing wiki load |
| [12:41:50] |
<asmodai> |
:( |
| [12:42:21] |
* |
m_g has quit IRC |
| [12:43:11] |
<Guardian> |
but it's ok since i just restored the db.bak file |
| [12:44:21] |
<asmodai> |
ahh good |
| [12:55:05] |
* |
sgorilla has quit IRC |
| [12:55:20] |
<Guardian> |
interwiki is nice but it's too bad it does not offer the opportunity to alter the display of the link instead of just the tooltip |
| [13:04:50] |
* |
Semhirage has quit IRC |
| [13:04:51] |
* |
m_g has joined #trac |
| [13:04:55] |
<Guardian> |
hmm |
| [13:05:15] |
<Guardian> |
== SomeTitleWithNumericalId == #001 does not work :( produces a link to the first ticket |
| [13:10:59] |
* |
jonbaer has left #trac |
| [13:11:32] |
* |
hu8 has left #trac |
| [13:12:42] |
<m_g> |
the trac-post-commit-hook doesn't trigger ticket notifications because it touched the database manually. what would be the easiest way to trigger the notifications from the script? |
| [13:13:02] |
* |
maxb has joined #trac |
| [13:16:30] |
* |
Semhirage has joined #trac |
| [13:17:53] |
* |
hotte has joined #trac |
| [13:19:27] |
* |
tenshiKur0 has quit IRC |
| [13:25:15] |
<exarkun> |
m_g: Use the Ticket API |
| [13:36:13] |
* |
gmoore_ has quit IRC |
| [13:38:22] |
* |
cboos has joined #trac |
| [13:39:15] |
<cboos> |
"OperationalError: database or disk is full" |
| [13:39:25] |
<cboos> |
guess on which Trac? ;) |
| [13:39:38] |
<asmodai> |
t.e.o? |
| [13:39:55] |
<cboos> |
near ... |
| [13:40:11] |
<cboos> |
alect, coderanger, time to cleanup the disks ;) |
| [13:40:44] |
<asmodai> |
trac-hacks? |
| [13:53:15] |
<cboos> |
ah... now it's working again (yes, was trac hacks) |
| [13:58:06] |
<cboos> |
hm, "IOError: [Errno 28] No space left on device " |
| [13:58:40] |
<cboos> |
this time in the ugly traceback.py rendering ;) |
| [13:59:16] |
<cboos> |
coderange, wake up! |
| [13:59:24] |
<cboos> |
coderanger that is |
| [14:03:13] |
* |
d0rt has quit IRC |
| [14:21:57] |
<coderanger> |
Heh |
| [14:22:20] |
<coderanger> |
I'll see what I can do |
| [14:22:54] |
<coderanger> |
/ has 1.4G free |
| [14:23:51] |
<coderanger> |
Not sure I want to delete stuff without checking with Alec though |
| [14:28:13] |
* |
cboos has quit IRC |
| [14:36:30] |
<pacopablo> |
rm -rf / can't hurt too much, now can it? :) |
| [14:42:08] |
* |
rbp has quit IRC |
| [14:44:00] |
<coderanger> |
I don't see anythign obviously wrong |
| [14:52:11] |
<pacopablo> |
it's all in cboos' head |
| [14:52:19] |
<pacopablo> |
just like my fscking sqlite2pg bug |
| [14:57:03] |
<asmodai> |
heh |
| [14:58:31] |
* |
jrydberg has joined #trac |
| [15:11:14] |
<jrydberg> |
can a plugin add their own tables to the database? |
| [15:11:39] |
<coderanger> |
Sure |
| [15:12:38] |
<jrydberg> |
my version control backend would probably have to expand the revision table a bit, or create its own table |
| [15:13:18] |
<coderanger> |
for which system? |
| [15:13:42] |
<jrydberg> |
version control system you mean? |
| [15:13:52] |
<coderanger> |
yeah |
| [15:13:58] |
<jrydberg> |
bzr |
| [15:14:11] |
<coderanger> |
Make a new table |
| [15:14:45] |
* |
agile has quit IRC |
| [15:14:46] |
<coderanger> |
The mode_change and revision tables are tied to the CachedRepo and CachedChangeset systems |
| [15:15:29] |
<jrydberg> |
yeah |
| [15:15:49] |
<jrydberg> |
but WHEN should the tables be created? |
| [15:15:56] |
<jrydberg> |
should I make a install-script for my plugin? |
| [15:16:12] |
<coderanger> |
use IEnvironmentSetupPArticipant |
| [15:16:35] |
<jrydberg> |
oh |
| [15:16:52] |
<coderanger> |
Take a look at tracforge.admin.api for an example |
| [15:18:55] |
<coderanger> |
db schema stuff i n Trac does need some work |
| [15:19:40] |
<jrydberg> |
Why your plugin install the default db? |
| [15:19:46] |
<jrydberg> |
*why do your |
| [15:19:54] |
<coderanger> |
what do you mean? |
| [15:20:18] |
<jrydberg> |
64 for tbl in db_default.tables: |
| [15:20:18] |
<jrydberg> |
65 for sql in db_manager.to_sql(tbl): |
| [15:20:18] |
<jrydberg> |
66 cursor.execute(sql) |
| [15:20:25] |
<jrydberg> |
final lines of api.py |
| [15:20:37] |
<jrydberg> |
NM |
| [15:20:38] |
<coderanger> |
That is where it actually inserts my tables |
| [15:20:39] |
<jrydberg> |
nevermind! |
| [15:20:41] |
<jrydberg> |
yeah |
| [15:20:53] |
<jrydberg> |
sorry, i thought you were importing trac.db_default |
| [15:22:02] |
<coderanger> |
The problem with that code is you lose all the data when it upgrades |
| [15:22:11] |
<coderanger> |
Still need to fix that |
| [15:38:36] |
* |
danbeck has quit IRC |
| [15:48:34] |
* |
m_g has quit IRC |
| [15:55:17] |
* |
flox has joined #trac |
| [16:02:53] |
* |
Semhirage_ has joined #trac |
| [16:02:53] |
* |
Semhirage has quit IRC |
| [16:04:52] |
* |
cmlenz has quit IRC |
| [16:17:26] |
* |
gak has quit IRC |
| [16:20:16] |
* |
gakman has joined #trac |
| [16:23:13] |
* |
softweyr has joined #trac |
| [17:13:33] |
* |
Getty has quit IRC |
| [17:14:27] |
* |
Getty has joined #trac |
| [17:17:33] |
* |
hotte has quit IRC |
| [17:17:34] |
* |
fredb has joined #trac |
| [18:02:02] |
* |
gak has joined #trac |
| [18:05:27] |
* |
em-dash has quit IRC |
| [18:10:57] |
* |
gakman has quit IRC |
| [18:34:19] |
* |
Semhirage_ has quit IRC |
| [18:34:49] |
* |
Semhirage has joined #trac |
| [18:53:38] |
<coderanger> |
I am asking for pain by trying to integrate Pygame and wxPython arent I? |
| [18:54:04] |
* |
shoot^ has joined #trac |
| [18:54:15] |
<shoot^> |
guys, im having some trac issues |
| [18:54:26] |
<shoot^> |
internal errors when trying to view any timeline entry |
| [18:54:38] |
<shoot^> |
DatabaseError: database disk image is malformed |
| [18:54:54] |
<coderanger> |
shoot^: What db? |
| [18:54:59] |
<shoot^> |
sqlite |
| [18:55:11] |
<coderanger> |
Can you open the DB from the command line |
| [18:55:16] |
<shoot^> |
yup |
| [18:55:30] |
<coderanger> |
Are you using python 2.5 |
| [18:55:41] |
<shoot^> |
2.4 |
| [18:55:47] |
<shoot^> |
it *was* working fine |
| [18:55:49] |
<shoot^> |
i broke it :/ |
| [18:56:56] |
<shoot^> |
had tried editing sommat in the database from the command line, now everything seems shot. i did back it up right before, but restoring to the backuped version doesnt seem to do any good |
| [18:57:13] |
<shoot^> |
(backuped version is just a copy of trac.db, in a different location) |
| [18:57:15] |
<coderanger> |
Have you checked your pysqlite/sqlite version? |
| [18:57:51] |
<shoot^> |
3.3.7 |
| [18:58:26] |
<shoot^> |
ahh |
| [18:58:28] |
<shoot^> |
its working again |
| [18:58:35] |
<shoot^> |
i quit the sqlite3 session |
| [18:58:38] |
<shoot^> |
flippin heck |
| [18:58:43] |
<shoot^> |
i was panicing there! |
| [19:00:52] |
* |
huisman is now known as nhuisman_away |
| [19:43:32] |
* |
boorad has joined #trac |
| [19:51:49] |
* |
tenshiKur0 has joined #trac |
| [19:54:21] |
* |
shoot^ has quit IRC |
| [20:19:14] |
<__> |
Hia , is there any CSS for TracTags ? (I saw tags on same line floating to the right, and after some plugin install they're now in usual list <ul><li>.. , line by line..) ? |
| [20:27:17] |
<coderanger> |
YEs |
| [20:27:25] |
<coderanger> |
The plugin should insert it automatically |
| [20:27:47] |
<__> |
perhaps I lost it during plugin isntallation |
| [20:27:55] |
<coderanger> |
Its contained in the egg |
| [20:28:02] |
<__> |
what is the way to install it again ? doing again a python setup.py install ? |
| [20:28:07] |
<coderanger> |
Yes |
| [20 |