| [00:00:44] |
<renewbie> |
bdash: 0.8.1-3 |
| [00:00:54] |
<bdash> |
renewbie: that's a very out of date version |
| [00:00:57] |
<alect> |
jebus |
| [00:02:33] |
<renewbie> |
I tried installing manually but somehow I failed, then left it there.. now trying to install available port |
| [00:03:02] |
<bdash> |
0.9.5 is the most recent -- i'd recommend it |
| [00:03:05] |
* |
tuxipuxi has joined #trac |
| [00:03:22] |
<renewbie> |
hmm, back to square one |
| [00:03:27] |
<bdash> |
i seem to recall 0.9.x being the first versions to support FastCGI, though I could be mistaken |
| [00:03:45] |
* |
renewbie goes to verify |
| [00:06:18] |
<renewbie> |
bdash: true, its there only since 0.9.. http://projects.edgewall.com/trac/wiki/TracFastCgi |
| [00:07:10] |
<renewbie> |
looks like I have to install 9.x something.. |
| [00:07:31] |
* |
Uberriffic has quit IRC |
| [00:07:42] |
<bdash> |
renewbie: 0.9.5 |
| [00:07:56] |
<qupada> |
coderanger_: thanks for your help, i'll look into some slightly fancier code for comments in pages |
| [00:08:00] |
* |
qupada has left #trac |
| [00:08:08] |
<bdash> |
there have been security vulnerabilities in previous versions |
| [00:08:50] |
<renewbie> |
bdash: yes 0.9.x, may be 0.9.5.. |
| [00:09:38] |
<renewbie> |
bdash: how difficult it is to upgrade from version to version? |
| [00:09:45] |
<bdash> |
trivial |
| [00:10:43] |
<renewbie> |
then it should be ok, my only concern is data in it once I start using it... |
| [00:12:29] |
<bdash> |
i'm not sure what the "it" you're referring to in "then it should be ok" is |
| [00:13:25] |
* |
L33TrDaNu has joined #trac |
| [00:16:54] |
<renewbie> |
I guess I got it wrong, "it" in this case would be sqlite which I hope remain unaffected |
| [00:17:58] |
<renewbie> |
I am not going to use postgre |
| [00:21:17] |
* |
cmlenz has joined #trac |
| [00:23:50] |
* |
tuxipuxi has quit IRC |
| [00:34:34] |
<alect> |
hey chris |
| [00:39:14] |
<renewbie> |
there I have a problem again: error: invalid Python installation: unable to open /usr/lib/python2.3/config/Makefile (No such file or directory) |
| [00:42:02] |
<renewbie> |
ok, looks like I don't have development libraries for python |
| [00:50:45] |
* |
imajes has quit IRC |
| [01:04:46] |
* |
idnar has quit IRC |
| [01:04:49] |
* |
idnar_ has joined #trac |
| [01:09:36] |
* |
klando has joined #trac |
| [01:09:43] |
* |
otaku42_away is now known as otaku42 |
| [01:10:05] |
* |
Semhirage has quit IRC |
| [01:16:23] |
* |
tiago_ has joined #trac |
| [01:17:31] |
* |
tiagovaz has quit IRC |
| [01:33:40] |
* |
ValiSystM has joined #trac |
| [01:37:26] |
* |
ValiSystM has quit IRC |
| [01:37:41] |
* |
ValiSystM has joined #trac |
| [01:51:14] |
* |
idnar_ is now known as idnar |
| [01:52:00] |
<cmlenz> |
alect: what's this: http://projects.edgewall.com/trac/browser/trunk/trac/wiki/tests/model.py#L139 ? |
| [01:52:08] |
<cmlenz> |
assertTrue with two args? |
| [01:52:28] |
<cmlenz> |
that should be assertEqual, right? |
| [01:53:29] |
* |
Semhirage has joined #trac |
| [01:54:50] |
<cmlenz> |
ah, well, committed the change |
| [01:55:15] |
<alect> |
i don't see an assertTrue? |
| [01:55:24] |
<alect> |
or you just committed over it? :) |
| [01:55:40] |
<cmlenz> |
yeah, that's because [3244] :-) |
| [01:55:56] |
<cmlenz> |
note that unittest python2.3 doesn't have assertTrue |
| [01:56:10] |
<alect> |
ah |
| [01:57:52] |
<alect> |
i think it was meant to be assertTrue(page is listener.deleted_versions[0]) |
| [01:57:58] |
<alect> |
oh well |
| [01:58:28] |
<alect> |
i wish everybody used 2.4 :( |
| [02:00:50] |
<cmlenz> |
heh, yeah |
| [02:00:57] |
<cmlenz> |
I'm not, either, though ;-) |
| [02:03:09] |
<cmlenz> |
p.e.c is *really* fast right now |
| [02:04:12] |
* |
sam`_ is now known as sam` |
| [02:05:18] |
<alect> |
it sure is, it's quite impressive |
| [02:05:37] |
* |
imajes has joined #trac |
| [02:05:49] |
<alect> |
and having said that, it's not loading for me :) |
| [02:06:04] |
<s0undt3ch> |
cmlenz: where do the webadmin tickets go? |
| [02:06:09] |
<cmlenz> |
heh |
| [02:06:19] |
* |
imajes has quit IRC |
| [02:06:41] |
<cmlenz> |
I should create a webadmin component |
| [02:06:48] |
<s0undt3ch> |
yup |
| [02:07:00] |
<alect> |
for what? |
| [02:07:18] |
<cmlenz> |
for tickets against WebAdmin |
| [02:07:21] |
<s0undt3ch> |
my template can be called like [[T()]] or [[Include()]], can I know how I called it? |
| [02:07:23] |
<alect> |
ah |
| [02:07:41] |
<s0undt3ch> |
from inside the macro of course |
| [02:07:45] |
<cmlenz> |
s0undt3ch: done |
| [02:07:49] |
<alect> |
srry, got "component" and trac.core.Component mixed up :) |
| [02:08:09] |
<alect> |
speaking of webadmin, i wrote a plugin for the new config stuff: http://trac-hacks.org/wiki/IniAdminPlugin |
| [02:09:00] |
<s0undt3ch> |
cmlenz: I asked that because I think there should be some more improvements on the webadmin plug. Because webadmin option on the tabs part, these should also be foldable |
| [02:09:14] |
<s0undt3ch> |
*opyions |
| [02:09:16] |
<s0undt3ch> |
errr |
| [02:09:20] |
<s0undt3ch> |
*options |
| [02:09:21] |
<alect> |
hehe |
| [02:09:53] |
<cmlenz> |
alect: nice... but I'd rather see a "real" interface for the various options... and maybe a simpler raw config view/editor |
| [02:10:29] |
<s0undt3ch> |
so, any idea on how to know how my macro was called? or do I have to create a stubb and derive form that |
| [02:10:30] |
* |
jml has quit IRC |
| [02:10:32] |
<s0undt3ch> |
? |
| [02:11:10] |
<cmlenz> |
the macro name is passed to render_macro(), no? |
| [02:11:11] |
<s0undt3ch> |
man, my typing is pretty bad :) |
| [02:11:53] |
<s0undt3ch> |
he he, aparently yes, let me see if that works |
| [02:12:12] |
<alect> |
cmlenz: yeah, i figured you'd think that |
| [02:12:35] |
<alect> |
saves me much ssh-over-slow-link hassle though, and has documentation inline |
| [02:12:38] |
<alect> |
mm docs |
| [02:13:33] |
<alect> |
i just found a webadmin bug...if you have two subsections with the same name in different sections, they both get highlighted |
| [02:13:44] |
<s0undt3ch> |
cmlenz: thanks ;) that's the way to go... |
| [02:14:12] |
<cmlenz> |
alect: you should have commit access to the webadmin code ;-) |
| [02:14:28] |
<alect> |
heh :P |
| [02:14:41] |
<cmlenz> |
btw, wanted to ask... what was this about: http://projects.edgewall.com/trac/changeset/3239 ? |
| [02:15:01] |
<cmlenz> |
doesn't that mean that if I set an option to False, which overrides the default True, that won't be saved? |
| [02:16:29] |
<s0undt3ch> |
man, by that litle name passed to the render macro, my plug just got much better ;) |
| [02:16:30] |
<alect> |
you can't set ConfigParser options to False afaik |
| [02:16:58] |
<cmlenz> |
alect: but then we should write out "false" instead |
| [02:17:09] |
<alect> |
it's for the case where current ends up being False due to the logic operation |
| [02:17:11] |
<cmlenz> |
(and obviously, "true" for TRue) |
| [02:17:26] |
<alect> |
ie. you do not have that option set at all |
| [02:17:34] |
<alect> |
in which case, current evaluates to False |
| [02:17:43] |
<cmlenz> |
hmm |
| [02:17:54] |
<cmlenz> |
but that's still not quite right, I think |
| [02:17:59] |
<alect> |
previously, it used to then see current != default, and write out an empty value |
| [02:18:02] |
<alect> |
why not? |
| [02:18:14] |
<cmlenz> |
hmm |
| [02:18:25] |
<alect> |
current can never be False unless the bool evaluates to False |
| [02:18:28] |
<alect> |
afaik |
| [02:18:40] |
<cmlenz> |
for i in range(100): print 'hmm' |
| [02:18:44] |
<alect> |
haha :) |
| [02:18:54] |
<cmlenz> |
yeah, you're write |
| [02:19:06] |
<cmlenz> |
an explicitly set value retrieved via get() will always be a string |
| [02:19:13] |
<alect> |
yeah |
| [02:19:13] |
<cmlenz> |
and thus cannot be False/True |
| [02:23:11] |
* |
sam`_ has joined #trac |
| [02:30:08] |
* |
sam` has quit IRC |
| [02:32:17] |
<alect> |
'hmm' * 100 |
| [02:32:33] |
<alect> |
workflow hustle |
| [02:32:34] |
<alect> |
:) |
| [02:40:35] |
* |
Erestar has quit IRC |
| [02:50:08] |
<cmlenz> |
hehe |
| [02:56:39] |
* |
sam` has joined #trac |
| [03:06:06] |
* |
sam`_ has quit IRC |
| [03:11:16] |
* |
eblot has joined #trac |
| [03:18:35] |
<renewbie> |
well, I installed trac but a little confusion about TRAC_ENV_PARENT_DIR or TRAC_ENV, what do I specify here? |
| [03:18:46] |
<renewbie> |
what does it exactly mean? |
| [03:19:13] |
<s0undt3ch> |
renewbie: are you running only one trac env or several? |
| [03:20:20] |
<renewbie> |
s0undt3ch: I am not sure what env mean in this case but I want to keep track of multiple projects |
| [03:21:12] |
<s0undt3ch> |
your running apache with mod_python right? |
| [03:21:12] |
<renewbie> |
so I understand from guide that I need to specify TRAC_ENV_PARENT_DIR |
| [03:21:30] |
<s0undt3ch> |
only for multiple projects |
| [03:21:41] |
<renewbie> |
yes, for multiple projects |
| [03:22:02] |
<renewbie> |
what will be there in this directory? |
| [03:22:05] |
<s0undt3ch> |
for an env on an url like, http://project.domain.com you specify TRAC_ENV |
| [03:22:27] |
<s0undt3ch> |
if all your projects are under for example /var/trac/ |
| [03:22:45] |
<s0undt3ch> |
for that url you would put TRAC_ENV /var/trac/project |
| [03:23:07] |
<s0undt3ch> |
for an url wich will provide access to all trac envs |
| [03:23:20] |
<s0undt3ch> |
for example http://dev.domain.com |
| [03:23:36] |
<s0undt3ch> |
you would use TRAC_ENV_PARENT_DIR /var/trac/ |
| [03:24:01] |
<renewbie> |
ok, and httpd://dev.domain.com will provide access to all projects, is it? |
| [03:24:03] |
<s0undt3ch> |
and when browsing http://dev.domain.com you'd get a listing of all trac envs available |
| [03:24:14] |
<s0undt3ch> |
yes |
| [03:24:20] |
<s0undt3ch> |
for project1 |
| [03:24:27] |
<s0undt3ch> |
http://dev.domain.com/project1 |
| [03:24:30] |
<s0undt3ch> |
for project2 |
| [03:24:32] |
<s0undt3ch> |
http://dev.domain.com/project2 |
| [03:24:42] |
<s0undt3ch> |
makes sence now? |
| [03:25:40] |
<renewbie> |
yes, very much |
| [03:27:03] |
<renewbie> |
my trac instalation is under /usr/share/trac but I usually I keep all data under /var and particularly all web data under /var/www on my local box |
| [03:27:27] |
<renewbie> |
so my prefix should have been /var/www instead of /usr/share |
| [03:27:35] |
<renewbie> |
is it correct? |
| [03:27:40] |
<s0undt3ch> |
renewbie: under /usr/share/trac are things like templates htdocs, not your trac envs |
| [03:27:46] |
<s0undt3ch> |
nope |
| [03:27:51] |
<renewbie> |
hmm, ok |
| [03:28:21] |
<renewbie> |
so all templates will be accessed from there but actual data will reside under whatever TRAC_ENV_PARENT_DIR I specify |
| [03:28:39] |
<s0undt3ch> |
you should store the trac envs on a dir like /var/trac or something |
| [03:28:48] |
<s0undt3ch> |
yes |
| [03:32:05] |
<s0undt3ch> |
you can probably also read http://projects.edgewall.com/trac/wiki/TracInterfaceCustomization because you can override some of the templates, and info is there on that package, I'm only saing this because "so all templates will be accessed from there but actual data will reside under whatever TRAC_ENV_PARENT_DIR I specify" is not totally corrrect |
| [03:32:28] |
<s0undt3ch> |
you can also have templates for a specific trac env, but that idea you have should get you started |
| [03:33:37] |
<s0undt3ch> |
ppl, how do I use the attachment syntax provider for linking files? |
| [03:33:56] |
<s0undt3ch> |
for pages we use [wiki:ThePage], for attachemts? |
| [03:36:46] |
<s0undt3ch> |
nevermind |
| [03:43:11] |
<renewbie> |
s0undt3ch: thank you for giving me a kickstart |
| [03:43:17] |
<s0undt3ch> |
renewbie: np |
| [03:43:45] |
<renewbie> |
sorry to see no one answring your query.. and I am still a novice.. |
| [03:46:12] |
<s0undt3ch> |
I've answered my own question, it's an answer built in trac's defaul wiki pages ;) |
| [03:46:53] |
* |
Hydra_ has joined #trac |
| [03:49:47] |
* |
jml has joined #trac |
| [03:51:32] |
<renewbie> |
good to hear, hope to find my answers myself, but sometimes I find it important to have someone giving feedback or maybe help.. |
| [03:54:17] |
<s0undt3ch> |
renewbie: than for trac's questions, this IS the place to post them |
| [03:54:54] |
<s0undt3ch> |
cmlenz: your emotions plugin should exclude any page found under the /admin handler |
| [03:58:33] |
* |
sam`_ has joined #trac |
| [03:59:14] |
* |
ValiSystM has quit IRC |
| [04:01:18] |
<renewbie> |
s0undt3ch: got trac running, it is showing page titled "Available Projects", since there are no projects it is just showing that text.. |
| [04:01:59] |
<renewbie> |
but is it supposed to be a plain html page without any css etc? |
| [04:04:48] |
<Narada> |
how to rename a wiki page |
| [04:05:04] |
* |
goldeagle has quit IRC |
| [04:08:05] |
* |
sam` has quit IRC |
| [04:08:12] |
<s0undt3ch> |
renewbie: yes or you can optionally create a clearsilver template to custumize the looks like seen here http://dev.ufsoft.org (my domain), nevermind those error right now, the list should be where the errors are ;) |
| [04:08:29] |
<Narada> |
argh why the heck can't you rename a wiki page? this is like core feature! |
| [04:08:29] |
<s0undt3ch> |
Narada: http://trac-hacks.org/wiki/WikiRenameScript |
| [04:08:40] |
<Narada> |
hmm |
| [04:10:39] |
<s0undt3ch> |
renewbie: http://projects.edgewall.com/trac/wiki/TracInterfaceCustomization#ProjectList |
| [04:11:49] |
<s0undt3ch> |
why the heck none of my projects need to be upgraded, but my project listing under mod_python says they do? |
| [04:14:21] |
<s0undt3ch> |
this only happens sometimes |
| [04:14:40] |
<s0undt3ch> |
renewbie: now my project listing is ok, see it -> http://dev.ufsoft.org/ |
| [04:14:46] |
<Narada> |
woohoo i just deleted and recreated the wiki page (cheating) :P |
| [04:15:05] |
<s0undt3ch> |
Narada: your right, that should be core functionality :) |
| [04:15:10] |
<Narada> |
indeedy! |
| [04:15:26] |
<s0undt3ch> |
place a ticket if there not one for that already |
| [04:15:27] |
<Narada> |
trac-admin /path/ wiki rename <page> :) |
| [04:15:46] |
<Narada> |
man i would kill for that (well not really) |
| [04:15:59] |
<s0undt3ch> |
nope, a simple button on the wiki page that would allow the page to be renamed |
| [04:16:28] |
<s0undt3ch> |
probably needing WIKI_ADMIN perms only though |
| [04:16:30] |
<Narada> |
i'm just a command line freak |
| [04:16:51] |
<Narada> |
s0undt3ch: but it would be a major omission from trac-admin considering every other action is in there |
| [04:16:57] |
<s0undt3ch> |
of course trac-admin should be able to support it |
| [04:17:02] |
<Narada> |
yes exactly |
| [04:17:17] |
<renewbie> |
s0undt3ch: looks cool |
| [04:17:29] |
<renewbie> |
did you edit the template? |
| [04:17:48] |
<s0undt3ch> |
no I created it followin the example on that link I passed you |
| [04:17:56] |
<s0undt3ch> |
http://projects.edgewall.com/trac/wiki/TracInterfaceCustomization#ProjectList |
| [04:18:20] |
<s0undt3ch> |
bbl |
| [04:22:42] |
<renewbie> |
s0undt3ch: so instead of specifying my custom template, I can specify the default template as well? |
| [04:22:58] |
<renewbie> |
is it same as we can see on trac site? |
| [04:28:08] |
* |
jml has quit IRC |
| [04:31:18] |
<renewbie> |
How can I specify to use default clearsilver template? |
| [04:46:12] |
* |
goldeagle has joined #trac |
| [04:47:37] |
<cmlenz> |
bdash: http://projects.edgewall.com/trac/changeset/3246 |
| [04:48:10] |
<cmlenz> |
now that the webkit trac link has been blogged on surfin' safari, I thought we need to fix those messages ;-) |
| [04:48:59] |
* |
peppelorum has quit IRC |
| [04:49:18] |
<cmlenz> |
s0undt3ch: re: EmoticonsPlugin... why? |
| [04:49:48] |
<bdash> |
cmlenz: ah, cool :) |
| [04:50:54] |
* |
jml has joined #trac |
| [04:51:38] |
* |
peppelorum has joined #trac |
| [04:52:39] |
* |
oferw_ has joined #trac |
| [04:53:45] |
<bdash> |
cmlenz: the timeline looks less than stunning now, but changeset pages look much improved |
| [04:54:14] |
<cmlenz> |
ugh |
| [04:54:14] |
* |
ValiSystM has joined #trac |
| [04:54:20] |
<cmlenz> |
the timeline looks rather wrong |
| [04:54:27] |
<cmlenz> |
I'll check that |
| [04:55:18] |
<bdash> |
it'd be nice if http://../ in changeset messages would still be auto-linked, but its pretty obvious why it's less than simple to do :) |
| [04:55:35] |
<cmlenz> |
heh |
| [04:57:48] |
<cmlenz> |
bdash: timeline fixed |
| [04:57:55] |
<bdash> |
cmlenz: it also appears to default to false? |
| [04:58:07] |
<bdash> |
cmlenz: eg, it defaults to not wiki-formattting |
| [04:58:18] |
<cmlenz> |
yeah |
| [04:58:24] |
<cmlenz> |
but I fixed that in a follow-up checkin |
| [04:58:30] |
<cmlenz> |
[3247] |
| [04:59:19] |
<bdash> |
:-) |
| [04:59:41] |
<s0undt3ch> |
cmlenz: if :) if found on an admin page, that will become an emoticon, and there no need to do that there right? |
| [05:00:12] |
<cmlenz> |
s0undt3ch: I don't get it tbh :-P |
| [05:00:15] |
<s0undt3ch> |
renewbie: what do you mean by custom/default |
| [05:00:31] |
<s0undt3ch> |
cmlenz: yesterday I got one, lemme check |
| [05:00:46] |
* |
cprov has joined #trac |
| [05:00:51] |
<cmlenz> |
I mean, I don't *understand* ;-) |
| [05:01:03] |
<s0undt3ch> |
I'll show it to you |
| [05:02:34] |
<bdash> |
cmlenz: it's definitely an improvement -- thanks for that :-) |
| [05:03:04] |
<cmlenz> |
bdash: np :-) |
| [05:03:16] |
<cmlenz> |
now how "official" is the webkit trac? |
| [05:03:47] |
<cmlenz> |
someone working on styling it a bit... or even just replacing the logo? ;-) |
| [05:04:29] |
<renewbie> |
s0undt3ch: when I see localhost/trac I see just plain title "Available Projects" |
| [05:04:44] |
<bdash> |
cmlenz: it's official enouhg that it's linked to from a few places on webkit.org :-) |
| [05:04:53] |
<bdash> |
cmlenz: and no, no-one has thought about that side of things yet |
| [05:06:01] |
<cmlenz> |
bdash: I could give "that side of things" a try if that'd be of interest... done quite a couple of trac layout customizations |
| [05:06:36] |
<bdash> |
cmlenz: sure, that'd definitely be appreciated :) |
| [05:07:07] |
<cmlenz> |
what theme should that be using? surfin' safari or the nightlies page, or? |
| [05:07:31] |
<s0undt3ch> |
cmlenz: http://ufsoft.org/imgs/screen.png |
| [05:07:33] |
<cmlenz> |
webkit.opendarwin.org, I suppose |
| [05:07:44] |
<bdash> |
cmlenz: like webkit.org, yeah |
| [05:08:05] |
<cmlenz> |
s0undt3ch: well, those instances are bugs in the regexp |
| [05:08:18] |
<cmlenz> |
s0undt3ch: those can also happen in other places (I've had them happen) |
| [05:08:33] |
<s0undt3ch> |
oh |
| [05:08:51] |
<s0undt3ch> |
still it should be fixed right? :) |
| [05:09:09] |
<cmlenz> |
yeah, but differently |
| [05:09:37] |
<s0undt3ch> |
renewbie: do you have any envs yet? |
| [05:09:38] |
<cmlenz> |
(i.e. using proper word boundaries) |
| [05:09:56] |
<s0undt3ch> |
cmlenz: exact, still I love that plug :) |
| [05:10:04] |
<s0undt3ch> |
gives us more expression :) |
| [05:10:35] |
<cmlenz> |
heh |
| [05:11:50] |
<renewbie> |
s0undt3ch: no, not yet |
| [05:12:19] |
<s0undt3ch> |
so nothing else should be there |
| [05:12:30] |
<renewbie> |
yes but not even UI |
| [05:12:33] |
<s0undt3ch> |
or are you using that project listing template? |
| [05:12:54] |
<renewbie> |
I haven't specified any template yet |
| [05:13:21] |
<s0undt3ch> |
then a blank page with avalable projects is what you get |
| [05:14:06] |
<renewbie> |
from page you suggested above it isn't clear what page extension it should have.. |
| [05:14:13] |
* |
oferw_ has quit IRC |
| [05:14:15] |
<s0undt3ch> |
.cs |
| [05:14:19] |
<renewbie> |
ok |
| [05:14:26] |
<s0undt3ch> |
it's a clearsilver template |
| [05:15:35] |
<renewbie> |
ok, so I can use templates from /usr/share/trac/templates/ |
| [05:18:05] |
<s0undt3ch> |
renewbie: well, you should stick with the example shown on that link I gave you unless you really know what you're doin', though you can look at those to see how things are done |
| [05:19:47] |
<s0undt3ch> |
...because each template has it's own set of dynamic var, so you can't just choose one to use |
| [05:20:36] |
<s0undt3ch> |
cmlenz: is this possible -> http://wikitemplates.ufsoft.org/ticket/9 it's a plugin that provides a macro |
| [05:27:20] |
<cmlenz> |
is what possible? |
| [05:28:01] |
<cmlenz> |
you can only use a fixed set of macro names |
| [05:28:30] |
<cmlenz> |
but if you know which names you support (e.g. by looking at which templates are available), then you can return that list from get_macro_names() |
| [05:29:31] |
* |
milk-it has joined #trac |
| [05:31:32] |
* |
sam`_ is now known as sam` |
| [05:32:16] |
<s0undt3ch> |
cmlenz: well, there ain't gonna be a fixed list of names |
| [05:33:02] |
<alect> |
hmm |
| [05:33:20] |
<s0undt3ch> |
i'd have to be able to call my macro like T- |
| [05:33:46] |
<s0undt3ch> |
the rest would be an re.match wich would call the right template? |
| [05:33:59] |
<s0undt3ch> |
seems too much for such a litle thing |
| [05:34:57] |
* |
bir_ has joined #trac |
| [05:36:28] |
* |
renewbie has quit IRC |
| [05:38:37] |
* |
tuxipuxi has joined #trac |
| [05:44:44] |
* |
peppelorum has quit IRC |
| [05:48:33] |
* |
renewbie has joined #trac |
| [05:49:19] |
<alect> |
spam! #3083 |
| [05:50:10] |
<renewbie> |
there is not trac.ini in my installation in /usr/share/trac . Do I have to create it? if am I looking at wrong place? |
| [05:51:25] |
<renewbie> |
not/no |
| [05:51:56] |
* |
jml has quit IRC |
| [05:51:58] |
<Riccc> |
nope renewbie |
| [05:52:18] |
<Riccc> |
try a sudo updatedb && locate trac.ini |
| [05:53:00] |
<Riccc> |
(or directly locate trac.ini , if your db is already updated :p ) |
| [05:53:53] |
<renewbie> |
nothing returned |
| [05:55:54] |
<renewbie> |
mine is a custom installation.. |
| [05:56:04] |
<renewbie> |
I mean manual.. |
| [05:57:18] |
<renewbie> |
according to http://projects.edgewall.com/trac/wiki/TracIni it should be at $prefix/share/trac/conf/trac.ini |
| [05:58:11] |
<renewbie> |
but my installation is in /usr/share/trac so my prefix is /usr/share isn't? |
| [05:58:40] |
* |
MasterC has joined #trac |
| [06:06:15] |
* |
tuxipuxi is now known as tipitapu |
| [06:15:36] |
<s0undt3ch> |
renewbie: well, aparently yes, but have you created your trac env? trac-admin /path/to/trac/env initenv |
| [06:16:08] |
* |
goldeagle has quit IRC |
| [06:19:09] |
<s0undt3ch> |
renewbie: try this mkdir /var/trac/ && trac-admin /var/trac/ProjectName initenv |
| [06:19:38] |
<renewbie> |
s0undt3ch: I did that |
| [06:19:58] |
<renewbie> |
s0undt3ch: I can see my env now and can browse |
| [06:20:06] |
<s0undt3ch> |
renewbie: great ;) |
| [06:20:34] |
<renewbie> |
but I want previous page to be seen like we see on trac home |
| [06:20:59] |
<renewbie> |
I tried to create a template but it died on me so I reverted all changes |
| [06:21:10] |
<renewbie> |
anyways.. |
| [06:21:22] |
<renewbie> |
I will find it out.. |
| [06:21:23] |
<s0undt3ch> |
lol, that will mean a lot of work, you have to check what css classes/ids are used and create a template like that :) |
| [06:21:38] |
<renewbie> |
hmm, ok |
| [06:21:42] |
* |
idnar has quit IRC |
| [06:21:48] |
* |
idnar_ has joined #trac |
| [06:22:02] |
<renewbie> |
getting design ready, making css etc is my hated job |
| [06:22:18] |
<s0undt3ch> |
still, not all necessary vars to recreate the whole looks might not be available to the template |
| [06:23:29] |
<renewbie> |
s0undt3ch: one more thing.. my template for the env does not have those pixel like images at the top in header |
| [06:25:03] |
<renewbie> |
where should I look for it if I want to add 'em up? |
| [06:28:57] |
<s0undt3ch> |
lol, the one found on pec? |
| [06:29:06] |
<s0undt3ch> |
lol, the ones found on pec? |
| [06:29:11] |
<s0undt3ch> |
@pec |
| [06:29:11] |
<evil_twin> |
s0undt3ch: "pec" is (#1) http://projects.edgewall.com/trac, or (#2) http://projects.edgewall.com |
| [06:30:05] |
<s0undt3ch> |
if that's the ones your talking about then that's custom to pec and not part of trac |
| [06:30:35] |
* |
jml has joined #trac |
| [06:31:39] |
<renewbie> |
s0undt3ch: I am referring to (#1) |
| [06:32:25] |
<renewbie> |
anyways.. thats secondary thing but now new issue has cropped up |
| [06:32:42] |
<s0undt3ch> |
yup, those found there are made by pec, not part of trac(the application) |
| [06:33:30] |
<renewbie> |
seems like my svn repository does not have necessary rights so its failing when I click on "browse source" |
| [06:34:11] |
<s0undt3ch> |
the trac envs and svn repos should be owned by the user running the webserver |
| [06:35:18] |
<renewbie> |
s0undt3ch: thanks a ton. Its done and working |
| [06:35:52] |
<s0undt3ch> |
great |
| [06:35:54] |
<renewbie> |
I made a mistake that I just change the ownerships of repository directory |
| [06:36:03] |
<renewbie> |
not recursive.. |
| [06:36:13] |
<renewbie> |
and hence that error |
| [06:38:23] |
<s0undt3ch> |
happens all the time |
| [06:40:08] |
* |
tic_ has joined #trac |
| [06:43:05] |
* |
goldeagle has joined #trac |
| [06:46:00] |
* |
tic_ has quit IRC |
| [06:54:57] |
* |
danbeck has joined #trac |
| [06:58:43] |
<s0undt3ch> |
Arc: My plug now contemplate all your [[Include()]] requirements, now, I jys need to release it. |
| [06:59:10] |
* |
MasterC has quit IRC |
| [07:02:49] |
* |
idostyle has quit IRC |
| [07:07:42] |
* |
cprov is now known as cprov-office |
| [07:09:06] |
* |
mofo has joined #trac |
| [07:10:40] |
* |
goldeagle has quit IRC |
| [07:16:19] |
* |
coderanger_ has quit IRC |
| [07:17:58] |
* |
xkb has joined #trac |
| [07:18:01] |
<xkb> |
hi |
| [07:20:24] |
<xkb> |
is it possible to use trac with users that can't browse source? |
| [07:21:41] |
* |
goldeagle has joined #trac |
| [07:22:45] |
* |
cprov has joined #trac |
| [07:22:47] |
<s0undt3ch> |
xkb: yes, check svnauthz |
| [07:23:05] |
<xkb> |
ok.. but does the |
| [07:23:11] |
<xkb> |
"browse source |
| [07:23:17] |
<xkb> |
darned keyboard |
| [07:23:24] |
<xkb> |
menu item also disappear? |
| [07:23:48] |
<s0undt3ch> |
you allow deny users to browse or not the whole source, or only some dirs |
| [07:23:51] |
<s0undt3ch> |
about the menu |
| [07:23:57] |
* |
coderanger_ has joined #trac |
| [07:24:45] |
<s0undt3ch> |
if you check your envs permission list you'll see the the anonymous user has BROWSER_VIEW |
| [07:25:05] |
<s0undt3ch> |
just remove that perm, and they won't be able to browse source nor see the button |
| [07:25:13] |
<xkb> |
ok. that's nice |
| [07:25:30] |
<xkb> |
just installed trac under windows, which was a real pain.. |
| [07:25:37] |
<xkb> |
manually installing all dependencies |
| [07:26:16] |
<s0undt3ch> |
you could also add BROWSER_VIEW to authenticated users, so these can browse |
| [07:27:00] |
<s0undt3ch> |
but anonymous won't, else, only TRAC_ADMIN or a user with BROWSER_VIEW perm will be able to browse the source tree |
| [07:31:14] |
* |
xkb has quit IRC |
| [07:31:15] |
* |
xkb has joined #trac |
| [07:35:06] |
* |
sam`_ has joined #trac |
| [07:39:37] |
* |
tipitapu is now known as tuxipuxi |
| [07:41:46] |
* |
sam` has quit IRC |
| [07:41:48] |
* |
sam`_ is now known as sam` |
| [07:47:34] |
* |
jml has quit IRC |
| [07:54:36] |
<s0undt3ch> |
cmlenz: In order to provide diferent __doc__ for each of the yield names I use on my macro list, I should separate both macros or there's a way to provide a documentation for each of the yields? |
| [07:55:14] |
<s0undt3ch> |
like it is, both my macro names show the same documentation on [[MacroList]] macro |
| [07:55:19] |
<cmlenz> |
sure there is, you just return some string depending on the requested name |
| [07:55:20] |
* |
MasterC has joined #trac |
| [07:55:38] |
<cmlenz> |
i.e. it doesn't need to be the docstring |
| [07:55:52] |
<cmlenz> |
that's just for convenience |
| [07:55:55] |
<s0undt3ch> |
wonderfull |
| [ |