Tim Moloney | 6 Jul 2004 17:38

Re: patch for trac-admin initenv

Felix Collins wrote:

> Hi All,
> On the 9th of June I submitted a patch for the trac-admin script to 
> allow non-interactive command line calling of the script with the 
> initenv subcommand.

I started using Trac just after this.  Although I scanned the mailing
list archive, I must not have noticed your post.  Sorry.

> This is useful for my situation because I allow users to automatically 
> generate a new project (Trac Project and Subversion repository) without 
> requiring admin intervention (hopefully).

I agree.  I have posted changes which are a superset of yours that move
all of the functionality from trac-admin (just leaving the user
interface) to another file.  The idea is that different user interfaces
or scripts can access the administration functions without having to
call trac-admin.

My latest post on this is here:
   http://lists.edgewall.com/archive/trac/msg00442.html

> Nobody had any comments.  Did anyone read the patch?  Does anyone else 
> need to call initenv like this?  Was this totally irrelevant to the rest 
> of the world?

I only received one comment on my changes which was positive.  =)

> All comments welcome.

I plan on doing a little bit of cleanup on my changes and maybe even
write a GUI version of trac-admin.  Before I do that, I'll take a
look at your patch to make sure that what I provide won't prevent
you from doing what you're doing now.

If you have the time, please take a look a my patch and let me know
if my changes also address your need.

Thanks.

--

-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road                             \     /
Sarasota, FL  34232                     .________\(O)/________.
(941) 377-6775 x208                        '  '  O(.)O  '  '

Gmane