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

Re: A few questions/comments

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-02-25 18:13:10 CET

Tim Moloney <moloney@mrsl.com> writes:

> Newbie Alert!
> I believe that I've successfully installed and configured Subversion on
> my Red Hat 7.2 box. As a result, I have the following questions and
> comments.
> - It appears that the -D date option doesn't work. Everytime I try it,
> I get a segmentation fault. By the way, the man page for svn has a
> typo under the log subcommand (-d vs. -D).

What revision are you using? Did you "bootstrap" to the latest
revision (1374+) as described in the INSTALL file? Or did you just
build the 1302 tarball?

That segfault was fixed recently. Which means you should checkout the
latest tree and rebuild.

> - The man page for svn mentions a .svnrc file. What can I put in there?

Doesn't exist yet, sorry. RSN. :-)

> - I'm in the process of modifying Source Forge 2.0 to manage a small
> software project I'm working on. I'd like to track the changes to
> Source Forge using Subversion and use Subversion to display the source
> of my project a la viewcvs. Is this possible? I believe I've seen
> viewcvs' author Greg Stein on the list here.

The Subversion server is simply Apache + mod_dav + mod_dav_svn. This
means that a subversion can be viewed with a normal web-browser using
plain old HTTP GET methods. You can see subversions' own repository
by surfing to http://svn.collab.net/repos/svn

But this functionality is nowhere near as good at ViewCVS or CVSweb.
Greg Stein, the author of ViewCVS, wrote our WebDAV networking layer,
and I can promise you that a full-featured ViewSVN is planned... but
probably won't be showing up anytime real soon. For now, we have the
basic browsing to comfort us.

As for "tracking changes on sourceforge"... I'm not sure what you can
do. You certainly can't install an SVN server there. One person we
talked to might be attempting to automatically move changes from his
CVS working copy into an SVN working copy, and then commit to a
personal SVN server. But automating the mirroring might be tricky. I
can think of tricky ways to do this though. :-)

> - I would like to run my web site directly out of a Subversion
> repository. I don't know much about DAV but I thought it was supposed
> to be a open, generalized version of Front Page. I would like to
> store HTML, GIF, JPG, and PHP files in Subversion and have them
> viewable as if they were simply served by Apache.

Sure, you can do that. Make apache-2.0 your main web server. Make
sure it's running mod_dav and mod_dav_svn, attached to your svn
repository. Then the built-in browsing functionality will work for
you: when people surf to your server, it will always show the 'latest'
revision of the website you checked in. The trick is to make sure
you've set the "svn:mime-type" property to "text/html" on each file
you commit. That makes sure the server will serve it up correctly,
and not as literal text.

> Internet Explorer and Opera show HTML pages and JPGs correctly but I
> think they are using the file extensions. Netscape and Mozilla don't
> work because I think they are using the Content-Type which is stored
> wrong in Subversion. I thought that the file type was supposed to be
> stored as a property but I don't get any properties listed when I do
> a 'svn proplist' command.

That's because you have to set them, as I've described above. :-)

Try 'svn help propset', 'svn help propget', 'svn help proplist', 'svn
help propedit'.

> - I'd like to run configure for apache and have it find the auth_ldap
> module. Where do I put the files from the httpd-ldap module and what
> option do I pass to configure. I tried --add-module per the Apache
> manual but configure didn't like it.

Greg Stein? Answer? I don't know much about configuring apache
authentication methods.

> Am I expecting too much from Subversion? Is it not there yet? I don't
> mind RTFM responses. Just tell me which FM to R. I know the last one
> isn't a Subversion question, but I thought it was an easy one for the
> Apache gurus that must be on the list. =)

Subversion has been self-hosting for 6 months, and a lot of developers
are using it for 'personal' projects. But it's not yet hit Alpha, and
I wouldn't recommend it for widespread production just yet. That
said, it's still pretty usable. Make sure to read the README,
INSTALL, and HACKING files. Take a look through some of the other
docs in docs/ (and on the website), like "SVN for CVS users", the
Design Document, and so on.

And feel free to ask us more questions...

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:09 2006

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

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