Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

trac svn access

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


ben.lausman at gmail

Aug 1, 2013, 7:37 AM

Post #1 of 5 (61 views)
Permalink
trac svn access

Hi all!

I have a trac instance setup that is being served with apache and mod_wsgi.

I have an svn repo setup on the same machine and trac is able to browse it.

Now I would like to set it up so my developers can have access to the svn
repo from their local machines.

What is the best way to achieve this without destroying my mod_wsgi config?

Also, is there some way for users to access the svn repo from the browser
and add files to it?


Cheers!


Ben

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


dmaziuk at bmrb

Aug 1, 2013, 9:18 AM

Post #2 of 5 (58 views)
Permalink
Re: trac svn access [In reply to]

On 08/01/2013 09:37 AM, gigabot wrote:
> Hi all!
>
> I have a trac instance setup that is being served with apache and mod_wsgi.
>
> I have an svn repo setup on the same machine and trac is able to browse it.
>
> Now I would like to set it up so my developers can have access to the svn
> repo from their local machines.
>
> What is the best way to achieve this without destroying my mod_wsgi config?

mod_dav_svn, svn+ssh://, file:/// -- it depends on what you want.

> Also, is there some way for users to access the svn repo from the browser
> and add files to it?

mod_dav_svn (see e.g. http://wiki.centos.org/HowTos/Subversion), but if
you want it visible from big bad internet you may have to deal with
authentication, encrypting the passwords, and all that.

--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Attachments: signature.asc (0.25 KB)


ben.lausman at gmail

Aug 1, 2013, 1:12 PM

Post #3 of 5 (56 views)
Permalink
Re: trac svn access [In reply to]

On Thursday, August 1, 2013 12:18:14 PM UTC-4, Dimitri Maziuk wrote:
>
> On 08/01/2013 09:37 AM, gigabot wrote:
> > Hi all!
> >
> > I have a trac instance setup that is being served with apache and
> mod_wsgi.
> >
> > I have an svn repo setup on the same machine and trac is able to browse
> it.
> >
> > Now I would like to set it up so my developers can have access to the
> svn
> > repo from their local machines.
> >
> > What is the best way to achieve this without destroying my mod_wsgi
> config?
>
> mod_dav_svn, svn+ssh://, file:/// -- it depends on what you want.
>

How do i set that up? Is there a guide you could direct me to?


>
> > Also, is there some way for users to access the svn repo from the
> browser
> > and add files to it?
>
> mod_dav_svn (see e.g. http://wiki.centos.org/HowTos/Subversion), but if
> you want it visible from big bad internet you may have to deal with
> authentication, encrypting the passwords, and all that.
>

Any way to share the password store with the one trac is currently using?

>
> --
> Dimitri Maziuk
> Programmer/sysadmin
> BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
>
>

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


dmaziuk at bmrb

Aug 1, 2013, 1:34 PM

Post #4 of 5 (57 views)
Permalink
Re: trac svn access [In reply to]

On 08/01/2013 03:12 PM, gigabot wrote:
>
>
> On Thursday, August 1, 2013 12:18:14 PM UTC-4, Dimitri Maziuk wrote:

>> mod_dav_svn, svn+ssh://, file:/// -- it depends on what you want.
>>
> How do i set that up? Is there a guide you could direct me to?

I don't know if there's a concise guide. Svn supports a bunch of
different access methods (urls), see subversion book.

The easiest is direct disk access: file:///. You need the directory with
svn repos mounted on local machine(s) -- via nfs, samba, or whatever.

Access over ssh: if you can ssh to a machine that has svn repos mounted,
you can use svn+ssh url.

Access over http/https: mod_dav_svn. Google will find plenty of howtos
I'm sure.

> Any way to share the password store with the one trac is currently using?

Apache can use the same .htpasswd file I'm sure.

With ssh you have to share login passwords with trac and mod_dav_svn.
Ldap will do that.

file:/// doesn't care.

HTH
--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
Attachments: signature.asc (0.25 KB)


mark.cooke at siemens

Aug 1, 2013, 11:33 PM

Post #5 of 5 (52 views)
Permalink
RE: trac svn access [In reply to]

> -----Original Message-----
> From: trac-users [at] googlegroups On Behalf Of gigabot
> Sent: 01 August 2013 15:38
> To: trac-users [at] googlegroups
> Subject: [Trac] trac svn access
>
> Hi all!
>
Hello.

> I have a trac instance setup that is being served with apache
> and mod_wsgi.
>
> I have an svn repo setup on the same machine and trac is able
> to browse it.
>
> Now I would like to set it up so my developers can have
> access to the svn repo from their local machines.
>
> What is the best way to achieve this without destroying my
> mod_wsgi config?
>
> Also, is there some way for users to access the svn repo from
> the browser and add files to it?
>
It is always a good idea to give plenty of background information. For example are you on windoze or *nix?

If you are already serving Trac over http(s) then adding mod_dav_svn to serve your subversion repos should not be that difficult (I do it from a windoze server). The subversion book is a good place to start: http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html

If you let apache handle the authentication then both Trac and svn can pick up the user data from that and you have one source of credentials (we use LDAP but that depends if you have e.g. Active Directory in your corporate (?) environment).

I hope that helps,

~ mark c

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

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.