On Friday, November 4, 2016 at 8:12:24 AM UTC-7, Joel Chaney wrote:
>
> - Is there a missing configuration or should I be running Nginx with 
> mod_wsgi Trac and GitLab?
>
> - Does Trac connect to git repositories via GitLab on server or does Trac 
> use the git addon to communicate with a remote Gitlab repository via git?
>
> Currently running Trac 1.1.6 <https://gr3088svlnx17.grc.nasa.gov/about> 
> on mod_python in Apache2 on Ubuntu-16.04 xenial and GitLab information
> Version: 8.13.3.  When I try to add a repository using “trac-admin 
> repository add gahps /var/lib/git/gahps/ghapstools” the response is ‘Error: 
> Command not found No documentation found for 'add'. Use 'help' to see the 
> list of commands.”’  Gitlab has been configured to run on Apache2 but 
> unable to access GitLab web site on local server.
>

You can add Git repositories that reside on the same server as Trac. The 
steps for adding a repository are listed here:
https://trac.edgewall.org/wiki/1.1/TracRepositoryAdmin#QuickStart

Make sure you've enabled the Git component.
tracopt.versioncontrol.git.* = enabled

For adding the repository, try:
trac-admin $env repository add gahps /var/lib/git/gahps/ghapstools

where $env is the relative or absolute path to the environment.

- Ryan

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to