Team Chat Logs

2006 6
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
31            

July 15, 2006

[00:04:33] * hdiogenes has quit IRC
[00:15:24] * matt_good has quit IRC
[00:15:26] * matt_good_ has joined #trac
[00:48:56] * maxb_ has joined #trac
[00:49:38] * maxb_ is now known as maxb
[00:49:57] * matt_good_ has quit IRC
[00:52:20] * matt_good_ has joined #trac
[01:16:37] * cmlenz has joined #trac
[01:44:03] * DanielC has joined #trac
[01:44:58] <DanielC> Could someone tell me how to start a new trac project (or whatever the term is). I have an svn project and I want it to appear on trac.
[01:45:16] <DanielC> I can't find any documentation that covers this (!!!!).
[01:47:08] * Semhirage has quit IRC
[01:53:04] * DanielC has left #trac
[02:03:45] <prologic> Q: How do I disable the Tags nav ?
[02:27:44] * tuxipuxi has joined #trac
[03:18:35] * _idostyle has joined #trac
[03:34:37] * jml has joined #trac
[03:36:05] * idostyle has quit IRC
[03:36:12] * _idostyle is now known as idostyle
[03:54:04] <asmodai> mitsuhiko: AH!
[03:54:12] <asmodai> mitsuhiko: didn't know it was you for codetags :)
[03:54:20] <mitsuhiko> asmodai: jep. that's me
[03:54:25] <asmodai> mitsuhiko: Question for you
[03:54:34] <asmodai> mitsuhiko: How do I make codetags rerun?
[03:54:39] <mitsuhiko> damn. i knew i know asmodai from somewhere :)
[03:54:50] <asmodai> mitsuhiko: I have it installed, but had only .py in the SCAN_FILES
[03:55:01] <asmodai> mitsuhiko: Add .c and .h., rebuild the egg and installed it over the old
[03:55:11] <asmodai> mitsuhiko: yet it doesn't seem to refresh?
[03:55:15] <mitsuhiko> asmodai: it rescanns after each commit. but hold on, i'm currently working in updating the whole thing :)
[03:56:37] <asmodai> Heh, I wonder how badly I hit it then after my recent commit spree in the last 15 minutes.
[03:57:05] <mitsuhiko> asmodai: or just remove the cache file
[03:57:11] <asmodai> 12 commits in half an hour }:)
[03:57:41] <asmodai> mitsuhiko: I wondered which directory it was, underneath the py egg cache?
[03:58:17] <mitsuhiko> asmodai: it creates a directory called "cache" in the trac root
[03:59:31] <asmodai> Ah, I see.
[04:00:47] * asmodai wonders what he missed
[04:01:07] <mitsuhiko> asmodai: is your server running on linux?
[04:01:10] <asmodai> mitsuhiko: this should be ok for __init__ : SCAN_FILES = ['*.py', '*.c', '*.h']
[04:01:13] <asmodai> mitsuhiko: FreeBSD
[04:01:33] <mitsuhiko> that's good too :D
[04:02:02] <asmodai> ;)
[04:02:14] <asmodai> mitsuhiko: http://trac.tendra.org/codetags
[04:03:28] <mitsuhiko> time for a better indexer :)
[04:04:27] <asmodai> mitsuhiko: *nod*
[04:04:30] <asmodai> I like the idea a lot
[04:04:46] <asmodai> mitsuhiko: one request from me would be: make SCAN_FILES a setting through trac.ini's [components]
[04:04:47] <mitsuhiko> i just wrote it for my own small repo. never thought so many want to use it too :)
[04:04:57] <mitsuhiko> of course
[04:05:13] <mitsuhiko> and i add multiline support for the comments
[04:05:22] <asmodai> mitsuhiko: Does codetags rescan the entire code base upon commit?
[04:05:23] <asmodai> ahh, nice
[04:05:36] <mitsuhiko> asmodai: jep. and that's why it's so damn slow :)
[04:05:44] <asmodai> Figures.
[04:05:52] <asmodai> Especially after my commit spree I reckon.
[04:06:02] <asmodai> Most likely spawn a reindex per commit ;)
[04:06:27] <mitsuhiko> the reindexing gets triggered when the first user visits the page after commit
[04:06:38] <mitsuhiko> afair there is no extension point for checkins
[04:07:29] <asmodai> ahh
[04:07:34] <asmodai> that's ok
[04:07:47] <asmodai> that means if I commit 30 things, only after someone visits it reindexes
[04:08:00] <mitsuhiko> yeah
[04:08:04] <asmodai> *phew*
[04:08:06] <asmodai> ;)
[04:08:07] <mitsuhiko> it was enough for the pocoo repo since ther isn't so much code
[04:08:19] <asmodai> Would be a nice self-inflicted DoS.
[04:09:16] <mitsuhiko> jep. that's why i'm changing it :)
[04:09:28] <mitsuhiko> components get just a manager object on __init__?
[04:10:27] <asmodai> Erhm, could be.
[04:10:34] <asmodai> Never developed a component yet.
[04:24:32] <cmlenz> mitsuhiko: http://trac.edgewall.org/wiki/TracDev/PluginDevelopment#Componentmembervariables
[04:24:41] <cmlenz> __init__ takes only the self argument
[04:25:20] <cmlenz> http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture#Declaringacomponent
[04:25:25] <mitsuhiko> cmlenz: thx. would be cool if you add a stub __init__ to the base component. otherweise help() is a bit confusing
[04:26:06] <cmlenz> true
[04:45:11] * WhiteWolf has left #trac
[05:12:50] * Riccc has joined #trac
[05:23:53] * jml has quit IRC
[05:29:12] * Champion_du_Mond has quit IRC
[05:42:01] * cmlenz has quit IRC
[05:43:39] <mitsuhiko> hmmmm
[05:43:49] <mitsuhiko> one question to the versioncontrol api
[05:43:58] <mitsuhiko> is there something like repo.get_revision(REV_ID)?
[05:44:44] <mitsuhiko> or is rev always a string object?
[05:58:47] <asmodai> mmm
[05:59:05] <asmodai> mitsuhiko: http://www.in-nomine.org/~asmodai/django-api/
[05:59:17] <asmodai> mitsuhiko: a bit slow since it's my ADSL, but hopefully helpful
[05:59:22] <asmodai> err
[05:59:24] <asmodai> crap
[05:59:27] <tuxipuxi> asmodai: you know the trac internals, don't you? :)
[05:59:35] <asmodai> mitsuhiko: http://www.in-nomine.org/~asmodai/trac-api/
[05:59:48] <mitsuhiko> asmodai: aaah. i thought HUH?
[05:59:48] <mitsuhiko> ^^
[05:59:51] <asmodai> tuxipuxi: Errr, not much
[05:59:56] <asmodai> tuxipuxi: I cannot keep up.
[06:00:04] * asmodai has too much stuff he's dealing with
[06:00:06] <mitsuhiko> asmodai: but I use djagno too ^^
[06:00:15] <asmodai> mitsuhiko: ;)
[06:00:27] <asmodai> I still need to move these api docs to my other box
[06:00:31] <asmodai> and have them auto generate
[06:00:41] <tuxipuxi> asmodai: ok i'll ask anyway :) if i want a value to appear in a custom field, does the "name" in the ticket_custom table have to be exactly like customfield.label or how does trac identify which value belongs to which field?
[06:01:21] <asmodai> Err, good one. :|
[06:02:00] <tuxipuxi> wondering because i have to adopt mantis2trac to import custom fields
[06:03:20] <asmodai> ah
[06:04:08] <tuxipuxi> asmodai: it doesn't matter if i write "bla.label = Bla" or "bla.label=Bla", does it?
[06:04:11] <asmodai> tuxipuxi: http://trac.edgewall.org/wiki/TracTicketsCustomFields
[06:04:14] <asmodai> tuxipuxi: checked that yet?
[06:04:27] <tuxipuxi> i think it didn't mention this, but lemme re-check
[06:06:26] <tuxipuxi> ehh apparently the bug is somewhere else :)
[06:06:48] <asmodai> *chuckle*
[06:06:55] <asmodai> Ah well, at least I could help a bit
[06:08:19] <tuxipuxi> i will come back to you! :)
[06:11:07] <asmodai> ut oh!
[06:18:06] <tuxipuxi> asmodai: i'm an idiot.. how could i think that trac uses the label(!). it of course uses the custom field name. so e.g. thisisatest = text it's "thisisatest"
[06:18:28] <mitsuhiko> i think i've found a nice way
[06:18:59] * asmodai pats tuxipuxi
[06:19:02] <asmodai> tuxipuxi: atta!
[06:19:04] <asmodai> mitsuhiko: mmm?
[06:19:21] <mitsuhiko> asmodai: i've found a way for faster indexing :)
[06:19:36] <mitsuhiko> i query the changesets to find changed files
[06:19:36] <tuxipuxi> heh
[06:20:58] <asmodai> mitsuhiko: yay! :D
[06:21:22] <asmodai> mitsuhiko: I'm still wondering why the older version didn't pick up my XXX:, guess the path must be odd for it
[06:21:42] <mitsuhiko> asmodai: i ping you when i've finished
[06:22:26] <asmodai> mitsuhiko: Sure.
[06:22:30] <asmodai> Much appreciated ;)
[06:22:39] * asmodai continues hacking shell scripts
[07:10:09] * ged_ has joined #trac
[07:11:23] * ged has quit IRC
[07:11:59] * ged_ has quit IRC
[07:12:47] * ged has joined #trac
[07:20:02] * _idostyle has joined #trac
[07:27:56] * idosty548 has joined #trac
[07:36:33] * idostyle has quit IRC
[07:36:44] * idosty548 is now known as idostyle
[07:44:05] * _idostyle has quit IRC
[21:59:42] * evil_twin has joined #trac
[22:00:14] * pacopablo has joined #trac
[22:02:23] * pacopablo curses APC
[22:09:59] <alect> ?
[22:23:42] <pacopablo> stupid UPS continues to cut off power to my server
[22:23:57] <pacopablo> I need a new one, but this one is only a couple months old
[22:24:07] <alect> warranty?
[22:26:07] <pacopablo> yeah, I called support and they said: oh, you've got too many PCs plugged into it.
[22:26:58] <pacopablo> and I asked if it would make a difference if I switched them to the surge protection only
[22:27:11] <pacopablo> and they said: yeah, that will fix it.
[22:27:24] <pacopablo> but it didn't.
[22:27:35] <pacopablo> so I'll take everything off, except the server
[22:27:53] <pacopablo> and then when it goes down again, I call back.
[22:27:53] <alect> :
[22:27:54] <alect> (
[22:27:57] <alect> sucky
[22:28:12] <alect> testing through power failures...ungood
[22:29:04] <pacopablo> very ungood
[22:29:29] <pacopablo> oh well.
[22:32:39] * s0undt3c1 has joined #trac
[22:45:42] * s0undt3ch has quit IRC
[22:45:54] * s0undt3c1 is now known as s0undt3ch
[22:48:37] <prologic> hmm
[22:48:45] <prologic> I have a nice ups here 1000VA
[22:48:59] <prologic> with 7 computers plugged in, it's load is only 40%
[22:49:12] <prologic> it's not APC though :)
[22:58:29] <pacopablo> how much you pay for it?
[22:59:15] <pacopablo> and it's probably in a server room, isn't it?
[23:01:15] <pacopablo> ugh, why does documentation for most open source code suck so much?
[23:01:31] <prologic> laziness :)
[23:01:37] <prologic> I paid $260 for mine
[23:01:44] <alect> and docs are not as fun as coding
[23:02:07] <pacopablo> alect: true
[23:03:39] <pacopablo> but it sucks when someone comes along and want to use the code
[23:16:19] <alect> true
[23:24:11] <pacopablo> later all
[23:31:07] <asmodai> alect!
[23:31:08] * asmodai yawns
[23:31:27] <alect> hey asmodai
[23:31:30] <asmodai> docs are cool
[23:45:03] * _idostyle has joined #trac
[23:49:08] * cmlenz has joined #trac
[23:53:48] <mitsuhiko> cmlenz: __init__ for Component *whisper* ^^
[23:53:58] * asmodai pats mitsuhiko
[23:54:06] <asmodai> moin cmlenz
[23:54:25] <cmlenz> morning
[23:54:36] <mitsuhiko> hoi cmlenz :)