Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								81765f8cbb 
								
							
								 
							
						 
						
							
							
								
								Catch either missing containers or objects  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:10 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								52d28ec81a 
								
							
								 
							
						 
						
							
							
								
								Do not use Swift server side copy for manifests to handle >5G files  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:10 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								000dec3c6f 
								
							
								 
							
						 
						
							
							
								
								Inline Swift errors handling  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:10 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								661f197f68 
								
							
								 
							
						 
						
							
							
								
								Retrieve all the objects using pagination  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								704e082254 
								
							
								 
							
						 
						
							
							
								
								Do not create objects for directories  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								f190aa4a7c 
								
							
								 
							
						 
						
							
							
								
								Refactor segment path concatenation code  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								0807282859 
								
							
								 
							
						 
						
							
							
								
								Use http.StatusRequestedRangeNotSatisfiable instead of error code  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								7a5aa32a64 
								
							
								 
							
						 
						
							
							
								
								Use file instead of filepath as it may cause troubles on Windows  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								91d74a3ee2 
								
							
								 
							
						 
						
							
							
								
								Protect against deletion of objects with the same prefix  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								01686e2c07 
								
							
								 
							
						 
						
							
							
								
								Show distribution version in User-Agent  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								913fe195fd 
								
							
								 
							
						 
						
							
							
								
								Do not use suite style testing for Swift specific tests  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								1b28eea232 
								
							
								 
							
						 
						
							
							
								
								Rename environment variables to run Swift testsuite  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								2524f300dc 
								
							
								 
							
						 
						
							
							
								
								Check file has been opened before closing it  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								fbc74a6457 
								
							
								 
							
						 
						
							
							
								
								Rename DriverParameters structure to Parameters  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								80bfcb68a8 
								
							
								 
							
						 
						
							
							
								
								Change folder mime type to application/vnc.swift.directory  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								7b0276dce5 
								
							
								 
							
						 
						
							
							
								
								Add code documentation  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								5cce023aa9 
								
							
								 
							
						 
						
							
							
								
								Do not read segment if no padding is necessary  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								d91c4cb694 
								
							
								 
							
						 
						
							
							
								
								Improve 404 errors handling  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								9ab55eae39 
								
							
								 
							
						 
						
							
							
								
								Use only one Swift container for both files and manifests  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								a1ae7f7122 
								
							
								 
							
						 
						
							
							
								
								Increase default chunk size to 20M  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								davidli
							
						 
						
							 
							
							
							
								
							
								062d6266cf 
								
							
								 
							
						 
						
							
							
								
								Add support for Openstack Identity v3 API  
							
							 
							
							... 
							
							
							
							Signed-off-by: Li Wenquan <wenquan.li@hp.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								3f9e7ed169 
								
							
								 
							
						 
						
							
							
								
								Use 'prefix' parameter instead of 'path' when listing files  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								1d46bb2bcc 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								4e619bc9b1 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								75ce67c469 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								ea81e208a4 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								8a22c0f4e1 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								16a49ade16 
								
							
								 
							
						 
						
							
							
								
								Handle error during copy of original content  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:09 +02:00  
						
					 
				
					
						
							
							
								 
								nevermosby
							
						 
						
							 
							
							
							
								
							
								9f7f23e373 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								1f4eb7b735 
								
							
								 
							
						 
						
							
							
								
								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  
						
					 
				
					
						
							
							
								 
								Sylvain Baubeau
							
						 
						
							 
							
							
							
								
							
								cce4956131 
								
							
								 
							
						 
						
							
							
								
								Add Openstack Swift storage driver  
							
							 
							
							... 
							
							
							
							Signed-off-by: Sylvain Baubeau <sbaubeau@redhat.com> 
							
						 
						
							2015-07-21 23:55:08 +02:00  
						
					 
				
					
						
							
							
								 
								Stephen Day
							
						 
						
							 
							
							
							
								
							
								50de6d914c 
								
							
								 
							
						 
						
							
							
								
								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 J Day
							
						 
						
							 
							
							
							
								
							
								249ad3b76d 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								5c6c88196d 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								e9522bd600 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								41aadeac9a 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								81c21411e8 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								c958371f4b 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #633  from RichardScothern/manifest-verification  
							
							 
							
							... 
							
							
							
							External manifest verification 
							
						 
						
							2015-07-15 13:00:05 -07:00  
						
					 
				
					
						
							
							
								 
								Richard
							
						 
						
							 
							
							
							
								
							
								cd31d466e4 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								b318e01f7d 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								db30d384e0 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								c7d538aefa 
								
							
								 
							
						 
						
							
							
								
								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  
						
					 
				
					
						
							
							
								 
								Richard Scothern
							
						 
						
							 
							
							
							
								
							
								caf989a572 
								
							
								 
							
						 
						
							
							
								
								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 6bedf7d1cd  for server implementation.
Signed-off-by: Richard Scothern <richard.scothern@gmail.com> 
							
						 
						
							2015-07-14 16:52:52 -07:00  
						
					 
				
					
						
							
							
								 
								Richard Scothern
							
						 
						
							 
							
							
							
								
							
								6f2f84996d 
								
							
								 
							
						 
						
							
							
								
								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
							
						 
						
							 
							
							
							
								
							
								af3f674323 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #689  from stevvooe/remove-repository-min-component-length  
							
							 
							
							... 
							
							
							
							Allow single character repository names 
							
						 
						
							2015-07-10 12:27:13 -06:00  
						
					 
				
					
						
							
							
								 
								Stephen J Day
							
						 
						
							 
							
							
							
								
							
								a58848a0b7 
								
							
								 
							
						 
						
							
							
								
								Allow single character repository names  
							
							 
							
							... 
							
							
							
							The main goal of this changeset is to allow repository name components to
consist of a single character. The number of components allowed and the slash
separation requirements have also been clarified.
To go along with this simplification, errant constants and unneeded error types
have been removed.
Signed-off-by: Stephen J Day <stephen.day@docker.com> 
							
						 
						
							2015-07-10 12:10:42 -06:00  
						
					 
				
					
						
							
							
								 
								Derek McGowan
							
						 
						
							 
							
							
							
								
							
								5ea13fc549 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #544  from dmcgowan/refactor-client-auth  
							
							 
							
							... 
							
							
							
							Refactor client auth 
							
						 
						
							2015-07-08 11:54:07 -07:00  
						
					 
				
					
						
							
							
								 
								Derek McGowan
							
						 
						
							 
							
							
							
								
							
								970efb6ba7 
								
							
								 
							
						 
						
							
							
								
								Fix typo in Version doc  
							
							 
							
							... 
							
							
							
							Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) 
							
						 
						
							2015-07-08 11:02:47 -07:00  
						
					 
				
					
						
							
							
								 
								Derek McGowan
							
						 
						
							 
							
							
							
								
							
								376cc5fe75 
								
							
								 
							
						 
						
							
							
								
								Add challenge manager interface  
							
							 
							
							... 
							
							
							
							Challenger manager interface is used to handle getting authorization challenges from an endpoint as well as extracting challenges from responses.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) 
							
						 
						
							2015-07-01 15:00:25 -07:00  
						
					 
				
					
						
							
							
								 
								Derek McGowan
							
						 
						
							 
							
							
							
								
							
								5a3a9c6a77 
								
							
								 
							
						 
						
							
							
								
								Separate version and challenge parsing from ping  
							
							 
							
							... 
							
							
							
							Replace ping logic with individual functions to extract API version and authorization challenges. The response from a ping operation can be passed into these function. If an error occurs in parsing, the version or challenge will not be used. Sending the ping request is the responsibility of the caller.
APIVersion has been converted from a string to a structure type. A parse function was added to convert from string to the structure type.
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) 
							
						 
						
							2015-07-01 15:00:25 -07:00