January 30, 2015
On 1/30/15 6:02 AM, Martin Nowak wrote:
> On 01/28/2015 03:41 AM, Brad Roberts via Digitalmars-d wrote:
>> I hope that makes you guys a little happier..
>
> Thanks a lot, hope it's easy for you to maintain the redirects.
>
> Would it also be possible to add a LATEST version?
> http://downloads.dlang.org/releases/2.x/LATEST/dmd.LATEST.linux.zip

That would be nice. -- Andrei
January 30, 2015
On 12/02/2014 06:10 PM, Jacob Carlborg wrote:
> DMD 2.066.1 is missing in the Digitalmars FTP. The release candidates
> are present but the final release is missing. This breaks DVM.
>

By the way dmd.2.066.1.linux.zip is still missing :(.

http://ftp.digitalmars.com/dmd.2.066.1.linux.zip
http://downloads.dlang.org/releases/2.x/2.066.1/

January 30, 2015
On 12/02/2014 06:10 PM, Jacob Carlborg wrote:
> DMD 2.066.1 is missing in the Digitalmars FTP. The release candidates
> are present but the final release is missing. This breaks DVM.
>

By the way dmd.2.066.1.linux.zip is still missing :(.

http://ftp.digitalmars.com/dmd.2.066.1.linux.zip
http://downloads.dlang.org/releases/2.x/2.066.1/

January 30, 2015
On 1/30/2015 6:13 AM, Martin Nowak via Digitalmars-d wrote:
> On 01/28/2015 03:41 AM, Brad Roberts via Digitalmars-d wrote:
>>>
>>
>> I spent the time today to read up on how to use s3 website redirects,
>> since s3 doesn't support symlinks.  The only new requirement is for the
>> http client to follow a 301 redirect, which most do.
>
> Can you please also add cache-control headers?
> Should be 'Cache-Control: public, max-age=31557600'
>
> http://stackoverflow.com/questions/22501465/how-to-add-cache-control-in-aws-s3
>
> http://forum.dlang.org/post/swifmqthxwiouxkwqxlv@forum.dlang.org

I did that when I did the redirects, but haven't backfilled it to the rest of the files.. just not worth the hassle.

January 30, 2015
On 2015-01-30 15:59, Andrei Alexandrescu wrote:

> That would be nice. -- Andrei

I agree. I wouldn't need to screen scrape dlang.org in DVM.

-- 
/Jacob Carlborg
January 30, 2015
On 1/30/2015 12:39 PM, Jacob Carlborg via Digitalmars-d wrote:
> On 2015-01-30 15:59, Andrei Alexandrescu wrote:
>
>> That would be nice. -- Andrei
>
> I agree. I wouldn't need to screen scrape dlang.org in DVM.
>

I'd be much more inclined to keep a file called LATEST with the version number in it than having to maintain a ton of redirects each time.

(not present yet, but for example)
http://downloads.dlang.org/releases/LATEST containing one line:
2.066.1

Does require two trips to get the file you want, but less maintenance issues.
January 30, 2015
On 1/30/15 12:45 PM, Brad Roberts via Digitalmars-d wrote:
> On 1/30/2015 12:39 PM, Jacob Carlborg via Digitalmars-d wrote:
>> On 2015-01-30 15:59, Andrei Alexandrescu wrote:
>>
>>> That would be nice. -- Andrei
>>
>> I agree. I wouldn't need to screen scrape dlang.org in DVM.
>>
>
> I'd be much more inclined to keep a file called LATEST with the version
> number in it than having to maintain a ton of redirects each time.
>
> (not present yet, but for example)
> http://downloads.dlang.org/releases/LATEST containing one line:
> 2.066.1
>
> Does require two trips to get the file you want, but less maintenance
> issues.

That's already available by scanning the dmd tags in github. We do that in dlang.org/posix.mak:

LATEST:=$(shell cd ${DMD_DIR} && \
  git fetch --tags ${GIT_HOME}/dmd && \
  git tag | grep '^v[0-9][0-9.]*$$' | sed 's/^v//' | sort -nr | head -n 1)


Andrei
January 31, 2015
On Friday, 30 January 2015 at 20:47:33 UTC, Andrei Alexandrescu wrote:
> On 1/30/15 12:45 PM, Brad Roberts via Digitalmars-d wrote:
>> On 1/30/2015 12:39 PM, Jacob Carlborg via Digitalmars-d wrote:
>>> On 2015-01-30 15:59, Andrei Alexandrescu wrote:
>>>
>>>> That would be nice. -- Andrei
>>>
>>> I agree. I wouldn't need to screen scrape dlang.org in DVM.
>>>
>>
>> I'd be much more inclined to keep a file called LATEST with the version
>> number in it than having to maintain a ton of redirects each time.
>>
>> (not present yet, but for example)
>> http://downloads.dlang.org/releases/LATEST containing one line:
>> 2.066.1

That would do the trick.

> That's already available by scanning the dmd tags in github. We do that in dlang.org/posix.mak:
>
Can't use that because we tag a new version before releasing it, so for a few days services couldn't use LATEST.
January 31, 2015
On 2015-01-30 21:45, Brad Roberts via Digitalmars-d wrote:

> I'd be much more inclined to keep a file called LATEST with the version
> number in it than having to maintain a ton of redirects each time.
>
> (not present yet, but for example)
> http://downloads.dlang.org/releases/LATEST containing one line:
> 2.066.1
>
> Does require two trips to get the file you want, but less maintenance
> issues.

Not 100% ideal but a lot better than the current approach.

-- 
/Jacob Carlborg
1 2 3 4
Next ›   Last »