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

RE: svn tarball download link

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2003-09-10 15:46:19 CEST

Hiya,

Looking closer at the actual file-links in my webbrowser, I can see what the
problem is Jani has:

All links in the file-sharing area are of the form:

http://subversion.tigris.org/files/documents/15/<some-number>/<some-filename
>-<some-versionnumber>.<some-extension>

You know the filename, you know the extension. You can make an intelligent
guess about the versionnumber, or you know it, or whatever - the version
number is appearantly not his problem.

But I can very well imagine that this extra directory, containing 'some
number' (which might well be an SVN repos. version number, don't know!) is a
big problem for some sort of automated download scripts.

How are you supposed to guess this number, looking at the directory

http://subversion.tigris.org/files/documents/15/ ?

http://subversion.tigris.org/files/documents/15/5977/ contains the 0.29.0
release.
http://subversion.tigris.org/files/documents/15/6019/ contains the 0.29.0
setup.exe for windows
http://subversion.tigris.org/files/documents/15/5996/ contains the 0.29.0
windows binary zip file

So if you know the release, you still have no way to know what directory to
pick. You cannot just pick 'the most recent', because it will most likely
contain something that you're really not interested in.

You cannot get a directory-listing either, trying to request merely

http://subversion.tigris.org/files/documents/15/6019/

will give a 404-error.

I don't know what the best solution would be for Jani's problem, given this
sort of setup.

Regards,

--Tim

-----Original Message-----
From: pll@lanminds.com [mailto:pll@lanminds.com]
Sent: woensdag 10 september 2003 15:28
To: Jani Monoses
Cc: Leeuw van der, Tim; dev@subversion.tigris.org
Subject: Re: svn tarball download link

In a message dated: Wed, 10 Sep 2003 15:22:56 +0300
Jani Monoses said:

>The version number is fine.Actually the revision number is the only
>thing that seems hard to figure out when you know what release you
>want to download.

In what sense is it difficult to figure out? The version number is
always in the X.YY.Z from 0.27.0 onwards. If you know what release
you want, then you should know the version number as well (or am I
missing something here?).

Of course, I think a subversion-latest.tar.gz would also be helpful,
I just don't know how to accomodate that in sourcecast.

FWIW, the link to the source tree will (from 0.28.1 on) will always
appear on the second line of the CHANGES file. There has been a
little inconsistency with the format of this line, but I'm going to
try and standardize it as just the URL to the tags/ area for that
release.

Any suggestions you may have are, as always, greatfully welcome, and
I will attempt to be as accomodating as possible.

Thanks,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 10 15:47:46 2003

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.