You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Eli Bocek-Rivele <bo...@gmail.com> on 2011/10/19 05:06:09 UTC

Explore repository "head" live on NFS

Hi all,
I'm very new to the community and I can only imagine this question has been
asked before but google searching (and looking in archives) has not helped
but it may be because I don't know how to correctly phrase the question, but
here goes. Is there a way to have an expanded view into a repository's
projects on NFS such that a user can explore it in a shell in a read-only
fashion? What I mean is if I have a repository like:

file:///repos/myproj/stuff/foo.c
I'd have on disk
/svn_explore/repos/myproj/stuff/foo.c
As a set of directories / files that I could look at that are always 'head'
and are read-only and are kept up to date. I was thinking I
could orchestrate this with a cron, or maybe some changes to hooks but I was
wondering if there was an easy supported way or standard way in which people
do this. This would allow people to look into the 'latest' in the repository
without actually having to run any svn commands.

Thanks in advance for any help and I appreciate you reading such a novice
question. I'm very new to svn but already find it a powerful and promising
system.
-Eli

RE: Explore repository "head" live on NFS

Posted by Tony Sweeney <ts...@omnifone.com>.
________________________________

From: Eli Bocek-Rivele [mailto:boceke@gmail.com] 
Sent: 19 October 2011 04:06
To: users@subversion.apache.org
Subject: Explore repository "head" live on NFS


Hi all, 
I'm very new to the community and I can only imagine this question has
been asked before but google searching (and looking in archives) has not
helped but it may be because I don't know how to correctly phrase the
question, but here goes. Is there a way to have an expanded view into a
repository's projects on NFS such that a user can explore it in a shell
in a read-only fashion? What I mean is if I have a repository like:

file:///repos/myproj/stuff/foo.c
I'd have on disk
/svn_explore/repos/myproj/stuff/foo.c
As a set of directories / files that I could look at that are always
'head' and are read-only and are kept up to date. I was thinking I could
orchestrate this with a cron, or maybe some changes to hooks but I was
wondering if there was an easy supported way or standard way in which
people do this. This would allow people to look into the 'latest' in the
repository without actually having to run any svn commands. 
 
You're looking for this:
http://www.jmadden.eu/index.php/svnfs/
Tony.

 

Thanks in advance for any help and I appreciate you reading such a
novice question. I'm very new to svn but already find it a powerful and
promising system.
-Eli
                     

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

________________________________

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1831 / Virus Database: 2092/4560 - Release Date:
10/18/11


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Re: Explore repository "head" live on NFS

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 18, 2011, at 22:06, Eli Bocek-Rivele wrote:

> Is there a way to have an expanded view into a repository's projects on NFS such that a user can explore it in a shell in a read-only fashion?

The closest thing would be to serve your repository with mod_dav_svn with apache; you can then access it with any WebDAV-compatible client. If you want it read-only, you can make it read-only.

http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html




Re: Explore repository "head" live on NFS

Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Tue, Oct 18, 2011 at 11:06 PM, Eli Bocek-Rivele <bo...@gmail.com> wrote:
> Hi all,
> I'm very new to the community and I can only imagine this question has been
> asked before but google searching (and looking in archives) has not helped
> but it may be because I don't know how to correctly phrase the question, but
> here goes. Is there a way to have an expanded view into a repository's
> projects on NFS such that a user can explore it in a shell in a read-only
> fashion? What I mean is if I have a repository like:
>
> file:///repos/myproj/stuff/foo.c
> I'd have on disk
> /svn_explore/repos/myproj/stuff/foo.c

You'd have to keep a checked out working copy of the repos. This can
get very bulky, *VERY* fast, if you have a lot of releases or
autobuild branches, but it's an effective way to keep the code
legible. It can be updated as part of a "post-commit" procedure on the
server, but it can be slow, so I'd actually recommend a cron job, and
there's always a chance it might be in the process of updating when
you look at it. But it's often very effective for providing a place to
review the basic source tree.

> As a set of directories / files that I could look at that are always 'head'
> and are read-only and are kept up to date. I was thinking I
> couldĀ orchestrateĀ this with a cron, or maybe some changes to hooks but I was
> wondering if there was an easy supported way or standard way in which people
> do this. This would allow people to look into the 'latest' in the repository
> without actually having to run any svn commands.
> Thanks in advance for any help and I appreciate you reading such a novice
> question. I'm very new to svn but already find it a powerful and promising
> system.
> -Eli
>