Stephen Day
5faeddf8af
Merge pull request #414 from stevvooe/check-error-copy
...
Check error returned from io.Copy
2015-04-22 12:46:55 -07:00
Stephen Day
e59046e598
Merge pull request #414 from stevvooe/check-error-copy
...
Check error returned from io.Copy
2015-04-22 12:46:55 -07:00
Stephen J Day
f1ea982e82
Check error returned from io.Copy
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-22 12:35:08 -07:00
Stephen J Day
4330627c71
Check error returned from io.Copy
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-22 12:35:08 -07:00
Stephen J Day
9bd1186654
Update goamz package dependency
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-22 12:32:59 -07:00
Stephen Day
aa09c6c262
Merge pull request #408 from stevvooe/increase-retry-backoff
...
Backoff retry on verification to give s3 time to propagate
2015-04-21 13:19:28 -07:00
Stephen Day
06fcc9213a
Merge pull request #408 from stevvooe/increase-retry-backoff
...
Backoff retry on verification to give s3 time to propagate
2015-04-21 13:19:28 -07:00
Stephen J Day
632e46418b
Backoff retry on verification to give s3 time to propagate
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-21 13:04:46 -07:00
Stephen J Day
36ffe0c134
Backoff retry on verification to give s3 time to propagate
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-21 13:04:46 -07:00
Stephen Day
ad69b9d984
Merge pull request #407 from stevvooe/log-canonical-digest
...
log canonical digest on verification error
2015-04-21 13:03:32 -07:00
Stephen Day
5f7693da80
Merge pull request #407 from stevvooe/log-canonical-digest
...
log canonical digest on verification error
2015-04-21 13:03:32 -07:00
Stephen J Day
d8dbcc3efa
log canonical digest on verification error
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-21 11:34:18 -07:00
Stephen J Day
77b30cfb25
log canonical digest on verification error
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-21 11:34:18 -07:00
Olivier Gambier
1b975e980b
Merge pull request #405 from stevvooe/eventual-consistency
...
Attempt to deal with eventual consistency by retrying
2015-04-20 18:59:01 -07:00
Olivier Gambier
4f41f0be06
Merge pull request #405 from stevvooe/eventual-consistency
...
Attempt to deal with eventual consistency by retrying
2015-04-20 18:59:01 -07:00
Stephen Day
70e6ad6ef1
Merge pull request #404 from RichardScothern/digest-log
...
Add logging for generic handler errors.
2015-04-20 18:51:59 -07:00
Stephen Day
85338448a3
Merge pull request #404 from RichardScothern/digest-log
...
Add logging for generic handler errors.
2015-04-20 18:51:59 -07:00
Stephen J Day
c8345090d9
Attempt to deal with eventual consistency by retrying
...
Rather than accept the resulting of a layer validation, we retry up to three
times, backing off 100ms after each try. The thought is that we allow s3 files
to make their way into the correct location increasing the liklihood the
verification can proceed, if possible.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-20 18:49:22 -07:00
Stephen J Day
d4ce8f5ef8
Attempt to deal with eventual consistency by retrying
...
Rather than accept the resulting of a layer validation, we retry up to three
times, backing off 100ms after each try. The thought is that we allow s3 files
to make their way into the correct location increasing the liklihood the
verification can proceed, if possible.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-20 18:49:22 -07:00
Richard
3a1029a262
Add logging for generic handler errors.
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-04-20 17:47:52 -07:00
Richard
431811056b
Add logging for generic handler errors.
...
Signed-off-by: Richard Scothern <richard.scothern@gmail.com>
2015-04-20 17:47:52 -07:00
Doug Davis
34d1494c7f
Make .docker dir have 0700 perms not 0600
...
Thanks to @dmcgowan for noticing.
Added a testcase to make sure Save() can create the dir and then
read from it.
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-04-20 14:16:50 -07:00
Stephen Day
75e78e31de
Merge pull request #399 from stevvooe/response-writer-context
...
context: return instrumented response writer from context
2015-04-20 13:39:18 -07:00
Doug Davis
7b8b61bda1
Add .docker/config.json and support for HTTP Headers
...
This PR does the following:
- migrated ~/.dockerfg to ~/.docker/config.json. The data is migrated
but the old file remains in case its needed
- moves the auth json in that fie into an "auth" property so we can add new
top-level properties w/o messing with the auth stuff
- adds support for an HttpHeaders property in ~/.docker/config.json
which adds these http headers to all msgs from the cli
In a follow-on PR I'll move the config file process out from under
"registry" since it not specific to that any more. I didn't do it here
because I wanted the diff to be smaller so people can make sure I didn't
break/miss any auth code during my edits.
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-04-20 13:05:24 -07:00
Stephen J Day
cb938c476f
Return instrumented response writer from context
...
This is ensures that users of the ResponseWriter from the context correctly
track usage. Otherwise, context reporting is incorrect.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-20 11:15:01 -07:00
Stephen Day
f3097d716e
Merge pull request #392 from moxiegirl/post-releas-updates
...
Couple of post-release Fixes
2015-04-20 11:12:41 -07:00
Alexander Morozov
94e2413ec0
Merge pull request #12524 from RickWieman/12523-remove-redundant-else
...
Removes redundant else in registry/session.go
2015-04-19 22:08:50 -07:00
Rick Wieman
4778468202
Removes redundant else in registry/session.go
...
Fixes #12523
Signed-off-by: Rick Wieman <git@rickw.nl>
2015-04-19 23:58:55 +02:00
Antonio Murdaca
742cf000d3
Refactor else branches
...
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
2015-04-19 15:32:54 +02:00
Mary Anthony
d588ed13b2
Fixes #391 for registry top page
...
Fixes #390 to add building link to README
Docker Registry Service to Docker Registry
Signed-off-by: Mary Anthony <mary@docker.com>
2015-04-18 17:32:57 -07:00
Stephen Day
a9a9658e41
Merge pull request #388 from mika/master
...
docs: drop newlines in URLs to avoid 404
2015-04-17 16:54:09 -07:00
Stephen Day
22c72773f6
Merge pull request #389 from DreadPirateShawn/fixtypos
...
Fix deployment guide typos re: image name consistency.
2015-04-17 16:51:31 -07:00
Shawn Falkner-Horine
85cc6bc4bb
Fix deployment guide typos re: image name consistency.
...
Signed-off-by: Shawn Falkner-Horine <dreadpirateshawn@gmail.com>
2015-04-17 21:13:24 +00:00
Michael Prokop
647e0a48b3
docs: drop newlines in URLs to avoid 404
...
The docs as available at
https://github.com/docker/distribution/blob/master/docs/configuration.md
result in 404 errors:
https://github.com/docker/distribution/blob/master/cmd/registry/%0Aconfig.yml
http://docs.aws.amazon.com/AWSSecurityCredentials/1.0/%0AAboutAWSCredentials.html#KeyPairs
instead of pointing to the correct ones, being:
https://github.com/docker/distribution/blob/master/cmd/registry/config.yml
http://docs.aws.amazon.com/AWSSecurityCredentials/1.0/AboutAWSCredentials.html#KeyPairs
So avoid the newlines in the corresponding source files.
Signed-off-by: Michael Prokop <mika@grml.org>
2015-04-17 23:09:43 +02:00
Stephen Day
3802701cdc
Merge pull request #375 from RichardScothern/path-logging
...
registry/storage/driver: add path and other info to filesytem trace methods.
2015-04-17 14:09:23 -07:00
Stephen Day
7c25fcf698
Merge pull request #375 from RichardScothern/path-logging
...
registry/storage/driver: add path and other info to filesytem trace methods.
2015-04-17 14:09:23 -07:00
Richard
bc2b6efaa6
Add path and other info to filesytem trace methods.
...
Also fix Delete (was 'Move').
2015-04-17 13:55:18 -07:00
Richard
6b1c2e9b1f
Add path and other info to filesytem trace methods.
...
Also fix Delete (was 'Move').
2015-04-17 13:55:18 -07:00
Stephen Day
7c760146bd
Merge pull request #384 from liubin/fixtypos
...
fix some typos in source comments
2015-04-17 11:55:19 -07:00
Stephen Day
57341dbb0d
Merge pull request #384 from liubin/fixtypos
...
fix some typos in source comments
2015-04-17 11:55:19 -07:00
bin liu
e0521d2d01
fix some typos in source comments
...
Signed-off-by: bin liu <liubin0329@gmail.com>
2015-04-17 12:39:52 +00:00
bin liu
f3f46307f2
fix some typos in source comments
...
Signed-off-by: bin liu <liubin0329@gmail.com>
2015-04-17 12:39:52 +00:00
Stephen Day
5ded64812a
Merge pull request #376 from nubs/patch-1
...
docs: fix registry link to point to localhost in deploy doc
2015-04-16 15:38:06 -07:00
Spencer Rinehart
570fedb2ab
Fix registry link to point to localhost in deploy doc.
...
Signed-off-by: Spencer Rinehart <anubis@overthemonkey.com>
2015-04-16 17:16:42 -05:00
Stephen Day
62b70f951f
Merge pull request #374 from stevvooe/release-preparation
...
Release preparation
2015-04-16 11:27:48 -07:00
Stephen J Day
aa74de8824
Update rough version for release
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-16 11:25:03 -07:00
Stephen J Day
04a6446e90
Update AUTHORS file for releease.
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-16 11:23:56 -07:00
Stephen Day
3bf989585c
Merge pull request #333 from RichardScothern/purgeuploads
...
registry/storage: automatically purge old upload files
2015-04-16 11:16:51 -07:00
Stephen Day
cce1641f9b
Merge pull request #333 from RichardScothern/purgeuploads
...
registry/storage: automatically purge old upload files
2015-04-16 11:16:51 -07:00
Olivier Gambier
604d39bbed
Merge pull request #373 from bfirsh/use-tag-in-docker-run
...
Use registry:2.0 tag in docker run
2015-04-16 11:16:33 -07:00