Abtin,
We have the following with success. I am presenting this as an example of
using
multiple instances of Trac browsers for an enterprise to give visibility
to the
various subversion repositories and possible virtual subdirectories that are
related to specific enterprise project management processes.
/export/svn/repos/*
Repository_1 (infra_admin)
Repository_2 (documents)
Repository_3 (common_libs)
Repository_4
Repository_5
Repository_6
Repository_7
Repository_8
Repository_9 (sandbox)
/export/trac/*
Project_1 -- InterTrac Prefix P1
ref: Repository_1 (infra_admin)
ref: Repository_2
ref: Repository_3
Project_2 -- InterTrac Prefix P2
ref: Repository_2
ref: Repository_3
ref: Repository_4
ref: Repository_5
ref: Repository_6
ref: Repository_7
ref: Repository_8
Project_3 -- InterTrac Prefix P3
ref: Repository_2
ref: Repository_3
ref: Repository_4
ref: Repository_7/subdir/path1
ref: Repository_8/subdir/path2
Project_4 -- InterTrac Prefix P4
ref: Repository_2
ref: Repository_3
ref: Repository_5
ref: Repository_6
ref: Repository_7/subdir/path3
ref: Repository_8/subdir/path4
Project_5 -- Sandbox
ref: Repository_9 (sandbox)
The Trac Projects have visibility to the subversion repository heads and
virtual subdirectory paths. Any modification to a subversion repository
issues a callback hook for each of the referencing Trac Projects.
Each project is given an InterTrac prefix so that specific project-specific
tickets can be readily referenced by repository commit messages. All
Trac projects referencing a given repository see all updates committed to
that repository. This is why we use InterTrac prefixes in our commit
messages so that the appropriate project-specific tickets can be retrieved.
We don't allow a repository commit to modify a project ticket status.
In your case, you might try using an InterTrac prefix to identify the
specific project ticket requiring a status update or content edit.
It is advisable to synchronize all Trac Project Browsers with the current
state of the referenced subversion repositories on each commit. Therefore,
all referencing Trac Projects get copies of all commit messages for each
subversion repository as part of the synchronization.
Users are encouraged to use the InterTrac prefixes in their commit messages
when specific Trac Projects and help-desk tickets are related to a repository
commit or checkin.
We also have in our enterprise some various help-desk management systems
that do not have visibility into subversion repositories. These help-desk
systems have been given InterWiki links that can be placed in repository
commit messages. This allows for Trac Projects to see related help-desk
tickets when viewing the repository commit logs.
We use Apache2 webserver to administer the repository access permissions
and the Trac logins. We also use a mix of LDAP to Active Directory
systems and file-based authentication. We also use a mix of LDAP and
file-based access authorizations. Our hosting has been prototyped on
both Debian and RedHat systems.
Beware: the devil is big in the configuration details.
Steven J. Hathaway
Systems Integrator
Criminal Justice Information Systems
>
>
> Hello,
>
>
>
> I am trying to have the following set up.
>
>
>
> Assume that my customer has two different project developments in one SVN
> repository, project A and project B. Project A and project B are also
> sharing the same Trac repository. My customer is asking me to do the
> following:
>
>
>
> · Both Project A and B are going to share the same SVN
> repository.
>
> · Project A and B need to have their own Trac repository.
>
> · When there is a commit on the project A part of the SVN
> repository, the referenced ticket on the Trac repository A needs to be
> updated.
>
> · When there is a commit on the project B part of the SVN
> repository, the referenced ticket on the Trac repository B needs to be
> updated.
>
>
>
> I looked at *
http://trac.edgewall.org/wiki <
http://trac.edgewall.org/wiki>
> *and
> I didn’t find anything about one SVN repositoriy for multiple Trac
> repositories. I was wondering if this capability exists? If yes, then
> could you provide the link so I can read and learn?
>
>
>
> Thank you for any help you can provide in this situation.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
trac-users+...@googlegroups.com.
> To post to this group, send email to
trac-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/trac-users.
> For more options, visit
https://groups.google.com/d/optout.
>