Christopher Lenz wrote:
> Am 19.10.2006 um 11:42 schrieb Luis Matos:
>   
>>> However, you will still be able to configure things like shared
>>> templates and wiki pages directories. This would be done as options
>>> to the "trac-admin initenv" command, for example:
>>>
>>>    trac-admin /var/trac/proj initenv \
>>>        --templates /etc/trac/templates \
>>>        --wiki-pages /etc/trac/wiki-pages
>>>
>>>       
>> about trac admin.
>>
>> It's good for who has access to the machine.
>>
>> Normally, with multiple projects project admins don't have it.
>>     
>
> There's a web administration interface available as a plugin that  
> will be merged into core for 0.11.
>   

i did knew it.
> Multiple projects are a different story. Trac at this point is  
> essentially a single-project tool. It provides *some* convenience  
> features that make it easier to manage multiple projects... but if  
> you want a web interface that allows you to create or delete projects  
> you'll need to write that yourself.
>   

I am using trac for multiple projects.

i want to create/delete projects by trac-admin, that's no problem. But 
add users, permissions, etc ... it is the project admin, not server 
admin, and it should be done in the web interface.

but i want a way to simply trac-admin /path/to/project initenv or just 
trac-admin new_project_name initenv (ok, misses project name, but see 
the point)


>   
>> Although, using trac-admin to create the project is not straight
>> forward, especifying several variables.
>>     
>
> I don't see why it's not straightforward. Note that in 0.11 trac- 
> admin will become simpler for simple setups (no required arguments,  
> for example), and provide more flexibility to power-users (more  
> options).
>   

i want execute trac-admin with minimum settings passed in.
i don't want to execute trac-admin --template_dir blah --blah blah , 
where all this is allways the same.

>   
>> for overdue that, my propose is to install in /etc/trac some files to
>> configure that that will overdue the trac files.
>>     
>
> "overdue"? I think you're using the wrong word here :-P
>   

by bad english ... overlap, overwrite ....
>   
>>> These command-line options are stored as regular config options in
>>> the projects trac.ini. Note that Trac would not automatically create
>>> those directories on installation, that'd be the responsibility of
>>> either the admin or the distro package.
>>>
>>>       
>> Abou trac.ini.
>> It is easier to have a full trac.ini, or some other file, that  
>> would be
>> easy to setup, again, as a config file, it should be in /etc/trac.
>>     
>
> First, Trac needs to run on non-unix platforms, where /etc/trac would  
> either not be available, or not make sense.
>   
not /etc/trac, but a c:\trac\conf

> Second, when we move to setuptools, we will have to stop scattering  
> files around the file system at install time. That means *no* /usr/ 
> share/trac, and also *no* /etc/trac.
>
>   
My point is for distributions where this can be set and easier for linux 
users.


> That does however not mean that e.g. a Debian package could not set  
> those up...
>
>   
>>> Now, to make handling of multi-environment installs somewhat easier,
>>> I would suggest we inspect a number of environment variables that can
>>> be used to provide defaults. So for example, you could define:
>>>
>>>    TRAC_TEMPLATES_DIR = /etc/trac/templates
>>>    TRAC_WIKI_PAGES_DIR = /etc/trac/wiki-pages
>>>       
>> Why don't you make a place where the package mantainers could  
>> change this.
>> It was siteconfig.py ... is it still? it should be important to  
>> define a
>> config dir at install.
>>     
>
> I said in my response that "siteconfig.py is going to be removed".  
> The whole idea is to remove that stuff and rely only on environment  
> variables, trac.ini options, and trac-admin options.
>
> A Debian package could, however, make this more convenient/familiar  
> for Debian users. For example, create an /etc/conf.d/trac file that  
> lists those environment variables, and automatically source them when  
> a trac script is run. And create/populate an /etc/trac directory.  
> However, the responsibility of all that is outside of Trac itself. We  
> just want to make sure that package maintainers *can* do those things.
>   

my apologies, i am using still 0.10 from debian etch where i cannot find 
trac.ini from where the project trac.ini is built.

this is my point. But i can have  it all from /etc/trac ... i just want 
to override (overlap ... overput ... put over)  the default interface 
style and options of trac.


I can have by project modifications allways.
>   
>> what about default roadmap. Default icons, default css ...
>>     
>
> "Default roadmap" makes no sense. The default CSS is not intended to  
> be modified/replaces. Admins can *override* it using a site stylesheet.
>   
by default roadmap i say... there are milestones that appear there. I 
prefer not to have them in new projects. Where can i remove it?


just a question... where is all this set when a project is created?
I am missing that.


> Cheers,
> Chris
> --
> Christopher Lenz
>    cmlenz at gmx.de
>    http://www.cmlenz.net/
>
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to