Closed timmywil closed 8 years ago
I was involved in virtually all this WIP files config (as well as redirections) so I can explain what's been going on. The code for those redirects is in the infra repo.
tl;dr: https://code.jquery.com/jquery-git.js points to master
, https://code.jquery.com/jquery-2.x-git.js points to 2.2-stable
, https://code.jquery.com/jquery-1.x-git.js points to 1.12-stable
.
The timeline of events is as follows:
jquery-git.js
(and jquery-git.min.js
but I'll omit minified files for simplicity).jquery-git2.js
. jquery-git1.js
was added to make it symmetrical with the jQuery 2 version, jquery-git.js
& jquery-git1.js
were kept identical.jquery-git.js
was changed to point to master
and we also created jquery-compat-git.js
. To not remove files from https://code.jquery.com and at the same time prevent people from using outdated WIP jQuery files, jquery-git1.js
was 301-redirected to jquery-compat-git.js
and jquery-git2.js
was 301-redirected to jquery-git.js
.jquery-compat-git.js
was 301-redirected to jquery-git.js
. This also made jquery-git1.js
redirect to jquery-git.js
.jquery-git1.js
& jquery-git2.js
but instead created jquery-1.x-git.js
& jquery-2.x-git.js
.Currently the links from http://code.jquery.com/jquery/ titled "jQuery 2.x git build" & "jQuery 1.x git build" actually redirect to the jQuery 3.x git build.
I don't think we should wait until 3.0 for the links to be updated. They're supposed to point to development versions so they should point to the 3.0 git one. I don't think we need to share the links to the 1.x/2.x Git versions as we're phasing out those lines.
PR: #28.
@mgol when you write it all out it looks crazier that it seemed at the time. :smile:
I've also automated the jQuery section grouping in 06258968181bdaa0c95774ccbd6ce200c1a730c0 so no further modifications will be needed when jQuery 3 comes out.
3.0 will need to be added to this page when 3.0 final is released.
Note that links to http://code.jquery.com/jquery-git2.js redirects to 3.0-pre.