1
0
mirror of https://github.com/docker/cli.git synced 2026-01-26 15:41:42 +03:00
Commit Graph

67 Commits

Author SHA1 Message Date
Michael Crosby
3029f070e6 Return JSONError for HTTPResponse error
Upstream-commit: dae585c6e4c19817b2dbd106171728a0bb564ccc
Component: engine
2013-08-03 00:27:58 +00:00
Michael Crosby
7aa4663949 Return registy status code in error
Added Details map to the JSONMessage
Upstream-commit: 3043c2641990d94298c6377b7ef14709263a4709
Component: engine
2013-07-30 23:24:31 +00:00
Guillaume J. Charmes
753746a54d Make sure the index also receives the checksums
Upstream-commit: 5b27652ac6eaf1bc4c2a16e51919ec4272a58fd6
Component: engine
2013-07-29 11:30:21 -07:00
Guillaume J. Charmes
0d6f4c9ed4 Handle extra-paremeter within checksum calculations
Upstream-commit: e3f68b22d8f0635a8c08ab56721e56dbe570a49a
Component: engine
2013-07-29 11:30:17 -07:00
Guillaume J. Charmes
e9895c9839 Refactor checksum
Upstream-commit: 8ca7b0646e6c4346075656f46847f53c2e868a3d
Component: engine
2013-07-29 11:30:17 -07:00
Guillaume J. Charmes
795426f1f2 Make sure the cookie is used in all registry queries
Upstream-commit: 3425c1b84c3f58ac5bb2feb91c4901b61561c58c
Component: engine
2013-07-25 12:31:23 -07:00
Nan Monnand Deng
0da0fa300a Rename: VersionChecker->VersionInfo.
Upstream-commit: ede1e6d4754f3cffeac72f5d760fe4d87c5ae570
Component: engine
2013-07-23 17:05:13 -04:00
Nan Monnand Deng
3427bb07af documentation.
Upstream-commit: cd209f406e889feaba50103e5ce50f7dcd23767a
Component: engine
2013-07-18 14:22:49 -04:00
Nan Monnand Deng
ebb59e49d1 reduce the number of string copy operations.
Upstream-commit: 73e79a3310f3976b61a295f45e12aead9af41962
Component: engine
2013-07-10 18:59:43 -04:00
Nan Monnand Deng
98e450c93d format in the user agent header should follow RFC 2616
Upstream-commit: 34cf976866f66bc77b961f4e66a9dd8aad1ffb00
Component: engine
2013-07-10 18:59:43 -04:00
Nan Monnand Deng
81ebd3a19c Removed an unnecessary nil assignment
Upstream-commit: e832b01349fec2acee6ec3219dc9bfb61ad38764
Component: engine
2013-07-10 18:56:49 -04:00
Nan Monnand Deng
9939aac9f5 Removed an unnecessary error check.
Upstream-commit: 26c8eae6fea53e9a78bd035614fff20086f00b17
Component: engine
2013-07-10 18:56:49 -04:00
Nan Monnand Deng
5042ef8b4a added client's kernel version
Upstream-commit: d40efc4648af6bb5c60b37a789effd602af1f132
Component: engine
2013-07-10 18:56:49 -04:00
Nan Monnand Deng
4c0f88c190 inserted setUserAgent in each HTTP request
Upstream-commit: 1bb8f60d5ae3810b465dd3c79a7a572fb017d078
Component: engine
2013-07-10 18:49:01 -04:00
Nan Monnand Deng
eb5095a476 Added version checker interface
Upstream-commit: 1d01189f04f5187bd39e9212b7af3b3e83e86361
Component: engine
2013-07-10 18:49:01 -04:00
Sam Alba
975937c08c Hardened repos name validation
Upstream-commit: 316c8328aab8f9d518574b4bef9e537fed4185f6
Component: engine
2013-07-09 16:46:55 -07:00
Sam Alba
916139ebc6 Fixed potential security issue (never try http on official index when polling the endpoint). Also fixed local repos name when pulling index.docker.io/foo/bar
Upstream-commit: f44eac49fae1b33e6ff4c6f42c5e7305caf22252
Component: engine
2013-07-09 11:30:12 -07:00
Sam Alba
76ecb3f5a4 fmt.Errorf instead of errors.New
Upstream-commit: 283ebf3ff92ef552ae9cdf23a17c1a375dac99bd
Component: engine
2013-07-05 14:56:56 -07:00
Sam Alba
fba3efb6e1 Fixed ping URL
Upstream-commit: 4c174e0bfb4c6e6333f39fff3c70058eaed37e3a
Component: engine
2013-07-05 14:55:48 -07:00
Sam Alba
44c8a27b06 Allowing namespaces in standalone registry
Upstream-commit: 57a6c83547ba4671940c3134a3f68586db603048
Component: engine
2013-07-05 14:30:43 -07:00
Sam Alba
5ee43e9d28 Restoring old changeset lost by previous merge
Upstream-commit: cfc7684b7de542cfed9d8b90b654fe59c8aa4098
Component: engine
2013-07-05 12:37:07 -07:00
Sam Alba
bf4fc24d05 Merging from master
Upstream-commit: be49f0a1182164d0d279484ec35931c1e3ef6d3c
Component: engine
2013-07-05 12:27:10 -07:00
Sam Alba
057f0a4b6f Adding support for nicer URLs to support standalone registry (+ some registry code cleaning)
Upstream-commit: 66a9d06d9fa7a382c6852cf047e1448e0d3e1782
Component: engine
2013-07-05 12:20:58 -07:00
Caleb Spare
1c71d0a65e Implement several golint suggestions, including:
* Removing type declarations where they're inferred
* Changing Url -> URL, Id -> ID in names
* Fixing snake-case names
Upstream-commit: 19121c16d9514b391ce8f15aeff3c47c1ea5a841
Component: engine
2013-07-03 14:36:04 -07:00
Tobias Schwab
cad00c9d8a fix two obvious bugs???
Upstream-commit: 9632cf09bfd7b4a8513799bf19070ecabd55c446
Component: engine
2013-07-02 22:11:03 +00:00
Sam Alba
2be0a9146e Resolve conflict
Upstream-commit: 893c974b08b8859a4d6d3d7d38d9c21c9b6472c3
Component: engine
2013-06-28 12:32:41 -07:00
shin-
8c9ba170e1 Fixed issue in registry.GetRemoteTags
Upstream-commit: 72befeef24b3fb0c77f56e3ac2bbfdb4744cbd7a
Component: engine
2013-06-28 18:42:37 +02:00
Guillaume J. Charmes
01a345c7fb Remove https prefix from registry
Upstream-commit: 57d751c3770194ff867ebace36eb1be7d72d2fe9
Component: engine
2013-06-28 18:19:58 +02:00
shin-
3635092ee9 Rolled back of previous commit (skip cert verification)
Upstream-commit: 50075106b658ab4dc82d5361e4786f7d28cc570a
Component: engine
2013-06-28 18:19:58 +02:00
shin-
6af1e08d14 Skip certificate check (don't error out on self-signed certs)
Upstream-commit: 1c817913eee7d87badc2a2748447729619d8aaf0
Component: engine
2013-06-28 18:19:58 +02:00
shin-
1f3a1ee5ca Tentative support for independent registries
Upstream-commit: de0a48bd6ff2acfb2ab546a1e718185872eea2c3
Component: engine
2013-06-28 18:19:58 +02:00
Sam Alba
5063918d95 URL schemes of both Registry and Index are now consistent
Upstream-commit: 3175e56ad03cbe0118c0982606c5eba9e34c1b07
Component: engine
2013-06-27 17:55:17 -07:00
Solomon Hykes
a4e9bba7a3 Merge branch 'master' into simpler-build-upload
Conflicts:
	api.go
	builder_client.go
	commands.go
Upstream-commit: e43323221b15d90956a200754bbf3e1d92d7bb1c
Component: engine
2013-06-20 14:19:09 -07:00
Victor Vieux
b90fb28665 rebase master
Upstream-commit: 5f93aa0ecf26699d0e905811d9125081811093b7
Component: engine
2013-06-20 13:56:36 +00:00
shin-
c4347cd657 Use opaque requests when we need to preserve urlencoding in registry requests
Upstream-commit: 0312bbc535de01cade67299dd41a69935c7241ba
Component: engine
2013-06-19 13:49:45 -07:00
Guillaume J. Charmes
e35a6b3cf9 hotfix: nil pointer uppon some registry error
Upstream-commit: a7e14a3065ccd97fcd77b4038abdf30bee78a2b4
Component: engine
2013-06-19 11:08:19 -07:00
Victor Vieux
5daee8b0f6 use go 1.1 cookiejar and revome ResetClient
Upstream-commit: fde82f448f6b1508e03f419a3ce4c9b80311d466
Component: engine
2013-06-17 18:13:40 +00:00
Guillaume J. Charmes
539c6ff974 Merge branch 'master' into improve_progressbar_pull
Upstream-commit: 60fd7d686dea6645ab61c27d0132d38c07a89e80
Component: engine
2013-06-14 12:01:40 -07:00
Guillaume J. Charmes
600eb1d103 Merge branch 'master' into postupload-endpoints-header
Conflicts:
	server.go
Upstream-commit: 78e4a385f77c33933afc47c8b3f4436ce648eb54
Component: engine
2013-06-14 11:50:58 -07:00
shin-
398ed3eba0 Send X-Docker-Endpoints header when validating the images upload with the index at the end of a push
Upstream-commit: db3242e4bb1c31a7319e6273235a9ba6b29a61d4
Component: engine
2013-06-10 11:21:56 -07:00
Guillaume J. Charmes
2aea6ddf00 Make the progressbar take the image size into consideration
Upstream-commit: f355d33b5fe37ce7c0c25373255ea8afd931f4e7
Component: engine
2013-06-06 18:16:16 -07:00
Victor Vieux
83d9b24a84 bump to master
Upstream-commit: c906239220c7ba06b8615f001fab2f42fb063aeb
Component: engine
2013-06-05 10:23:45 +00:00
Guillaume J. Charmes
2dea62a6a6 Merge pull request #808 from dotcloud/795-lintify
Cleanup source
Upstream-commit: c1ee9bf8817980c4577f914c0bc7b532f4b3000c
Component: engine
2013-06-04 14:20:38 -07:00
Victor Vieux
4747c5b99f linted names
Upstream-commit: fd224ee590dc9f003f6507b529a9f47cceb02c44
Component: engine
2013-06-04 18:00:22 +00:00
Victor Vieux
ae659077aa fix proxy
Upstream-commit: 06b585ce8a397fffcc9051e2faa6f968e51fccd5
Component: engine
2013-06-04 15:44:27 +00:00
Victor Vieux
f1e23ad555 bump to master
Upstream-commit: b6825f98c04f5d42efa4d7c177d66466ad404f4f
Component: engine
2013-06-04 14:00:18 +00:00
Victor Vieux
9c0086fb7d drop/omit
Upstream-commit: 86ada2fa5d00820288df8a59eca3deef83f4aeb6
Component: engine
2013-06-04 13:51:12 +00:00
Sam Alba
306e5f4f64 Disabled HTTP keep-alive in the default HTTP client for Registry calls
Upstream-commit: cff3b37a61b8da883437eec799b7b852d22538f0
Component: engine
2013-06-03 14:42:21 -07:00
Guillaume J. Charmes
717b10789e Minor changes in registry.go
Upstream-commit: 82dd963e08778f8c563e058f1b19ccc358965615
Component: engine
2013-06-03 12:20:52 -07:00
Sam Alba
a771e69314 Fixed missing Body.Close when doing some HTTP requests. It should improve some request issues.
Upstream-commit: 830c458fe761aca5ad2facec33b3d0798caab116
Component: engine
2013-06-03 12:14:57 -07:00