On Oct 18, 2013 3:09 PM, "Andrej Mitrovic" <andrej.mitrovich@gmail.com> wrote:
>
> On 10/18/13, eles <eles@eles.com> wrote:
> > IIRC, Walter wanted that file to always be named dmd.zip or
> > dmd2.zip or whatever, in order to allow a permanent download
> > link, while guaranteeing the file to be the latest version of the
> > tool.
>
> This is the wrong approach. There should be a "latest_beta" file which
> holds the name of the latest beta zip. Then automatic download tools
> can read this file before attempting to download the beta. And for
> everyone else who manually downloads, they should be able to see what
> the latest version is on the website.
>
> This isn't a novelty approach, many open-source libraries host their
> sources in a tarball on an FTP server with a LATEST file.
>
+1 to tarballs and a LATEST file. Infact, a folder structure in the same manner would go away long way too.
Eg:
2.063/
dmd2.tar.gz
dmd2.zip
2.063.1/
dmd2.tar.gz
dmd2.zip
2.064-development/
dmd2.tar.gz
dmd2.zip
LATEST/ <- symlink to development or last stable.
Regards
--
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';