[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: Tim Moloney <moloney_at_mrsl.com>
Date: 2002-02-25 18:44:51 CET

Ben Collins-Sussman wrote:

> Tim Moloney <moloney@mrsl.com> writes:
>
>>- 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.

I bootstrapped Subversion but it took me a while to successfully compile

apache, apr, etc.

I had checked out version 1336 of Subversion. I'll update and
recompile.

>>- 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. :-)

Sorry, I didn't explain clearly. I want to use Subversion to track the
changes I make to Source Forge as I customize it for our in house
project. Nothing nearly as ellaborate as you describe.

>>- 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'.

Cool! That's what I was missing. Thanks. =)

> And feel free to ask us more questions...

I'm sure I will... but not before trying to find the answer myself.
Thanks for the quick response.

-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road                             \     /
Sarasota, FL  34232                     .________\(O)/________.
(941) 377-6775 x208                        '  '  O(.)O  '  '
---------------------------------------------------------------------
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.