Sylvain Baubeau
1c01ca4b39
Create full folder hierarchy instead of just the top level folder
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:09 +02:00
Sylvain Baubeau
03188fe394
Add mitchellh/mapstructure to Godeps
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:09 +02:00
Sylvain Baubeau
c4d845cb6c
Remove one level of indentation in swift path handling code
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:09 +02:00
Sylvain Baubeau
4497d6c973
Use mitchellh/mapstructure library to parse Swift parameters
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:09 +02:00
Sylvain Baubeau
2632fd9dc8
Move Dynamic Large Object handling to dedicated methods
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:09 +02:00
Sylvain Baubeau
d8d50fb0e0
Simplify code that handles non existing manifests
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:09 +02:00
Sylvain Baubeau
5e650a820a
Handle error during copy of original content
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:09 +02:00
Sylvain Baubeau
5f6a07756f
Fix path to swift storage driver documentation
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:09 +02:00
nevermosby
7372c13f29
Update the import path for swift driver test
...
Signed-off-by: Li Wenquan <wenquan.li@hp.com>
2015-07-21 23:55:09 +02:00
davidli
8da60d6445
Add swift driver dependencies into Godep workspace.
...
Signed-off-by: Li Wenquan <wenquan.li@hp.com>
2015-07-21 23:55:09 +02:00
davidli
6dc1596be4
Use gofmt to format the code of swift driver.
...
Signed-off-by: Li Wenquan <wenquan.li@hp.com>
2015-07-21 23:55:09 +02:00
davidli
f555defdb7
Add the reference for openstack swift in the documentation.
...
Signed-off-by: Li Wenquan <wenquan.li@hp.com>
2015-07-21 23:55:08 +02:00
Sylvain Baubeau
ea7c53df08
Add Openstack Swift storage driver
...
Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com>
2015-07-21 23:55:08 +02:00
Olivier Gambier
5ee441cdc7
Merge pull request #723 from stevvooe/fix-ceph
...
Attempt to fix Ceph after command syntax changed
2015-07-21 14:49:05 -07:00
Stephen J Day
4113bc4f05
Attempt to fix Ceph after command syntax changed
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-21 14:29:30 -07:00
Stephen Day
7333361596
Merge pull request #717 from kyzh/patch-2
...
Change confusing enpoint name
2015-07-21 13:58:53 -07:00
Stephen Day
32e7acfea2
Merge pull request #720 from stevvooe/amend-coding-guidelines
...
Clarify style rule about testing frameworks
2015-07-21 13:55:36 -07:00
Stephen Day
982308313a
Merge pull request #721 from stevvooe/oyster-png-readme
...
Add registry oyster to README
2015-07-21 13:52:02 -07:00
Stephen J Day
9a90e1d033
Add registry oyster to README
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-21 12:41:56 -07:00
Stephen J Day
127fe5d2ad
Clarify style rule about testing frameworks
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-21 11:48:17 -07:00
Florentin Raud
3f33d20b2a
Change confusing enpoint name
...
Since the actual port is 5003, it would make sense to name it local-5003 instead of local-8082
Signed-off-by: Florentin Raud <florentin.raud@gmail.com>
2015-07-21 09:05:27 +01:00
Stephen Day
856638e299
Merge pull request #715 from moxiegirl/update-docs-dockerfile
...
Updating to use base image from master
2015-07-20 15:44:03 -07:00
Olivier Gambier
895c543542
Merge pull request #716 from kyzh/patch-1
...
Fix broken link to deploying.md
2015-07-20 10:49:23 -07:00
Florentin Raud
96a26a7425
Fix a broken link
...
The link was pointing to deployement.md, while the file is deploying.md
Note:
Currently the problem is not visible on https://docs.docker.com/registry/authentication/
The issue is visible on https://github.com/docker/distribution/blob/master/docs/authentication.md
2015-07-20 14:59:54 +01:00
Mary Anthony
8b4e4bb3a6
Updating to use base image from master
...
Signed-off-by: Mary Anthony <mary@docker.com>
2015-07-19 16:11:05 -07:00
Stephen Day
5e9d0702a1
Merge pull request #713 from stevvooe/descriptor-size-field
...
Use "Size" field to describe blobs over "Length"
2015-07-17 22:06:59 -07:00
Stephen Day
3724aaa8fe
Merge pull request #714 from stevvooe/coding-style
...
Add Go coding style guidelines
2015-07-17 22:04:30 -07:00
Stephen J Day
7bd6d6085e
Add Go coding style guidelines
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-17 17:49:53 -07:00
Stephen J Day
26b7fe4a91
Use "Size" field to describe blobs over "Length"
...
After consideration, we've changed the main descriptor field name to for number
of bytes to "size" to match convention. While this may be a subjective
argument, commonly we refer to files by their "size" rather than their
"length". This will match other conventions, like `(FileInfo).Size()` and
methods on `io.SizeReaderAt`. Under more broad analysis, this argument doesn't
necessarily hold up. If anything, "size" is shorter than "length".
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-17 17:07:11 -07:00
Stephen Day
400e9cb71f
Merge pull request #697 from stevvooe/expand-roadmap
...
Add goals and feature discussion to ROADMAP
2015-07-17 13:41:02 -07:00
Stephen J Day
a8dd59ac44
Add goals and feature discussion to ROADMAP
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-17 12:34:12 -07:00
Stephen Day
fed58bd2d3
Merge pull request #705 from stevvooe/export-servejson-errors
...
Export ServeJSON for serving error codes
2015-07-16 14:35:27 -07:00
Stephen Day
c4208c4cce
Merge pull request #706 from BrianBland/authLoggingWarnLevel
...
Reduces log level of auth error lines from error->warn
2015-07-16 12:50:55 -07:00
Brian Bland
c25f4af00f
Reduces log level of auth error lines from error->warn
...
An error level log is already produced within app.authorized() if an
actual unexpected error occurs during authorization, so this warning
level log remains for auditability purposes, but should not be
considered an error condition.
Addresses #704
Signed-off-by: Brian Bland <brian.bland@docker.com>
2015-07-16 12:43:33 -07:00
Stephen J Day
86ffe515df
Export ServeJSON for serving error codes
...
This changeset provides a common http handler for serving errcodes. This should
unify http responses across webservices in the face of errors.
Several type assertions have been added, as well, to ensure the error interface
is implemented.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-16 12:14:14 -07:00
Stephen Day
92aa378df4
Merge pull request #702 from ayosec/patch-1
...
Fix link to token specification
2015-07-15 21:05:15 -07:00
Ayose Cazorla
dbf3ce3cde
Fix link to token specification
...
Link was broken in cf9b4ab5e9
Signed-off-by: Ayose <ayosec@gmail.com>
2015-07-16 04:51:34 +01:00
Stephen Day
7c5c26b341
Merge pull request #633 from RichardScothern/manifest-verification
...
External manifest verification
2015-07-15 13:00:05 -07:00
Richard
f331da2daa
Allow Manifest Service to be configured with function arguments
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-07-15 12:25:16 -07:00
Stephen Day
2b88cb9413
Merge pull request #651 from duglin/ErrArgs
...
Add ability to pass in substitution args into an Error
2015-07-15 11:22:59 -07:00
Doug Davis
94e2e9f4a0
Add ability to pass in substitution args into an Error
...
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-07-15 11:02:10 -07:00
Derek McGowan
0cda2f61e8
Merge pull request #699 from RichardScothern/client-manifest-etags-clean
...
Allow conditional fetching of manifests with the registry client.
2015-07-14 17:29:59 -07:00
Stephen Day
b2b07f0c8b
Merge pull request #698 from RichardScothern/fix-noresumabledigest-build
...
Fix build when using build tag 'noresumabledigest'
2015-07-14 17:22:04 -07:00
Richard Scothern
48a2010ac3
Allow conditional fetching of manifests with the registry client.
...
Add a functional argument to pass a digest to (ManifestService).GetByTag().
If the digest matches an empty manifest and nil error are returned.
See 1bc740b0d5
for server implementation.
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-07-14 16:52:52 -07:00
Richard Scothern
7e6fda610d
Fix build when using build tag 'noresumabledigest'
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-07-14 11:14:09 -07:00
Stephen Day
2451dd1c32
Merge pull request #691 from ojacques/master
...
docs: fix yaml sections formatting at docs.docker.com
2015-07-13 14:16:21 -07:00
Stephen Day
171ed44bf9
Merge pull request #686 from rxbynerd/include-intermediate-tls-config-in-docs
...
Include configuration explanation for intermediate TLS certificates
2015-07-13 14:08:14 -07:00
moxiegirl
79a4ca2abe
Merge pull request #682 from moxiegirl/fix-issue-s681
...
Fixing old ref to DHE to DTR fixes #681
2015-07-11 19:28:07 -07:00
Olivier Jacques
f03e25221f
Fix indentation for several subs
...
Signed-off-by: Olivier Jacques <olivier.jacques@hp.com>
2015-07-11 10:38:39 +02:00
Olivier Jacques
b3683863dd
docs: fix yaml sections format at docs.docker.com
...
yaml sections in the documentation does not display well on
docs.docker.com. This is due to the syntax highlighting
which uses highlight.js and does not support yaml
currently.
The fix is to remove triple back ticks and indent instead.
We loose yaml syntax highlighting on github, but it displays
an acceptable version on both github and docs.docker.com.
Signed-off-by: Olivier Jacques <olivier.jacques@hp.com>
2015-07-10 23:22:06 +02:00