{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/docker-library/docker/pulls/22","id":82245526,"html_url":"https://github.com/docker-library/docker/pull/22","diff_url":"https://github.com/docker-library/docker/pull/22.diff","patch_url":"https://github.com/docker-library/docker/pull/22.patch","issue_url":"https://api.github.com/repos/docker-library/docker/issues/22","number":22,"state":"open","locked":false,"title":"Add new \"experimental\" variant now that 1.12+ has official \"experimental\" releases","user":{"login":"tianon","id":161631,"avatar_url":"https://avatars.githubusercontent.com/u/161631?v=3","gravatar_id":"","url":"https://api.github.com/users/tianon","html_url":"https://github.com/tianon","followers_url":"https://api.github.com/users/tianon/followers","following_url":"https://api.github.com/users/tianon/following{/other_user}","gists_url":"https://api.github.com/users/tianon/gists{/gist_id}","starred_url":"https://api.github.com/users/tianon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianon/subscriptions","organizations_url":"https://api.github.com/users/tianon/orgs","repos_url":"https://api.github.com/users/tianon/repos","events_url":"https://api.github.com/users/tianon/events{/privacy}","received_events_url":"https://api.github.com/users/tianon/received_events","type":"User","site_admin":false},"body":"Closes #21\n\n```diff\ncommit eb714a73e7e3f87705f468c3c6e9f4e316136bf5\nAuthor: Tianon Gravi <admwiggin@gmail.com>\nDate:   Mon Aug 22 12:06:09 2016 -0700\n\n    Add new \"experimental\" variant now that 1.12+ has official \"experimental\" releases\n\ndiff --git a/.travis.yml b/.travis.yml\nindex cf4accc..c49c7e7 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -2,8 +2,9 @@ language: bash\n services: docker\n \n env:\n-  - VERSION=1.12\n-  - VERSION=1.11\n+  - VERSION=1.12 VARIANT=\n+  - VERSION=1.12 VARIANT=experimental\n+  - VERSION=1.11 VARIANT=\n \n install:\n   - git clone https://github.com/docker-library/official-images.git ~/official-images\ndiff --git a/1.12/Dockerfile b/1.12/experimental/Dockerfile\nsimilarity index 79%\ncopy from 1.12/Dockerfile\ncopy to 1.12/experimental/Dockerfile\nindex 4764465..0852d0b 100644\n--- a/1.12/Dockerfile\n+++ b/1.12/experimental/Dockerfile\n@@ -5,9 +5,9 @@ RUN apk add --no-cache \\\n \t\tcurl \\\n \t\topenssl\n \n-ENV DOCKER_BUCKET get.docker.com\n+ENV DOCKER_BUCKET experimental.docker.com\n ENV DOCKER_VERSION 1.12.1\n-ENV DOCKER_SHA256 05ceec7fd937e1416e5dce12b0b6e1c655907d349d52574319a1e875077ccb79\n+ENV DOCKER_SHA256 f92fe0630dd1f20d9678cd7e4043018566e3737001f53171274a4a6ed6baaa08\n \n RUN set -x \\\n \t&& curl -fSL \"https://${DOCKER_BUCKET}/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz\" -o docker.tgz \\\ndiff --git a/1.12/dind/Dockerfile b/1.12/experimental/dind/Dockerfile\nsimilarity index 96%\ncopy from 1.12/dind/Dockerfile\ncopy to 1.12/experimental/dind/Dockerfile\nindex 7621999..38fcdc9 100644\n--- a/1.12/dind/Dockerfile\n+++ b/1.12/experimental/dind/Dockerfile\n@@ -1,4 +1,4 @@\n-FROM docker:1.12\n+FROM docker:1.12-experimental\n \n # https://github.com/docker/docker/blob/master/project/PACKAGERS.md#runtime-dependencies\n RUN apk add --no-cache \\\ndiff --git a/1.12/dind/dockerd-entrypoint.sh b/1.12/experimental/dind/dockerd-entrypoint.sh\nsimilarity index 100%\ncopy from 1.12/dind/dockerd-entrypoint.sh\ncopy to 1.12/experimental/dind/dockerd-entrypoint.sh\ndiff --git a/1.12/docker-entrypoint.sh b/1.12/experimental/docker-entrypoint.sh\nsimilarity index 100%\ncopy from 1.12/docker-entrypoint.sh\ncopy to 1.12/experimental/docker-entrypoint.sh\ndiff --git a/1.11/git/Dockerfile b/1.12/experimental/git/Dockerfile\nsimilarity index 62%\ncopy from 1.11/git/Dockerfile\ncopy to 1.12/experimental/git/Dockerfile\nindex 382e08c..cf72e00 100644\n--- a/1.11/git/Dockerfile\n+++ b/1.12/experimental/git/Dockerfile\n@@ -1,4 +1,4 @@\n-FROM docker:1.11\n+FROM docker:1.12-experimental\n \n RUN apk add --no-cache \\\n \t\tgit \\\ndiff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh\nindex 9b78831..5d55a09 100755\n--- a/generate-stackbrew-library.sh\n+++ b/generate-stackbrew-library.sh\n@@ -70,12 +70,16 @@ for version in \"${versions[@]}\"; do\n \t\tDirectory: $version\n \tEOE\n \n-\tfor variant in dind git; do\n+\tfor variant in \\\n+\t\tdind git \\\n+\t\texperimental experimental/dind experimental/git \\\n+\t; do\n \t\t[ -f \"$version/$variant/Dockerfile\" ] || continue\n \n \t\tcommit=\"$(dirCommit \"$version/$variant\")\"\n \n-\t\tvariantAliases=( \"${versionAliases[@]/%/-$variant}\" )\n+\t\tslash='/'\n+\t\tvariantAliases=( \"${versionAliases[@]/%/-${variant//$slash/-}}\" )\n \t\tvariantAliases=( \"${variantAliases[@]//latest-/}\" )\n \n \t\techo\ndiff --git a/update.sh b/update.sh\nindex dbe22aa..630a322 100755\n--- a/update.sh\n+++ b/update.sh\n@@ -26,31 +26,34 @@ for version in \"${versions[@]}\"; do\n \t\techo >&2 \"warning: cannot find full version for $version\"\n \t\tcontinue\n \tfi\n-\tbucket='get.docker.com'\n-\tif [ \"$rcVersion\" != \"$version\" ]; then\n-\t\tbucket='test.docker.com'\n-\tfi\n-\tcase \"$rcVersion\" in\n-\t\t1.9|1.10)\n-\t\t\tartifact=\"https://$bucket/builds/Linux/x86_64/docker-$fullVersion\"\n-\t\t\t;;\n-\t\t*)\n-\t\t\tartifact=\"https://$bucket/builds/Linux/x86_64/docker-$fullVersion.tgz\"\n-\t\t\t;;\n-\tesac\n-\tsha256=\"$(curl -fsSL \"$artifact.sha256\" | cut -d' ' -f1)\" || true\n-\t(\n-\t\tset -x\n-\t\tsed -ri '\n-\t\t\ts/^(ENV DOCKER_BUCKET) .*/\\1 '\"$bucket\"'/;\n-\t\t\ts/^(ENV DOCKER_VERSION) .*/\\1 '\"$fullVersion\"'/;\n-\t\t\ts/^(ENV DOCKER_SHA256) .*/\\1 '\"$sha256\"'/;\n-\t\t\t#s/^(ENV DIND_COMMIT) .*/\\1 '\"$dindLatest\"'/; # TODO once \"Supported Docker versions\" minimums at Docker 1.8+ (1.6 at time of this writing), bring this back again\n-\t\t\ts/^(FROM docker):.*/\\1:'\"$version\"'/;\n-\t\t' \"$version/Dockerfile\" \"$version\"/*/Dockerfile\n-\t)\n-\t\n-\ttravisEnv='\\n  - VERSION='\"$version$travisEnv\"\n+\tfor variant in experimental ''; do\n+\t\tdir=\"$version${variant:+/$variant}\"\n+\t\t[ -d \"$dir\" ] || continue\n+\n+\t\tif [ \"$variant\" = 'experimental' ]; then\n+\t\t\tbucket='experimental.docker.com'\n+\t\telif [ \"$rcVersion\" != \"$version\" ]; then\n+\t\t\tbucket='test.docker.com'\n+\t\telse\n+\t\t\tbucket='get.docker.com'\n+\t\tfi\n+\n+\t\tartifact=\"https://$bucket/builds/Linux/x86_64/docker-$fullVersion.tgz\"\n+\t\tsha256=\"$(curl -fsSL \"$artifact.sha256\" | cut -d' ' -f1)\" || true\n+\n+\t\t(\n+\t\t\tset -x\n+\t\t\tsed -ri '\n+\t\t\t\ts/^(ENV DOCKER_BUCKET) .*/\\1 '\"$bucket\"'/;\n+\t\t\t\ts/^(ENV DOCKER_VERSION) .*/\\1 '\"$fullVersion\"'/;\n+\t\t\t\ts/^(ENV DOCKER_SHA256) .*/\\1 '\"$sha256\"'/;\n+\t\t\t\t#s/^(ENV DIND_COMMIT) .*/\\1 '\"$dindLatest\"'/; # TODO once \"Supported Docker versions\" minimums at Docker 1.8+ (1.6 at time of this writing), bring this back again\n+\t\t\t\ts/^(FROM docker):.*/\\1:'\"$version${variant:+-$variant}\"'/;\n+\t\t\t' \"$dir\"/{,git/,dind/}Dockerfile\n+\t\t)\n+\n+\t\ttravisEnv='\\n  - VERSION='\"$version VARIANT=$variant$travisEnv\"\n+\tdone\n done\n \n travis=\"$(awk -v 'RS=\\n\\n' '$1 == \"env:\" { $0 = \"env:'\"$travisEnv\"'\" } { printf \"%s%s\", $0, RS }' .travis.yml)\"\n```","created_at":"2016-08-22T19:08:08Z","updated_at":"2016-08-22T19:08:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker-library/docker/pulls/22/commits","review_comments_url":"https://api.github.com/repos/docker-library/docker/pulls/22/comments","review_comment_url":"https://api.github.com/repos/docker-library/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-library/docker/issues/22/comments","statuses_url":"https://api.github.com/repos/docker-library/docker/statuses/eb714a73e7e3f87705f468c3c6e9f4e316136bf5","head":{"label":"infosiftr:experimental","ref":"experimental","sha":"eb714a73e7e3f87705f468c3c6e9f4e316136bf5","user":{"login":"infosiftr","id":894614,"avatar_url":"https://avatars.githubusercontent.com/u/894614?v=3","gravatar_id":"","url":"https://api.github.com/users/infosiftr","html_url":"https://github.com/infosiftr","followers_url":"https://api.github.com/users/infosiftr/followers","following_url":"https://api.github.com/users/infosiftr/following{/other_user}","gists_url":"https://api.github.com/users/infosiftr/gists{/gist_id}","starred_url":"https://api.github.com/users/infosiftr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infosiftr/subscriptions","organizations_url":"https://api.github.com/users/infosiftr/orgs","repos_url":"https://api.github.com/users/infosiftr/repos","events_url":"https://api.github.com/users/infosiftr/events{/privacy}","received_events_url":"https://api.github.com/users/infosiftr/received_events","type":"Organization","site_admin":false},"repo":{"id":41885388,"name":"docker","full_name":"infosiftr/docker","owner":{"login":"infosiftr","id":894614,"avatar_url":"https://avatars.githubusercontent.com/u/894614?v=3","gravatar_id":"","url":"https://api.github.com/users/infosiftr","html_url":"https://github.com/infosiftr","followers_url":"https://api.github.com/users/infosiftr/followers","following_url":"https://api.github.com/users/infosiftr/following{/other_user}","gists_url":"https://api.github.com/users/infosiftr/gists{/gist_id}","starred_url":"https://api.github.com/users/infosiftr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infosiftr/subscriptions","organizations_url":"https://api.github.com/users/infosiftr/orgs","repos_url":"https://api.github.com/users/infosiftr/repos","events_url":"https://api.github.com/users/infosiftr/events{/privacy}","received_events_url":"https://api.github.com/users/infosiftr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infosiftr/docker","description":"Docker Official Image packaging for Docker","fork":true,"url":"https://api.github.com/repos/infosiftr/docker","forks_url":"https://api.github.com/repos/infosiftr/docker/forks","keys_url":"https://api.github.com/repos/infosiftr/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infosiftr/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infosiftr/docker/teams","hooks_url":"https://api.github.com/repos/infosiftr/docker/hooks","issue_events_url":"https://api.github.com/repos/infosiftr/docker/issues/events{/number}","events_url":"https://api.github.com/repos/infosiftr/docker/events","assignees_url":"https://api.github.com/repos/infosiftr/docker/assignees{/user}","branches_url":"https://api.github.com/repos/infosiftr/docker/branches{/branch}","tags_url":"https://api.github.com/repos/infosiftr/docker/tags","blobs_url":"https://api.github.com/repos/infosiftr/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infosiftr/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infosiftr/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/infosiftr/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infosiftr/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/infosiftr/docker/languages","stargazers_url":"https://api.github.com/repos/infosiftr/docker/stargazers","contributors_url":"https://api.github.com/repos/infosiftr/docker/contributors","subscribers_url":"https://api.github.com/repos/infosiftr/docker/subscribers","subscription_url":"https://api.github.com/repos/infosiftr/docker/subscription","commits_url":"https://api.github.com/repos/infosiftr/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/infosiftr/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/infosiftr/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/infosiftr/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/infosiftr/docker/contents/{+path}","compare_url":"https://api.github.com/repos/infosiftr/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infosiftr/docker/merges","archive_url":"https://api.github.com/repos/infosiftr/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infosiftr/docker/downloads","issues_url":"https://api.github.com/repos/infosiftr/docker/issues{/number}","pulls_url":"https://api.github.com/repos/infosiftr/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/infosiftr/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/infosiftr/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infosiftr/docker/labels{/name}","releases_url":"https://api.github.com/repos/infosiftr/docker/releases{/id}","deployments_url":"https://api.github.com/repos/infosiftr/docker/deployments","created_at":"2015-09-03T21:45:41Z","updated_at":"2015-09-03T21:45:41Z","pushed_at":"2016-08-22T19:07:16Z","git_url":"git://github.com/infosiftr/docker.git","ssh_url":"git@github.com:infosiftr/docker.git","clone_url":"https://github.com/infosiftr/docker.git","svn_url":"https://github.com/infosiftr/docker","homepage":null,"size":27,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker-library:master","ref":"master","sha":"e65e856a4226445f865ec51ea4b6d3bc8353386b","user":{"login":"docker-library","id":7739233,"avatar_url":"https://avatars.githubusercontent.com/u/7739233?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-library","html_url":"https://github.com/docker-library","followers_url":"https://api.github.com/users/docker-library/followers","following_url":"https://api.github.com/users/docker-library/following{/other_user}","gists_url":"https://api.github.com/users/docker-library/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-library/subscriptions","organizations_url":"https://api.github.com/users/docker-library/orgs","repos_url":"https://api.github.com/users/docker-library/repos","events_url":"https://api.github.com/users/docker-library/events{/privacy}","received_events_url":"https://api.github.com/users/docker-library/received_events","type":"Organization","site_admin":false},"repo":{"id":33521619,"name":"docker","full_name":"docker-library/docker","owner":{"login":"docker-library","id":7739233,"avatar_url":"https://avatars.githubusercontent.com/u/7739233?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-library","html_url":"https://github.com/docker-library","followers_url":"https://api.github.com/users/docker-library/followers","following_url":"https://api.github.com/users/docker-library/following{/other_user}","gists_url":"https://api.github.com/users/docker-library/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-library/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-library/subscriptions","organizations_url":"https://api.github.com/users/docker-library/orgs","repos_url":"https://api.github.com/users/docker-library/repos","events_url":"https://api.github.com/users/docker-library/events{/privacy}","received_events_url":"https://api.github.com/users/docker-library/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker-library/docker","description":"Docker Official Image packaging for Docker","fork":false,"url":"https://api.github.com/repos/docker-library/docker","forks_url":"https://api.github.com/repos/docker-library/docker/forks","keys_url":"https://api.github.com/repos/docker-library/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-library/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-library/docker/teams","hooks_url":"https://api.github.com/repos/docker-library/docker/hooks","issue_events_url":"https://api.github.com/repos/docker-library/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker-library/docker/events","assignees_url":"https://api.github.com/repos/docker-library/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker-library/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker-library/docker/tags","blobs_url":"https://api.github.com/repos/docker-library/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-library/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-library/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-library/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-library/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-library/docker/languages","stargazers_url":"https://api.github.com/repos/docker-library/docker/stargazers","contributors_url":"https://api.github.com/repos/docker-library/docker/contributors","subscribers_url":"https://api.github.com/repos/docker-library/docker/subscribers","subscription_url":"https://api.github.com/repos/docker-library/docker/subscription","commits_url":"https://api.github.com/repos/docker-library/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-library/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-library/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-library/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-library/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker-library/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-library/docker/merges","archive_url":"https://api.github.com/repos/docker-library/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-library/docker/downloads","issues_url":"https://api.github.com/repos/docker-library/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker-library/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-library/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-library/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-library/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker-library/docker/releases{/id}","deployments_url":"https://api.github.com/repos/docker-library/docker/deployments","created_at":"2015-04-07T04:14:32Z","updated_at":"2016-08-18T05:43:31Z","pushed_at":"2016-08-22T19:08:08Z","git_url":"git://github.com/docker-library/docker.git","ssh_url":"git@github.com:docker-library/docker.git","clone_url":"https://github.com/docker-library/docker.git","svn_url":"https://github.com/docker-library/docker","homepage":null,"size":69,"stargazers_count":47,"watchers_count":47,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":6,"forks":26,"open_issues":6,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-library/docker/pulls/22"},"html":{"href":"https://github.com/docker-library/docker/pull/22"},"issue":{"href":"https://api.github.com/repos/docker-library/docker/issues/22"},"comments":{"href":"https://api.github.com/repos/docker-library/docker/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-library/docker/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-library/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-library/docker/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/docker-library/docker/statuses/eb714a73e7e3f87705f468c3c6e9f4e316136bf5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":135,"deletions":29,"changed_files":8}}
{"actor":{"display_login":"tianon"}}