Anton Tiurin
d6cc32965e
Fix comment for PathRegexp
...
Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
2015-12-04 22:14:21 +03:00
Anton Tiurin
d4435b79d9
Fix comment for PathRegexp
...
Signed-off-by: Anton Tiurin <noxiouz@yandex.ru>
2015-12-04 22:14:21 +03:00
Sylvain Baubeau
b596464d38
Use bulk delete to remove segments in Swift driver
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-12-04 12:16:49 +01:00
Sylvain Baubeau
ef4ab7a885
Use bulk delete to remove segments in Swift driver
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-12-04 12:16:49 +01:00
Stephen Day
568bf038af
Merge pull request #1233 from kendru/patch-1
...
Escape dollar signs
2015-12-03 12:29:12 -08:00
Stephen Day
fb89fd30f8
Merge pull request #1231 from tonistiigi/digest-length-check
...
Validate digest length on parsing
2015-12-03 12:17:16 -08:00
Stephen Day
4cf93714f3
Merge pull request #1231 from tonistiigi/digest-length-check
...
Validate digest length on parsing
2015-12-03 12:17:16 -08:00
Stephen Day
0a71df72a1
Merge pull request #1211 from tt/remove-name-verification
...
Remove name verification
2015-12-03 11:59:21 -08:00
Stephen Day
d46b6a8796
Merge pull request #1211 from tt/remove-name-verification
...
Remove name verification
2015-12-03 11:59:21 -08:00
Richard Scothern
eef3382222
Merge pull request #1232 from pdevine/catalog-clarification
...
Clarify pagination for catalog API endpoint
2015-12-03 09:14:23 -08:00
Sven Dowideit
7d0d94814b
Small doc fixes found by the linkchecker
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-12-03 21:26:41 +10:00
Andrew Meredith
6357b02236
Escape dollar signs
...
If this example was copied and pasted, the shell would try to interpolate `$upstream_http_docker_distribution_api_version` and `$docker_distribution_api_version`.
Signed-off-by: Andrew Meredith <andymeredith@gmail.com>
2015-12-02 23:45:09 -07:00
Stephen Day
0aee52fa3d
Merge pull request #1227 from stevvooe/walk-sorted
...
storage: enforce sorted traversal during Walk
2015-12-02 18:37:44 -08:00
Stephen Day
b66bb1287c
Merge pull request #1227 from stevvooe/walk-sorted
...
storage: enforce sorted traversal during Walk
2015-12-02 18:37:44 -08:00
Patrick Devine
b084c77c70
Clarify pagination for catalog API endpoint
...
This change clarifies the way the catalog endpoint returns results
when pagination was not explicitly requested.
Signed-off-by: Patrick Devine <patrick.devine@docker.com>
2015-12-02 18:02:51 -08:00
Stephen Day
2b63f65543
Merge pull request #1226 from aaronlehmann/avoid-stat-roundtrips
...
Avoid stat round-trips when fetching a blob
2015-12-02 16:09:29 -08:00
Tonis Tiigi
1f5f9bad39
Validate digest length on parsing
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-12-02 16:04:06 -08:00
Tonis Tiigi
f015982f0f
Validate digest length on parsing
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2015-12-02 16:04:06 -08:00
Aaron Lehmann
bf2cc0a9d6
Avoid stat round-trips when fetching a blob
...
Without this commit, three round-trips are required to fetch a blob with
a progress bar. The first is a call to Stat (HEAD request), to determine
the size. Then Open is called, which also calls Stat, and finally
performs a GET request.
Only the GET request is actually needed. The size of the blob can be
sniffed from Content-Length in the GET response.
This commit changes HTTPReadSeeker to automatically detect the size from
Content-Length instead of requiring it to be passed in. The Stat call is
removed from Open because it is no longer necessary.
HTTPReadSeeker now takes an additional errorHandler callback argument which
translates an unsuccessful HTTP response into an appropriate API-level
error. Using a callback for this makes it possible to avoid leaking the
repsonse body to Read's caller, which would make lifecycle management
problematic.
Fixes #1223
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-02 14:21:13 -08:00
Aaron Lehmann
6beeb935cd
Avoid stat round-trips when fetching a blob
...
Without this commit, three round-trips are required to fetch a blob with
a progress bar. The first is a call to Stat (HEAD request), to determine
the size. Then Open is called, which also calls Stat, and finally
performs a GET request.
Only the GET request is actually needed. The size of the blob can be
sniffed from Content-Length in the GET response.
This commit changes HTTPReadSeeker to automatically detect the size from
Content-Length instead of requiring it to be passed in. The Stat call is
removed from Open because it is no longer necessary.
HTTPReadSeeker now takes an additional errorHandler callback argument which
translates an unsuccessful HTTP response into an appropriate API-level
error. Using a callback for this makes it possible to avoid leaking the
repsonse body to Read's caller, which would make lifecycle management
problematic.
Fixes #1223
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-02 14:21:13 -08:00
mqliang
b7d246effb
rename req to resp
...
Signed-off-by: mqliang <mqliang.zju@gmail.com>
2015-12-02 20:38:54 +08:00
Stephen J Day
6693e9667c
storage: add further tests for Walk implementation
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-12-01 16:55:10 -08:00
Stephen J Day
8aa3ee6923
storage: add further tests for Walk implementation
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-12-01 16:55:10 -08:00
Stephen J Day
93f92498ce
storage: enforce sorted traversal during Walk
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-12-01 16:25:30 -08:00
Stephen J Day
5d576bc0cd
storage: enforce sorted traversal during Walk
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-12-01 16:25:30 -08:00
Stephen J Day
7bf8f846c2
storage: correctly handle error during Walk
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-12-01 16:25:29 -08:00
Stephen J Day
6ad10796ef
storage: correctly handle error during Walk
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-12-01 16:25:29 -08:00
Troels Thomsen
e1cf7c418b
Map error type to error code
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-12-01 22:26:37 +01:00
Troels Thomsen
300ce35c12
Map error type to error code
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-12-01 22:26:37 +01:00
Troels Thomsen
beeff299f8
Use well-known error type
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-12-01 22:23:47 +01:00
Troels Thomsen
1ece510198
Use well-known error type
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-12-01 22:23:47 +01:00
Troels Thomsen
e2b4b426b4
Define error type
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-12-01 22:23:38 +01:00
Richard Scothern
329c353411
Merge pull request #1225 from SvenDowideit/DOCS-227
...
TOC for configuration page incorrect
2015-12-01 09:57:45 -08:00
Sven Dowideit
9ec49c04fd
TOC for configuration page incorrect
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-12-01 14:07:55 +10:00
Richard Scothern
261ed7fa98
Merge pull request #1213 from SvenDowideit/move-to-docs-base-latest
...
Use FROM docs/base:latest again
2015-11-30 10:22:44 -08:00
Sven Dowideit
b43d0baec0
Use FROM docs/base:latest again
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-11-26 20:34:00 +10:00
Troels Thomsen
8299937613
Verify manifest name format
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-11-26 10:28:35 +01:00
Troels Thomsen
d309bce2d1
Verify manifest name format
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-11-26 10:28:35 +01:00
Troels Thomsen
6fb6183083
Verify manifest name length
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-11-26 10:28:28 +01:00
Troels Thomsen
34c8194c95
Verify manifest name length
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-11-26 10:28:28 +01:00
Troels Thomsen
a9a1b57900
Remove name verification
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-11-25 21:16:28 +01:00
Troels Thomsen
e8f8f4034e
Remove name verification
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-11-25 21:16:28 +01:00
Troels Thomsen
8257e8c42a
Use case of type name
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-11-25 21:12:49 +01:00
Troels Thomsen
ca9f0451a6
Use case of type name
...
Signed-off-by: Troels Thomsen <troels@thomsen.io>
2015-11-25 21:12:49 +01:00
Richard Scothern
4874f111ea
Merge pull request #1208 from farmerworking/fix-oss-doc-error
...
Oss secure option default to true, Fix doc error
2015-11-25 11:25:25 -08:00
Richard Scothern
7647f7fe76
Merge pull request #1204 from MHBauer/gh1197
...
Formatting content digest calculation to avoid copyright symbols
2015-11-25 11:24:06 -08:00
Michal Gebauer
73a209107e
Check if CertsDir is not empty
...
Signed-off-by: Michal Gebauer <mishak@mishak.net>
2015-11-25 18:12:19 +01:00
mqliang
6bb27bcfda
move defer statement for readability
...
Signed-off-by: mqliang <mqliang.zju@gmail.com>
2015-11-25 22:33:15 +08:00
farmerworking
8acf5a4d63
Oss secure option default to true, Fix doc error
...
Signed-off-by: farmerworking <farmerworking@gmail.com>
2015-11-25 12:38:44 +08:00
Olivier Gambier
d7a4f6cb6a
Merge pull request #1207 from Djelibeybi/master
...
Adding additional command to enable the shared system certificates
2015-11-24 15:49:58 -08:00