dpeek / hvm

Haxe Version Manager for users of Bash
20 stars 9 forks source link

New haxe website #3

Open jasononeil opened 9 years ago

jasononeil commented 9 years ago

It's worth noting that http://old.haxe.org/file/ wasn't updated with the new Haxe 3.2.0-rc.1 release. I've copied the files there for now, but we probably need a solution for the next releases.

Files on the new site are:

http://haxe.org/website-content/downloads/ http://haxe.org/website-content/downloads/versions.json http://haxe.org/website-content/downloads/3,1,3/downloads/

etc. A few options:

dpeek commented 9 years ago

Parsing that JSON seems easy enough, though we will need platform support info.

I'm actually OK with the current scraping (it's dirty but it works). The problem is having some downloads in the old place and others in the new – and the builds on nekovm.org are for the wrong arch on OS X. Ideally we could just get all the available versions on build.haxe.org (I've noticed one or two stable versions on there) and then haxe.org and hvm could just reference those directly? cc/ @waneck

I know 2.x support is an edge-case but it was my original motivation for all this (we've got some legacy projects at Massive)

jasononeil commented 9 years ago

Yes, I think all stable versions being on build.haxe.org, or else a page on haxe.org, and continue with the primitive scraping, sounds like the best approach. If it's problematic for @waneck to put them on the build server I'll create a suitable page on the website.

jasononeil commented 9 years ago

Just wanted to note that the haxe.org website now has more standardised filenames for downloads going all the way back to 1.9.0

The formula is:

http://haxe.org/website-content/downloads/$semver/downloads/haxe-$semver-$targetSuffix

eg. http://haxe.org/website-content/downloads/3.1.3/downloads/haxe-3.1.3-win.exe

I know build.haxe.org is still preferable. Just wanted to note it though.

dpeek commented 9 years ago

Is there somewhere we can get a list of available versions?

elsassph commented 7 years ago

@jasononeil how can we get the list of available versions?

skial commented 7 years ago

Theres a list of officially released versions at https://github.com/HaxeFoundation/haxe.org/blob/staging/downloads/versions.json