| [00:00:45] |
* |
thecrypto has joined #trac |
| [00:03:20] |
* |
matt_good is away: sleep |
| [00:03:49] |
<thecrypto> |
I am currently attempting to get the latest SVN trunk to work under FCGI using Lighty, I have http://rafb.net/paste/results/tMdtCv52.html as my fastcgi.server config and the error message I get is underneath that when I try and start it. I changed trac.fcgi from #!/usr/bin/python to /usr/bin/env python |
| [00:06:04] |
<matt_good> |
DevG5: be sure you're running trac-admin as the same user your web server is running as so it has the same permissions |
| [00:07:19] |
<DevG5> |
matt_good: it is |
| [00:08:07] |
<atwork> |
File "D:\Python23\Scripts\tracd", line 18, in ? |
| [00:12:18] |
<thecrypto> |
I have pointed PYTHONPATH to it in the right directory as well in the configuration |
| [00:17:30] |
* |
cmlenz has joined #trac |
| [00:18:56] |
* |
flox|away has joined #trac |
| [00:22:18] |
<thecrypto> |
Anyone else using FastCGI, Lighty, and SVN trunk? |
| [00:27:27] |
* |
flox|away has quit IRC |
| [00:28:02] |
* |
flox|away has joined #trac |
| [00:48:16] |
* |
osimons has joined #trac |
| [01:02:32] |
* |
jrydberg has joined #trac |
| [01:03:29] |
* |
osimons has quit IRC |
| [01:07:34] |
* |
maxb has joined #trac |
| [01:10:19] |
* |
osimons has joined #trac |
| [01:44:33] |
* |
tuxipuxi has joined #trac |
| [01:45:59] |
* |
_idostyle has joined #trac |
| [01:48:45] |
* |
[invisible] has joined #trac |
| [01:56:19] |
<cboos> |
those damn stupid people testing ticket creation on t.e.o ... maybe it's time to make the big red notice blink ... |
| [01:57:19] |
<cmlenz> |
we should also just remove the link to the SandBox from the start page IMO |
| [01:57:36] |
<killing-joke> |
that's probably the better way |
| [01:57:55] |
<killing-joke> |
if you use it a bunch, clicking on the link becomes a fast subconscious habit |
| [01:58:27] |
<killing-joke> |
or you could make the link go to a big, red, static page ... :) |
| [02:00:07] |
* |
idostyle has quit IRC |
| [02:00:07] |
* |
_idostyle is now known as idostyle |
| [02:05:21] |
* |
Ricccc has quit IRC |
| [02:06:15] |
<alect> |
someone should write a natural language parsing ticket change listener |
| [02:06:28] |
<alect> |
somebody with lots of time on their hands probably |
| [03:04:10] |
* |
Gruf has joined #trac |
| [03:15:00] |
<tuxipuxi> |
to highlight XML, the line would be {{{#!xml }}}, right? |
| [03:15:13] |
<cmlenz> |
yeah |
| [03:18:08] |
<tuxipuxi> |
hmhm actually this should work in ticket comments, too? the description is like "tex text text\n{{{\n#!xml\nxml stuff\n}}}" |
| [03:22:24] |
<cmlenz> |
yeah, that should work I think |
| [03:22:33] |
<cmlenz> |
I use it all the time |
| [03:23:18] |
<tuxipuxi> |
strange, it does not work here for this ticket comment |
| [03:25:53] |
<cmlenz> |
well, maybe the highlighter isn't installed? |
| [03:25:59] |
<cmlenz> |
enscript or silvercity, that is |
| [03:26:09] |
<cmlenz> |
check the logs if there's anything relevant |
| [03:27:11] |
<cmlenz> |
yeah, looks like it's not installed here anyway: http://www.hosted-projects.com/trac/TracDemo/Demo/ticket/3 |
| [03:29:28] |
<tuxipuxi> |
cmlenz, but how can it highlight python source code then? i thought trac uses the same highlighting program/library for all code |
| [03:29:36] |
<tuxipuxi> |
and SilverCity isn't installed for sure |
| [03:30:10] |
<cmlenz> |
enscript |
| [03:30:11] |
<cmlenz> |
see http://trac.edgewall.org/wiki/TracSyntaxColoring |
| [03:30:15] |
<tuxipuxi> |
enscript is installed |
| [03:30:46] |
<cmlenz> |
nothing in the logs about who's doing the formatting? should be |
| [03:30:57] |
<cmlenz> |
in DEBUG verbosity, at least |
| [03:31:03] |
<tuxipuxi> |
sec |
| [03:32:38] |
<tuxipuxi> |
cmlenz, that's the output for a ticket containing both XML and python code: http://rafb.net/paste/results/U3dTfN76.html |
| [03:34:20] |
<cmlenz> |
hmm, looks like enscript isn't registered as handling XML in the Trac code |
| [03:35:17] |
<tuxipuxi> |
is there anything i can configure to make trac use enscript for XML? |
| [03:36:02] |
<cmlenz> |
actually, doesn't look like enscript supports xml |
| [03:36:08] |
<cmlenz> |
$ enscript --color -h -q --language=xml -p - |
| [03:36:09] |
<cmlenz> |
<root><elem>foo</elem></root> |
| [03:36:09] |
<cmlenz> |
states: Panik: unknown output language `xml' |
| [03:36:32] |
<tuxipuxi> |
then there's a bug in the TracGuide :) |
| [03:36:46] |
<cmlenz> |
it's a wiki </hint> ;-) |
| [03:36:59] |
<cmlenz> |
I don't know about newer versions, I'm running 1.6.1 here |
| [03:37:06] |
<tuxipuxi> |
;) |
| [03:41:48] |
* |
janhaa has joined #trac |
| [03:41:51] |
<janhaa> |
hi |
| [03:41:59] |
<tuxipuxi> |
hey janhaa |
| [03:42:20] |
<janhaa> |
i've update a revision log, but it doesn't seem to be updated in trac. any idea if i must purge some trac-information-database or something? :P |
| [03:42:27] |
<janhaa> |
tuxipuxi, hello :) |
| [03:45:21] |
* |
Mitja has joined #trac |
| [03:45:27] |
<Mitja> |
Hi |
| [03:45:58] |
<Mitja> |
I get "Failed to initialize environment. No module named svn" when initializing environment. Which module do I have to install? I'm working on Debian testing. |
| [03:47:47] |
<cmlenz> |
janhaa: shouldn't be necessary, but try "trac-admin resync" |
| [03:47:56] |
<janhaa> |
thanks. |
| [03:49:40] |
<janhaa> |
still nothing... but "svn log" is shows the same as "Message" in Trac, or..? |
| [03:49:46] |
<janhaa> |
s/is// |
| [03:51:55] |
<janhaa> |
oh! it updated now :) |
| [03:52:01] |
<janhaa> |
nice |
| [03:53:18] |
* |
janhaa has left #trac |
| [04:34:39] |
* |
thecrypto has quit IRC |
| [04:36:21] |
* |
Miek has joined #trac |
| [04:44:54] |
* |
flox|away has quit IRC |
| [04:45:30] |
* |
flox|away has joined #trac |
| [04:47:01] |
* |
cmlenz has quit IRC |
| [04:47:03] |
* |
agile has quit IRC |
| [04:48:07] |
* |
cmlenz has joined #trac |
| [04:48:26] |
* |
agile has joined #trac |
| [04:52:33] |
* |
tuxipuxi has quit IRC |
| [04:54:06] |
* |
milk-it has joined #trac |
| [05:17:25] |
* |
X-Gen has joined #trac |
| [05:17:33] |
<X-Gen> |
hey freaks |
| [05:26:17] |
* |
flox|away is now known as flox |
| [05:27:58] |
* |
Mitja has quit IRC |
| [05:45:35] |
* |
coderanger_ has joined #trac |
| [06:02:29] |
* |
agile has quit IRC |
| [06:06:03] |
* |
converter has joined #trac |
| [06:07:19] |
* |
Mitja has joined #trac |
| [06:07:34] |
<Mitja> |
Is there a permission file I can directly modify? |
| [06:07:43] |
<lisppaste5> |
cboos pasted "fragment of the diff_display() macro" at http://paste.lisp.org/display/24539 |
| [06:09:03] |
<coderanger_> |
Mitja: Modify to do what? |
| [06:09:20] |
<Mitja> |
coderanger, change permissions |
| [06:11:18] |
<coderanger_> |
Mitja: Its in DB |
| [06:13:35] |
<Mitja> |
I get "Authentication information not available." when I click on Login. Is this normal if auth info is not set in the server configuration? |
| [06:15:12] |
<coderanger_> |
Mitja: that means you haven't setup http auth |
| [06:15:22] |
<Mitja> |
aye |
| [06:19:38] |
<alect> |
the number of dud tickets on t.e.o is getting ridiculous |
| [06:27:12] |
<cmlenz> |
yeah |
| [06:27:51] |
<cmlenz> |
apparently, stupidity of the world population is increasing exponentially |
| [06:28:03] |
<cboos> |
... that's why I've started to flag those tickets as 'tobedeleted' |
| [06:29:19] |
<coderanger_> |
alect: Someone has been playing with the python trac it seems |
| [06:29:40] |
<coderanger_> |
Not badly though, so hopefully its the python people |
| [06:29:49] |
<X-Gen> |
using trac 0.9, if i edit a report and have time AS created, time AS created,....etc. the report does not display correctly. is it possible to only show one time in a report ? |
| [06:30:37] |
<cboos> |
alect: speaking about the python trac, did you play with the "escape_whitespace" patch I've pasted some time ago? |
| [06:33:33] |
<alect> |
no i didn't see it |
| [06:33:46] |
<alect> |
that reminds me, i need to add admin users for psf |
| [06:33:53] |
* |
alect goes and does that |
| [06:35:39] |
<alect> |
http://www.oreillynet.com/onlamp/blog/2006/08/guido_blesses_django_django_an.html |
| [06:35:45] |
<alect> |
django and tg to merge eh |
| [06:36:32] |
<alect> |
nice provocative title |
| [06:36:54] |
<cboos> |
that, plus disabling the '__' as underline token and adding a custom IWikiSyntaxParser to interpret '>>>' verbatim as well as legacy references to tickets (i.e. "bug 2342342"), replace > by >, " by ", and I'm sure we can use wiki formatting in tickets ;) |
| [06:38:00] |
<alect> |
i respect your optimism! :) |
| [06:38:27] |
<alect> |
have you tried it with the ticket data? |
| [06:38:31] |
<alect> |
psf ticket data that is |
| [06:38:39] |
<alect> |
be interesting to see how it goes |
| [06:40:19] |
* |
tuxipuxi has joined #trac |
| [06:41:26] |
<alect> |
that django requirement of an environment variable has always bugged me |
| [06:41:48] |
<cmlenz> |
alect: seen http://www.cmlenz.net/blog/2006/08/the_python_web_.html ? |
| [06:42:42] |
<alect> |
yeah, my comment was referring to yours actually |
| [06:43:15] |
<cmlenz> |
ah |
| [06:44:30] |
<alect> |
i'd like to hear what guido said verbatim |
| [06:45:27] |
<cmlenz> |
yeah, apparently the talk was videotaped, so we might still get that |
| [06:45:32] |
* |
atwork has quit IRC |
| [06:45:35] |
<alect> |
excellent |
| [06:45:53] |
<coderanger_> |
cmlenz: Now how long until Trac gets on that shortlist ;-) |
| [06:45:54] |
<alect> |
i bet it was nowhere near as sensationalistic as that blog entry makes out |
| [06:46:34] |
<cmlenz> |
well, it'd be a sensation even if he only mumbled those words to himself in a dark corridor ;-) |
| [06:46:40] |
* |
agile has joined #trac |
| [06:47:04] |
<alect> |
heh, yes, true |
| [06:47:07] |
<alect> |
poor guy |
| [06:47:31] |
<coderanger_> |
GvR's OSCON speech is up on Google :) |
| [07:05:20] |
* |
ChanServ has quit IRC |
| [07:06:41] |
<Azrael> |
does anybody know of plans to allow renaming/moving of wiki pages with all backlinks updated? |
| [07:07:19] |
<alect> |
i think the wikirename thingamie does that |
| [07:07:35] |
<Azrael> |
that an unofficial patch? |
| [07:07:54] |
<alect> |
trac-hacks.org |
| [07:07:56] |
<alect> |
plugin |
| [07:08:09] |
<Azrael> |
kew thx |
| [07:08:13] |
* |
danbeck has joined #trac |
| [07:08:19] |
<Azrael> |
i find the whole macros and plugins thing a pita with trac |
| [07:08:26] |
<Azrael> |
it seems there's a zillion ways to install them |
| [07:08:32] |
<Azrael> |
and all of the docs only get you half there |
| [07:08:51] |
<coderanger_> |
Azrael: Thats a feature, not a bug ;-) |
| [07:08:52] |
* |
ChanServ has joined #trac |
| [07:08:52] |
* |
irc.freenode.net sets mode: +o ChanServ |
| [07:08:55] |
<alect> |
haha |
| [07:08:57] |
<Azrael> |
i found myself just manually moving .py's into /usr/lib/python2.4/site-packages etc |
| [07:09:06] |
<Azrael> |
coderanger_: heh |
| [07:09:19] |
<coderanger_> |
Azrael: Build the egg, put it in the env's plugins folder |
| [07:09:55] |
<Azrael> |
i think it was the egg building procedure i couldn't find help on |
| [07:10:08] |
<Azrael> |
or |
| [07:10:08] |
<coderanger_> |
python setup.py bdist_egg |
| [07:10:17] |
<Azrael> |
certain plugins/macros just didn't work well with setuptools |
| [07:10:36] |
<coderanger_> |
Azrael: What version of setuptools? |
| [07:10:37] |
<Azrael> |
of course those certain plugins/macros being the ones i installed... |
| [07:11:03] |
<coderanger_> |
http://trac.edgewall.org/wiki/TracPlugins#ForaSingleProject |
| [07:11:08] |
<Azrael> |
setuptools-0.6_rc1 |
| [07:12:01] |
<coderanger_> |
rc or c? |
| [07:12:20] |
<Azrael> |
rc1 |
| [07:12:23] |
<Azrael> |
that may be a gentoo appendage |
| [07:12:29] |
<Azrael> |
somebody prolly screwed up the ebuild heh |
| [07:12:33] |
<Azrael> |
surprised its not rc999 |
| [07:12:43] |
<Azrael> |
as it usually takes devs that many tries to get ebuilds right |
| [07:12:55] |
<coderanger_> |
Ah, yeah, rc1 = c1 |
| [07:13:08] |
<Azrael> |
aha! misnomer |
| [07:13:10] |
* |
Azrael files another bug |
| [07:13:12] |
<Azrael> |
heh jk |
| [07:13:23] |
* |
agile has quit IRC |
| [07:13:26] |
<coderanger_> |
The gentoo nomenclature doesn't match with pje's |
| [07:13:46] |
<Azrael> |
pje? |
| [07:14:51] |
<Azrael> |
OT - am i the only one who gets approximately no sleep on the night before an interview? |
| [07:14:56] |
* |
agile has joined #trac |
| [07:16:55] |
* |
Azrael shrugs |
| [07:21:25] |
* |
smileaf has joined #trac |
| [07:21:40] |
<alect> |
you sure aren't |
| [07:21:46] |
<alect> |
where are you interviewing? |
| [07:33:56] |
* |
cmlenz has quit IRC |
| [07:39:29] |
<alect> |
i'll be impressed if trac wins this tracker shootout |
| [07:39:42] |
* |
hikozaemon has quit IRC |
| [07:41:19] |
* |
DevG5 has quit IRC |
| [07:41:34] |
<coderanger_> |
Yeah |
| [07:41:47] |
<coderanger_> |
Compared the others its still very early in its development |
| [07:42:08] |
<coderanger_> |
Especially for something the scale of Python |
| [07:42:15] |
<alect> |
yeah |
| [07:42:29] |
* |
cmlenz has joined #trac |
| [07:42:37] |
<alect> |
if they took into account all the other features of trac, it would kill them all |
| [07:42:43] |
<alect> |
but i suspect they won't |
| [07:42:47] |
<Mitja> |
Where is the list of all available roles for permissions? |
| [07:43:19] |
<alect> |
permission help |
| [07:43:20] |
<coderanger_> |
http://trac.edgewall.org/wiki/TracPermissions |
| [07:43:32] |
<coderanger_> |
Thats just the ones included in Trac proper though |
| [07:43:44] |
<coderanger_> |
Plugins can create new permissions |
| [07:43:54] |
<Mitja> |
the only role there is developer |
| [07:44:12] |
<alect> |
you can create new roles |
| [07:44:25] |
<alect> |
@ini |
| [07:44:25] |
<evil_twin> |
alect: "ini" is See http://projects.edgewall.com/trac/wiki/TracIni for details on the Trac configuration file. |
| [07:44:36] |
<alect> |
doh |
| [07:44:46] |
<alect> |
dunno what @ini had to do with it anyway |
| [07:44:50] |
* |
alect has lost the plot |
| [07:45:53] |
<coderanger_> |
Mitja: "groups" is the term I think you are looking for ;-) |
| [07:46:28] |
<Mitja> |
anything that makes this permission system more transparent |
| [07:46:51] |
<coderanger_> |
There a number of group provider plugins that may help on trac-hacks |
| [07:49:08] |
<coderanger_> |
So you can tie into existing LDAP or UNIX groups for example |
| [07:49:48] |
* |
tolsen has joined #trac |
| [07:50:37] |
* |
xjjk has quit IRC |
| [07:58:44] |
* |
klasstek has joined #trac |
| [08:08:27] |
<pacopablo> |
morning blokes |
| [08:09:56] |
<coderanger_> |
haldo |
| [08:14:30] |
* |
hyperlink has joined #trac |
| [08:15:24] |
<hyperlink> |
anyone have trac running on freebsd that could help me find out if I have some proper python stuff installed? |
| [08:15:38] |
<hyperlink> |
wondering if my installation of svn used PySVN |
| [08:19:09] |
<coderanger_> |
hyperlink: PySVN is a standalone package |
| [08:19:19] |
<coderanger_> |
You would have had to install it yourself |
| [08:19:34] |
<hyperlink> |
ok so the default svn for bsd wouldn't install it |
| [08:19:35] |
<hyperlink> |
great |
| [08:19:50] |
<coderanger_> |
correct |
| [08:20:09] |
<hyperlink> |
thank you |
| [08:20:34] |
<hyperlink> |
so what's the subversion SWIG python bindings |
| [08:20:39] |
<hyperlink> |
I think I have do to WITH_PYTHON |
| [08:21:14] |
<hyperlink> |
is there anyway I can see if I have the SWIG bindings? |
| [08:23:19] |
<coderanger_> |
run python |
| [08:23:25] |
<coderanger_> |
"import svn" |
| [08:25:47] |
<hyperlink> |
hmm |
| [08:25:57] |
<hyperlink> |
ImportError: no module named svn |
| [08:29:06] |
<hyperlink> |
hah sweet |
| [08:29:08] |
<hyperlink> |
trac is in ports |
| [08:29:34] |
<coderanger_> |
check the version |
| [08:29:41] |
<hyperlink> |
.96 |
| [08:29:47] |
<hyperlink> |
0.9.6 |
| [08:31:13] |
<coderanger_> |
you may want to use the current development version as we are (hopefully) closing in on release |
| [08:31:31] |
<hyperlink> |
yea I hear it's great |
| [08:31:33] |
<hyperlink> |
0.10 |
| [08:31:37] |
<hyperlink> |
well |
| [08:31:45] |
<hyperlink> |
could the ports system upgrade it? |
| [08:31:46] |
<hyperlink> |
hmmmmmmmm |
| [08:31:52] |
<hyperlink> |
what's the best way to get it |
| [08:32:01] |
<hyperlink> |
ports will install dependancies for me eh? |
| [08:32:01] |
<pacopablo> |
svn co |
| [08:32:29] |
<hyperlink> |
svn co http://svn.edgewall.com/repos/trac/trunk/ ? |
| [08:32:38] |
<coderanger_> |
http://trac.edgewall.org/wiki/TracDownload#LatestDevelopmentSourceCode |
| [08:32:54] |
<coderanger_> |
Install the port, then just pgk_remove it |
| [08:33:01] |
<hyperlink> |
ah |
| [08:33:04] |
<hyperlink> |
for the dependancies |
| [08:33:05] |
<hyperlink> |
sweet |
| [08:33:06] |
<coderanger_> |
yeah |
| [08:33:18] |
<hyperlink> |
pkg_remove ? hmm |
| [08:33:28] |
<coderanger_> |
i think thats the command |
| [08:33:37] |
<coderanger_> |
my bsdfoo is weak |
| [08:34:05] |
<hyperlink> |
heh no worries |
| [08:34:08] |
<hyperlink> |
well |
| [08:34:20] |
<hyperlink> |
it should just install dependancies and put the stuff in the www directory |
| [08:34:26] |
<hyperlink> |
I could just overwrite the files and uninstall eh? |
| [08:34:48] |
<hyperlink> |
oh well |
| [08:34:49] |
<hyperlink> |
here we go |
| [08:35:35] |
<hyperlink> |
hmm it tried downloading subversion |
| [08:35:39] |
<hyperlink> |
crap I already have one installed |
| [08:35:47] |
<hyperlink> |
with mod_dav_svn |
| [08:36:01] |
<hyperlink> |
I might just do this manually |
| [08:36:26] |
* |
Semhirage_ has joined #trac |
| [08:36:26] |
* |
Semhirage has quit IRC |
| [08:37:59] |
<hyperlink> |
all I need now is SWIG |
| [08:42:52] |
* |
otaku42 is now known as otaku42_away |
| [08:46:56] |
* |
msoares has joined #trac |
| [08:47:31] |
* |
msoares has left #trac |
| [08:50:02] |
<coderanger_> |
subversion should have pre-SWIGed bindings |
| [08:50:15] |
<hyperlink> |
heh oops I just installed swig |
| [08:50:17] |
<hyperlink> |
oh well |
| [08:53:22] |
<coderanger_> |
It doesn't hurt |
| [08:53:29] |
<hyperlink> |
yea |
| [08:54:08] |
* |
MasterC has joined #trac |
| [08:56:08] |
<hyperlink> |
well if I already have pyton insalled, do I have to install mod_python separately? |
| [08:57:07] |
<pacopablo> |
yes |
| [08:57:12] |
<hyperlink> |
ok great |
| [08:57:23] |
<hyperlink> |
I won't geta conflict eh? |
| [08:57:33] |
<coderanger_> |
mod_python uses python |
| [08:57:47] |
<hyperlink> |
yea I figured that |
| [08:57:58] |
<hyperlink> |
but when you install mod_php and try to install php it's a dumb port conflict |
| [08:58:00] |
<hyperlink> |
we'll just findout |
| [08:58:16] |
<pacopablo> |
php sucks |
| [08:58:27] |
<hyperlink> |
hah I get an apache error now |
| [08:58:32] |
<hyperlink> |
mod_python-2.7.11 : Error from bsd.apache.mk. apache20 is installed (or APACHE_PORT is defined) and port requires 13. |
| [08:58:33] |
<hyperlink> |
*** Error code 1 |
| [08:58:38] |
<hyperlink> |
? |
| [08:58:41] |
<hyperlink> |
ah damn |
| [08:58:42] |
<hyperlink> |
1.3? |
| [08:58:47] |
<hyperlink> |
can't do mod_dav_svn then |
| [08:58:56] |
<pacopablo> |
you need mod_python-3.1.x |
| [08:59:09] |
* |
xjjk has joined #trac |
| [08:59:09] |
<pacopablo> |
2.7 was for apache 1.3 |
| [08:59:14] |
<pacopablo> |
3.x is for apache2 |
| [08:59:18] |
<hyperlink> |
ah ty |
| [08:59:19] |
<hyperlink> |
gotta find it |
| [08:59:20] |
<hyperlink> |
hmm |
| [09:00:32] |
<hyperlink> |
ah ty |
| [09:00:43] |
<hyperlink> |
yea I've been hearing some awesome things in python |
| [09:00:47] |
<hyperlink> |
I want to start developing in it |
| [09:08:11] |
* |
nealc_ has joined #trac |
| [09:11:37] |
* |
Elephant has joined #trac |
| [09:11:41] |
<Elephant> |
hi all |
| [09:15:11] |
* |
ged has quit IRC |
| [09:15:21] |
* |
ged has joined #trac |
| [09:15:26] |
<coderanger_> |
Elephant: Yo |
| [09:20:03] |
<pacopablo> |
hmm, probably can't put a function call in as a default paramter |
| [09:20:52] |
<coderanger_> |
Dont think so |
| [09:21:07] |
<coderanger_> |
Those are evaluated at function compile |
| [09:21:50] |
<pacopablo> |
yeah, so one can, but it doesn't do what is expected |
| [09:22:34] |
<coderanger_> |
Usually you put None |
| [09:22:51] |
<coderanger_> |
and then in the body if param is None: param = foo() |
| [09:23:05] |
* |
xfuentes has joined #trac |
| [09:23:13] |
<pacopablo> |
yeah, that's what I'm going to do |
| [09:23:25] |
<pacopablo> |
though I'll use or instead of an if :) |
| [09:24:35] |
<xfuentes> |
hi, did someone know what is the best way to export/import trac tickets? |
| [09:24:56] |
<pacopablo> |
XMLRPC if using 0.10dev |
| [09:28:11] |
* |
flox has quit IRC |
| [09:29:12] |
* |
ryepup_ has joined #trac |
| [09:30:44] |
* |
ryepup__ has joined #trac |
| [09:32:24] |
<coderanger_> |
pacopablo: Beware of x not is None and not x |
| [09:32:35] |
<coderanger_> |
;-) |
| [09:32:48] |
<pacopablo> |
sure :) |
| [09:33:08] |
<pacopablo> |
but: if not x: x = foo() |
| [09:33:20] |
<pacopablo> |
can easily be written: x = x or foo() |
| [09:33:24] |
<coderanger_> |
indeed |
| [09:42:27] |
* |
ryepup has quit IRC |
| [09:48:56] |
* |
ryepup_ has quit IRC |
| [09:54:19] |
<Elephant> |
hmm...I have another weird question |
| [09:54:56] |
<coderanger_> |
shoot |
| [09:55:18] |
<Elephant> |
I want to change the banner that displays at the top of the screen in my trac projects, so when I create a new trac project, it defaults to my company's "Trac project" banner |
| [09:56:10] |
<Elephant> |
as far as I can tell, the right place to do that is in trac.ini, but that file seems to be autogenerated by trac-admin initenv |
| [09:56:53] |
<coderanger_> |
The easiest way is to make a /usr/share/trac/templates/site_header.cs with it |
| [09:57:37] |
<coderanger_> |
but make sure you remove the site_header.cs from the project templates folder |
| [09:59:42] |
<Elephant> |
hmm...I don't suppose there's a way to set that up to run automatically? |
| [10:00:28] |
<coderanger_> |
make a script around trac-admin initend |
| [10:01:08] |
<coderanger_> |
usually a good idea anyway |
| [10:01:33] |
<Elephant> |
I'm using SVN Manager to create svn repos, and I modified the repo creation PHP page with |
| [10:01:34] |
<Elephant> |
exec($trac_cmd." ".$trac_dir." initenv ".$rname." sqlite:db/trac.db ".$dir." /usr/share/trac/templates"); |
| [10:02:15] |
<Elephant> |
I also tried adding a script to modify the trac.ini file that was created, but it didn't have any effect |
| [10:03:55] |
<hyperlink> |
ok I installed mod_python and it says to add a few lines to apache but they dont' make sense |
| [10:04:31] |
<Elephant> |
hmm...perhaps I'm not referencing the script file properly... |
| [10:04:48] |
<pacopablo> |
hyperlink: you mean the LoadModule lines? or the trac configuration for mod_python? |
| [10:04:59] |
<hyperlink> |
hah I think I see it on the site now |
| [10:05:16] |
<hyperlink> |
well it gave me 4 lines and had nothing to do with LoadModule |
| [10:05:24] |
<hyperlink> |
the actual mod_python for apache |
| [10:05:45] |
* |
cboos has quit IRC |
| [10:07:20] |
<hyperlink> |
ahh |
| [10:07:22] |
<hyperlink> |
I think I got it |
| [10:07:27] |
<hyperlink> |
I'm on the modpython.or gsite |
| [10:15:34] |
<hyperlink> |
sweet |
| [10:15:36] |
<hyperlink> |
I think I'm ready |
| [10:17:38] |
* |
rbp has joined #trac |
| [10:18:40] |
* |
Blackhex has joined #trac |
| [10:28:17] |
<pacopablo> |
anyone know of a function that will format floats into dollar values? |
| [10:28:29] |
<pacopablo> |
ie, with commas, and period, etc. |
| [10:29:33] |
* |
coderanger_ has quit IRC |
| [10:43:27] |
* |
xfuentes has quit IRC |
| [10:45:49] |
* |
idostyle has quit IRC |
| [10:48:28] |
<osimons> |
Elephant: I use an empty already created project as template - customized just like i want, ticket settings I want, logo added to htdocs, and keeping just the settings that are specific for the project (the rest in global trac.ini). Then it is just a matter of copying the directory tree, updating the few .ini settings, and running trac-admin upgrade + resync to make it operative. Easily scriptable. |
| [10:54:40] |
* |
cmlenz has quit IRC |
| [10:55:25] |
* |
flox has joined #trac |
| [11:06:01] |
<Elephant> |
Good idea |
| [11:06:29] |
* |
coderanger_ has joined #trac |
| [11:13:19] |
* |
mitsuhiko has quit IRC |
| [11:22:42] |
* |
neddy has joined #trac |
| [11:22:51] |
* |
cmlenz has joined #trac |
| [11:23:36] |
* |
nealc_ has quit IRC |
| [11:37:56] |
* |
idostyle has joined #trac |
| [11:42:11] |
* |
jrydberg has quit IRC |
| [11:42:48] |
* |
jrydberg has joined #trac |
| [11:44:11] |
* |
cboos has joined #trac |
| [11:53:20] |
* |
cmlenz has quit IRC |
| [11:55:14] |
* |
Elephant has quit IRC |
| [11:57:22] |
* |
hyperlink has quit IRC |
| [12:01:53] |
* |
KhaZ has quit IRC |
| [12:16:16] |
* |
Blackhex has quit IRC |
| [12:49:33] |
* |
killing-joke has quit IRC |
| [12:49:35] |
* |
Epcylon- has joined #trac |
| [12:50:04] |
* |
idostyle has quit IRC |
| [12:50:25] |
* |
idostyle has joined #trac |
| [12:56:07] |
* |
Mitja has quit IRC |
| [13:01:19] |
* |
Epcylon has quit IRC |
| [13:01:28] |
* |
Epcylon- is now known as Epcylon |
| [13:04:48] |
* |
phil_praxi1 has joined #trac |
| [13:05:06] |
<phil_praxi1> |
sorry, i forgot, where is located the autofix trac ticket script from SVN comments? |
| [13:07:08] |
<pacopablo> |
contrib |
| [13:10:12] |
* |
cmlenz has joined #trac |
| [13:11:22] |
* |
MasterC has quit IRC |
| [13:17:52] |
* |
peppelorum has quit IRC |
| [13:31:17] |
* |
phil_praxi1 has quit IRC |
| [14:02:59] |
* |
agile has quit IRC |
| [14:21:14] |
* |
maxb has quit IRC |
| [14:22:25] |
* |
maxb has joined #trac |
| [14:28:39] |
* |
milk-it has left #trac |
| [14:32:12] |
<coderanger> |
What do you guys think of this: Have trac.siteconfig check for an env var (TRAC_PREFIX maybe) so you can retarget what is normally /usr/share/trac on a more granular level? |
|