Jeff,

Would TracLegos work with Trac 10.4 or is this for Trac 11 only?

__________________________________________________
Shelly Fangman
Scientist, Enabling Technologies
EMSL: Environmental Molecular Sciences Laboratory

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Jeff Hammel
Sent: Wednesday, August 27, 2008 5:46 PM
To: [email protected]
Subject: [Trac] Re: Trac site template


On Wed, August 27, 2008 20:02, Fangman, Patricia M (Shelly) wrote:
> I'd love some advice on how to create a template of an entire Trac
site.
> For example, I want to create a new Trac site, add my customizations
> (style, fields, etc) and use this as a template to create my new
future
> Trac sites.  The idea is not to have to customize each new Trac site,
> everything is in place from the beginning.
>
> Any ideas?
> __________________________________________________
> Shelly Fangman
> Scientist, Enabling Technologies
> EMSL: Environmental Molecular Sciences Laboratory

I was going to write to the list when this was a little more usable, but
I
have been working on a project called TracLegos whose primary goal is to
enable the definition of a project template and using these templates to
create a trac project.

Essentially, I am using a subclass of PasteScript templates [1] that is
called TracProject that is intended as a definition of what a site
template is.  Currently, this is almost an empty subclass (I've only
been
working on TracLegos a few days so its still not really ready, though I
do
intend to have a considerable amount done by Monday...I'll mail the
thread
then with an update).  The idea is that each template defines a type of
project -- whether a generic type like 'client-facing', 'live errors',
'FOSS project'; or a specific type like a template for a specific
organization.  Site-configuration can be used to provide needed
variables
and other policy issues (like what type of database to use, who is part
of
what groups, etc).  The program is intended to be used either through
pastescript invocation (which will only apply one template and may have
limitations on how much it can do), command-line invocation (where you
can
use several templates and have the most flexibility), and through the
web
via a paste application that wraps trac in middleware and also may be
used
to create projects.

Very much unimplemented but needed features include:

 * format for permissions, milestones, components, and other information
settable by trac-admin

 * DB creation for non-sqlite cases

 * repository options;  this is hinted at in the web view, but none of
the
radio buttons displayed at are currently functional

 * installation of requirements for plugins via PoachEggs [2]

 * permission checking on TTW interface

 * tools to turn existing trac projects into templates

I hesitate to give the source out, as its in such an early stage that it
probably isn't useful yet, but if you are curious it is available at

https://svn.openplans.org/svn/trac/install/TracLegos/

The README might be worthwhile, though it is bit dated (documentation
never keeps up with coding).

I'd be curious if this sort of thing would be useful to people.  Also,
not
a bad time for feature requests and feedback.

Jeff

----

[1] http://pythonpaste.org/script/developer.html

[2] https://svn.openplans.org/svn/PoachEggs/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to