Dom, 2006-10-15 às 22:32 -0200, Otavio Salvador escreveu:
> Luis Matos <[EMAIL PROTECTED]> writes:
> > Just some thoughts.
> >
> > There should be a place where we could change things like logos and
> > organizational info (logos, titles and other info), in general.
> > Customize the default pages to create in wiki.
> > Customize the views.
> >
> > i think this place is /etc/trac , so we have to change into there some
> > material. I can easily (i think) provide a patch to this.
> 
> Yes. I agree but we need to find the right way to make it flexible
> enough while we don't diverge too much from upstream too.

i have been looking into the source package (i did not saw the the
package source before) and i my conclusions are:

 - we can skip the use of setup.py in installing trac. instead we can
use the install file from /debian dir. This would give us some freedom.
Looking for that file, i only copies things and creates the
siteconfig.py file.
 - patch trac/siteconfig.py to rearrange directory locations, it should
be transparent. changing this would change all behavior of trac. i'll
test.
 - siteconfig.py should instead load a conf file from /etc/trac in
wiki-default dir, htdocs dir (aka logos and css default stuff dir).
 This way we can solve the default environment creation problem, for
multiple projects (maybe add some debian branding :P).



> 
> > about upgrade ...
> >
> > there should be a debconf option where we can put a list of dirs to
> > projects in 2 ways:
> >  - several projects we can have main dir for all, and conf would check
> > all subdirs for trac projects
> >  - singular projects - check the dir for project.
> 
> I don't think we need to support singular projects.
> 
> Even when we have just one project, we might use the same place.
> 
> For example, at our company server we have all projects in
> /var/lib/trac/<project>

true, i run it from /home/trac, because /home is in a special partition.


> 
> But to it works fine, we'll need to provide wrappers against
> trac-admin that enforce the use of the path otherwise will be
> difficult to ensure it'll work for most of users.
> 
as i said, we can ask for that path, or multiple paths. and then call
trac-admin to upgrade them.


-- 
Best Regards,
--
Luis Matos



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to