Richard Scothern
cb98aa744b
Merge pull request #2060 from RichardScothern/release-prep
...
Release preperation: update AUTHORS and version file
2016-11-11 10:28:15 -08:00
Richard Scothern
cb2c78ce9b
Release preperation: update AUTHORS and version file
...
Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2016-11-11 09:23:05 -08:00
Derek McGowan
9cc7c94e4e
Merge pull request #2052 from RichardScothern/fix-links
...
Fix storage driver links
2016-11-11 09:05:44 -08:00
Richard Scothern
6e62b39842
Merge pull request #2036 from pyr/fix/sort-v2-headers
...
v2 signer: correctly sort headers
2016-11-10 15:31:24 -08:00
Derek McGowan
8016d2d890
Merge pull request #2053 from dmcgowan/add-trim-name
...
Add trim name method helper to create name only references
2016-11-10 15:03:34 -08:00
Derek McGowan
31a91e419c
Add trim name method helper to create name only references
...
Add a simple helper to create name only references without having
to first get the name as a string and reparse. This method does
not fail so ignoring or checking error to simply trim reference
is not required.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-11-10 14:46:04 -08:00
Richard Scothern
4d65dd513e
Merge pull request #2038 from spacexnice/master
...
fix: oss driver would get connection reset by peer when upload large image layer.
2016-11-10 14:44:32 -08:00
Richard Scothern
09b2d06d5d
Fix storage driver links
...
Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2016-11-10 14:28:28 -08:00
Gaetan
cc71bedafb
fix type of keywords entry in frontmatter (in /registry/) ( #517 )
...
keywords should be a string, not an array containing one string
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com>
2016-11-10 11:54:25 -08:00
Stephen Day
4ad885a672
Merge pull request #2051 from vieux/update_plugin_media_typev1
...
switch to v1 and remove .image
2016-11-10 11:49:48 -08:00
Victor Vieux
b82a2efc33
switch to v1 and remove .image
...
Signed-off-by: Victor Vieux <vieux@docker.com>
2016-11-10 11:39:15 -08:00
Derek McGowan
ac0493db12
Merge pull request #2040 from RichardScothern/release-checklist
...
Document registry release process
2016-11-10 10:33:30 -08:00
Derek McGowan
717134d7c2
Merge pull request #2048 from dmcgowan/use-api-errors
...
Update oauth errors to use api errors
2016-11-09 20:27:40 -08:00
Derek McGowan
051801f1d0
Update oauth errors to use api errors
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-11-09 19:29:18 -08:00
Stephen Day
26c9a77535
Merge pull request #2039 from vdemeester/add-match-support-to-reference
...
Add a new Match method to the reference package
2016-11-09 18:49:21 -08:00
Stephen Day
e04e6ddd2c
Merge pull request #2047 from dmcgowan/fix-authorization-error
...
Add OAuth error for client
2016-11-09 18:03:38 -08:00
Derek McGowan
16396a7a80
Add OAuth error for client
...
Allow clients to handle errors being set in the WWW-Authenticate
rather than in the body. The WWW-Authenticate errors give a
more precise error describing what is needed to authorize
with the server.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-11-09 15:27:40 -08:00
Derek McGowan
a1a73884f9
Refactor authorization challenges to its own package
...
Split challenges into its own package. Avoids possible
import cycle with challenges from client.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-11-09 15:27:40 -08:00
Vincent Demeester
353e3a4c9d
Add a new Match method to the reference package
...
The Match method allows to see if a reference matches a specified
patterns.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-11-09 22:04:52 +01:00
Derek McGowan
02f4195788
Merge pull request #2044 from aaronlehmann/preserve-tag-and-digest
...
digest: Preserve tag and digest in With* functions
2016-11-08 15:10:22 -08:00
Aaron Lehmann
bc1e7aa603
digest: Preserve tag and digest in With* functions
...
When WithDigest is called on a reference that has a tag, it should
preserve the tag.
When WithTag is called on a reference that has digest, it should
preserve the digest.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2016-11-08 14:47:33 -08:00
yaoyao.xyy
a4a227e351
oss native large file copy consume too much time which will eventually lead to client timeout because of no data transmit throughout native copy. change maxCopySize to 128MB, ensure only sm all medium size file use oss native copy to avoid connection reset by peer. And fix Move function with CopyLargeFileInParallel to optimize oss upload copy
...
Signed-off-by: yaoyao.xyy <yaoyao.xyy@alibaba-inc.com>
2016-11-08 12:14:13 +08:00
Richard Scothern
1e501d0bd7
Document registry release process
...
Signed-off-by: Richard Scothern <richard.scothern@docker.com>
2016-11-07 12:48:55 -08:00
Misty Stanley-Jones
bc1e162172
Change instances of alias: to redirect_from:
...
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2016-11-04 17:07:02 -07:00
John Mulhausen
af1573e3be
Merge pull request #462 from mstanleyjones/vnext-compose2
...
Merge master into vnext-compose
2016-11-04 16:13:03 -07:00
John Mulhausen
908a1f14f5
Converges titles to imperative-form, front-matter based, and sentence-case ( #438 )
...
Multiple title fixes, consistency fixes, convergence into metadata-based titles.
2016-11-04 15:38:40 -07:00
Misty Stanley-Jones
f864c74d0d
Merge pull request #460 from mstanleyjones/revert_439
...
Revert "Merge pull request #437 from gdevillele/fix_keywords_format"
2016-11-04 13:34:29 -07:00
Misty Stanley-Jones
8c922b0c8c
Revert "Merge pull request #437 from gdevillele/fix_keywords_format"
...
This reverts commit 13ddc1350ea1edafcb03d4db901823604a5d1ec1, reversing
changes made to 7a11f05943cc62d040dcfedc7621fdeafd11c718.
2016-11-04 13:33:29 -07:00
Gaetan
3d14741648
fix more frontmatter keywords values ( #439 )
...
* fix format of frontmatter keyword entry in some .md files
Signed-off-by: Gaetan de Villele <gdevillele@gmail.com>
2016-11-04 10:48:38 -07:00
Derek McGowan
a2611c7520
Merge pull request #2027 from ahmetalpbalkan/pr-azure-memleak2
...
Update vendored azure-sdk-for-go
2016-11-04 10:08:40 -07:00
Ahmet Alp Balkan
2ab25288a2
Update vendored azure-sdk-for-go
...
Updating to a recent version of Azure Storage SDK to be
able to patch some memory leaks through configurable HTTP client
changes which were made possible by recent patches to it.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-11-03 13:24:57 -07:00
Derek McGowan
fbe6e8d212
Merge pull request #2008 from miminar/honor-x-forwarded-port
...
Honor X-Forwarded-Port header
2016-11-02 12:56:17 -07:00
Derek McGowan
6edf9c5070
Merge pull request #2032 from yuexiao-wang/cleanup-makefile
...
Add targets for Makefile
2016-11-02 10:40:47 -07:00
Pierre-Yves Ritschard
f1cf7de788
fixup! v2 signer: correctly sort headers
...
Signed-off-by: Pierre-Yves Ritschard <pyr@spootnik.org>
2016-11-02 17:07:02 +01:00
Pierre-Yves Ritschard
775cc6d632
v2 signer: correctly sort headers
...
The current code determines the header order for the
"string-to-sign" payload by sorting on the concatenation
of headers and values, whereas it should only happen on the
key.
During multipart uploads, since `x-amz-copy-source-range` and
`x-amz-copy-source` headers are present, V2 signatures fail to
validate since header order is swapped.
This patch reverts to the expected behavior.
Signed-off-by: Pierre-Yves Ritschard <pyr@spootnik.org>
2016-11-02 17:01:34 +01:00
Michal Minář
1b43e1e30d
Honor X-Forwarded-Port and Forwarded headers
...
Prefer non-standard headers like X-Forwarded-Proto, X-Forwarded-Host and
X-Forwarded-Port over the standard Forwarded header to maintain
backwards compatibility.
If a port is not specified neither in Host nor in forwarded headers but
it is specified just with X-Forwarded-Port, use its value in base urls
for redirects.
Forwarded header is defined in rfc7239.
X-Forwarded-Port is a non-standard header. Here's a description copied
from "HTTP Headers and Elastic Load Balancing" of AWS ELB docs:
> The X-Forwarded-Port request header helps you identify the port that
> an HTTP or HTTPS load balancer uses to connect to the client.
Signed-off-by: Michal Minář <miminar@redhat.com>
2016-11-02 16:49:42 +01:00
John Mulhausen
594e6b726c
Merge pull request #418 from aduermael/absolute-links
...
absolute links to docs.docker.com are now relative links
2016-11-01 17:41:16 -07:00
Adrien Duermael
2ecf05a74e
absolute links to docs.docker.com are now relative links
...
Signed-off-by: Adrien Duermael <adrien@duermael.com>
2016-11-01 17:01:41 -07:00
Richard Scothern
3d22ab0547
Merge pull request #2030 from ahmetalpbalkan/pr-go17
...
Bump to go1.7
2016-11-01 15:42:12 -07:00
yuexiao-wang
8530d65c9b
Add targets for Makefile
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2016-11-01 17:48:25 +08:00
Adrien Duermael
81b038a875
removed menu.md files
...
Signed-off-by: Adrien Duermael <adrien@duermael.com>
2016-10-31 13:45:56 -07:00
Ahmet Alp Balkan
af0d4f72fa
Bump to go1.7
...
Ref: #2027
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-10-31 13:05:03 -07:00
Richard Scothern
93a48e361c
Merge pull request #2031 from ahmetalpbalkan/swift-fix
...
driver/swift: Fix go vet warning
2016-10-31 12:55:38 -07:00
Ahmet Alp Balkan
a994f35657
driver/swift: Fix go vet warning
...
Driver was passing connections by copying. Storing
`swift.Connection` as pointer to fix the warnings.
Ref: #2030 .
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-10-31 11:41:53 -07:00
Derek McGowan
994d1a56ff
Merge pull request #2025 from ahmetalpbalkan/pr-azure-memleak1
...
storagedriver/azure: close leaking response body
2016-10-28 16:58:32 -07:00
Ahmet Alp Balkan
6d2a0bafcd
storagedriver/azure: close leaking response body
...
In GetContent() we read the bytes from a blob but do not close
the underlying response body.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2016-10-28 15:13:22 -07:00
Derek McGowan
62e88f0fe7
Merge pull request #2019 from joaofnfernandes/remove-jenkinsfile
...
Remove Jenkinsfile used for docs CI
2016-10-27 13:15:10 -07:00
Joao Fernandes
a80821295e
Remove Jenkinsfile used for docs CI
...
Signed-off-by: Joao Fernandes <joao.fernandes@docker.com>
2016-10-26 11:55:20 -07:00
Derek McGowan
4fb6b181cd
Merge pull request #2016 from spacexnice/master
...
optimize oss copy action when push upload finished.
2016-10-26 11:15:55 -07:00
yaoyao.xyy
f394e82d2b
oss data copy optimize after upload finished
...
Signed-off-by: yaoyao.xyy <yaoyao.xyy@alibaba-inc.com>
2016-10-26 09:37:58 +08:00