[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Can I view file details when using IE/firefox to browse a SVN repos through Apache server

From: Anderson, Aaron <AndersonA_at_gsicommerce.com>
Date: Wed, 5 Aug 2009 13:21:47 -0400

You might want to set up a cron job that automatically exports or checks out/updates a working copy of your repository - at that point, you can map into it with Apache or IIS or whatever, turn on directory browsing, and your clients are just looking at a file system via HTTP. Then you don't have to worry about getting SVN to cooperate with formatting considerations.

- Aaron Anderson, Senior Manager
Shared Services - Dev Tier Support / Source Code Management

-----Original Message-----
From: "Chen (陈) Jun (军)" [mailto:chjfth_at_gmail.com]
Sent: Tuesday, August 04, 2009 9:49 PM
To: users_at_subversion.tigris.org
Subject: Re: Can I view file details when using IE/firefox to browse a SVN repos through Apache server

David Weintraub wrote:
> I just checked with FireFox and it also doesn't display file sizes, so
> it's not a IE issue.
>
> If you really want to be able to browse the repository with a web
> browser, you can look at viewvc which comes with Subversion
> <http://www.viewvc.org>. It's pretty simple to setup, but it must run
> on the same system as your Subversion repository and it runs as a
> python script, so it has to be a cgi-bin script.
>
> I prefer Sventon which is a bit more slick, but even better, it can
> run on a system other than your Subversion repository server.
> <http://www.sventon.org/>. Sventon runs as a Tomcat service, and not
> as a cgi-bin script.
>
> You may want to try Sventon first since you can set it up on your own
> workstation and see how it works.
>

Thank you for replying. But sorry to say you missed my real meaning. I
hope the web clients don't have to install extra client software, and
using a standard web browser(IE/Firefox/Opera etc) is enough to easily
browse the current SVN repos and download files within, at the same time
seeing file size and time.

Using viewvc may be a choice, no extra client software needed. I know
sourceforge.net provide viewvc facility. But I'm afraid viewvc exhibits
too much information to its web client(like revision, author) which is
suitable for a software developer, not for an average user taking it as
a download service. An average user will probably be confused by the
default viewvc page layout and get frustrated with the download service.

So, I'm just wondering, when a web client issues an HTTP GET request for
a URL inside an svn repos, why doesn't the svn module respond with file
size and file time? If it doesn't by default, can we configure it to
present file size and file time? ******This kind of configuration should
better be configurable at server side, right?****** I think, this should
be configurable, because the response for HTTP GET request is mainly for
viewing by a human, not by a program analyzer; svn client programs, like
TortoiseSVN, use HTTP PROPFIND to get svn repos content.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2380259

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2380549

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-05 19:23:16 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.