3aedd7294a 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2004  from kencochrane/master  
							
							... 
							
							
							
							fix the error message so it is the same as the regex issue #1999  
							
						 
						
							2013-09-25 09:46:15 -07:00  
				
					
						
							
							
								 
						
							
							
								cbb906e41f 
								
							
								 
							
						 
						
							
							
								
								fix the error message so it is the same as the regex issue  #1999  
							
							
							
						 
						
							2013-09-25 11:33:09 -04:00  
				
					
						
							
							
								 
						
							
							
								38c0b8a3f1 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1949  from dotcloud/1895-registry-regex  
							
							... 
							
							
							
							Modify repository name regex to match index 
							
						 
						
							2013-09-20 14:03:50 -07:00  
				
					
						
							
							
								 
						
							
							
								9c366e092d 
								
							
								 
							
						 
						
							
							
								
								Modify repository name regex to match index  
							
							
							
						 
						
							2013-09-19 20:25:00 -07:00  
				
					
						
							
							
								 
						
							
							
								96593dc278 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1908  from dotcloud/bump_v0.6.2  
							
							... 
							
							
							
							Bump v0.6.2 
							
						 
						
							2013-09-18 11:21:51 -07:00  
				
					
						
							
							
								 
						
							
							
								49736d5fc7 
								
							
								 
							
						 
						
							
							
								
								Prevent panic upon error pulling registry  
							
							
							
						 
						
							2013-09-16 16:18:25 -07:00  
				
					
						
							
							
								 
						
							
							
								ee38e49093 
								
							
								 
							
						 
						
							
							
								
								Login against private registry  
							
							... 
							
							
							
							To improve the use of docker with a private registry the login
command is extended with a parameter for the server address.
While implementing i noticed that two problems hindered authentication to a
private registry:
1. the resolve of the authentication did not match during push
   because the looked up key was for example localhost:8080 but
   the stored one would have been https://localhost:8080 
   Besides The lookup needs to still work if the https->http fallback
   is used
2. During pull of an image no authentication is sent, which
   means all repositories are expected to be private.
These points are fixed now. The changes are implemented in
a way to be compatible to existing behavior both in the
API as also with the private registry.
Update:
- login does not require the full url any more, you can login
  to the repository prefix:
  example:
  docker logon localhost:8080
Fixed corner corner cases:
- When login is done during pull and push the registry endpoint is used and
  not the central index
- When Remote sends a 401 during pull, it is now correctly delegating to
  CmdLogin
- After a Login is done pull and push are using the newly entered login data,
  and not the previous ones. This one seems to be also broken in master, too.
- Auth config is now transfered in a parameter instead of the body when
  /images/create is called. 
							
						 
						
							2013-09-03 20:45:49 +02:00  
				
					
						
							
							
								 
						
							
							
								037e1bb1a3 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1628  from dotcloud/bump_0.6.0  
							
							... 
							
							
							
							Bump to 0.6.0 
							
						 
						
							2013-08-23 10:45:14 -07:00  
				
					
						
							
							
								 
						
							
							
								3d099689cc 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1473  from shin-/978-opaque-v2  
							
							... 
							
							
							
							Reworking opaque requests in registry module 
							
						 
						
							2013-08-16 12:24:51 -07:00  
				
					
						
							
							
								 
						
							
							
								a7b3e7eb78 
								
							
								 
							
						 
						
							
							
								
								registry: removing opaqueRequest  
							
							
							
						 
						
							2013-08-16 19:33:59 +02:00  
				
					
						
							
							
								 
						
							
							
								4ed0cb06e6 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1551  from dotcloud/hotfix_parallel_pull_display  
							
							... 
							
							
							
							hot fix display in parallel pull and gofmt 
							
						 
						
							2013-08-15 04:43:26 -07:00  
				
					
						
							
							
								 
						
							
							
								ecd70a1948 
								
							
								 
							
						 
						
							
							
								
								hot fix display in parallel pull and go fmt  
							
							
							
						 
						
							2013-08-15 11:42:40 +00:00  
				
					
						
							
							
								 
						
							
							
								e55267bc99 
								
							
								 
							
						 
						
							
							
								
								Add GitHub usernames to MAINTAINERS  
							
							
							
						 
						
							2013-08-09 21:16:44 -04:00  
				
					
						
							
							
								 
						
							
							
								856fce8c2c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1481  from titanous/fix-sprint  
							
							... 
							
							
							
							Fix typo: fmt.Sprint -> fmt.Sprintf 
							
						 
						
							2013-08-09 17:28:59 -07:00  
				
					
						
							
							
								 
						
							
							
								42b6e56d19 
								
							
								 
							
						 
						
							
							
								
								Fix typo: fmt.Sprint -> fmt.Sprintf  
							
							
							
						 
						
							2013-08-09 19:52:05 -04:00  
				
					
						
							
							
								 
						
							
							
								3fdac42b99 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1362  from dotcloud/registry_test  
							
							... 
							
							
							
							* Registry: Registry unit tests + mock registry 
							
						 
						
							2013-08-07 15:30:07 -07:00  
				
					
						
							
							
								 
						
							
							
								f1ead19f3f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1406  from dotcloud/1363-reduce_timeout-fix  
							
							... 
							
							
							
							Reduce connect and read timeout when pinging the registry (fixes issue #1363 ) 
							
						 
						
							2013-08-06 04:22:44 -07:00  
				
					
						
							
							
								 
						
							
							
								03c1bbbf65 
								
							
								 
							
						 
						
							
							
								
								Adapted tests to latest registry changes  
							
							
							
						 
						
							2013-08-05 20:28:05 +02:00  
				
					
						
							
							
								 
						
							
							
								5ea461f300 
								
							
								 
							
						 
						
							
							
								
								Cleanup  
							
							
							
						 
						
							2013-08-05 19:07:23 +02:00  
				
					
						
							
							
								 
						
							
							
								da046e945f 
								
							
								 
							
						 
						
							
							
								
								Mock access logs don't show up in non-debug mode  
							
							
							
						 
						
							2013-08-05 19:06:00 +02:00  
				
					
						
							
							
								 
						
							
							
								7c3b31e5d4 
								
							
								 
							
						 
						
							
							
								
								gofmt  
							
							
							
						 
						
							2013-08-05 19:06:00 +02:00  
				
					
						
							
							
								 
						
							
							
								4d9dcc3cba 
								
							
								 
							
						 
						
							
							
								
								New registry unit tests remade from scratch, using the mock registry  
							
							
							
						 
						
							2013-08-05 19:06:00 +02:00  
				
					
						
							
							
								 
						
							
							
								93877a859a 
								
							
								 
							
						 
						
							
							
								
								Mock registry: Fixed a bug where the index validation path would return a 200 status code instead of the expected 204  
							
							
							
						 
						
							2013-08-05 19:06:00 +02:00  
				
					
						
							
							
								 
						
							
							
								04cbff8d35 
								
							
								 
							
						 
						
							
							
								
								registry: Fixed a bug where token and cookie info wouldn't be sent when using LookupRemoteImage(). Fixed a bug where no error would be reported when getting a non-200 status code in GetRemoteImageLayer()  
							
							
							
						 
						
							2013-08-05 19:05:14 +02:00  
				
					
						
							
							
								 
						
							
							
								28f0f0ffb8 
								
							
								 
							
						 
						
							
							
								
								Disabled test server in the tests  
							
							
							
						 
						
							2013-08-05 19:02:57 +02:00  
				
					
						
							
							
								 
						
							
							
								34fc4b8407 
								
							
								 
							
						 
						
							
							
								
								Mocked registry: Added X-Docker-Size when fetching the layer  
							
							
							
						 
						
							2013-08-05 19:02:57 +02:00  
				
					
						
							
							
								 
						
							
							
								3ca4529fbe 
								
							
								 
							
						 
						
							
							
								
								Fixed mocked registry  
							
							
							
						 
						
							2013-08-05 19:02:57 +02:00  
				
					
						
							
							
								 
						
							
							
								14cc9fcfda 
								
							
								 
							
						 
						
							
							
								
								Implemented a Mocked version of the Registry server  
							
							
							
						 
						
							2013-08-05 19:02:57 +02:00  
				
					
						
							
							
								 
						
							
							
								0e12ec253d 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1408  from dotcloud/1407-localhost_is_a_domain-fix  
							
							... 
							
							
							
							Always consider localhost as a domain name when parsing the FQN repos name 
							
						 
						
							2013-08-05 08:50:12 -07:00  
				
					
						
							
							
								 
						
							
							
								67be3be855 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1382  from monnand/650-http-utils  
							
							... 
							
							
							
							650 http utils and user agent field 
							
						 
						
							2013-08-05 08:49:12 -07:00  
				
					
						
							
							
								 
						
							
							
								fec63826b9 
								
							
								 
							
						 
						
							
							
								
								Always consider localhost as a domain name when parsing the FQN repos name  
							
							
							
						 
						
							2013-08-04 17:59:12 -07:00  
				
					
						
							
							
								 
						
							
							
								1fe03a4bf7 
								
							
								 
							
						 
						
							
							
								
								Reduce connect and read timeout when pinging the registry (fixes issue  #1363 )  
							
							
							
						 
						
							2013-08-04 17:42:24 -07:00  
				
					
						
							
							
								 
						
							
							
								95b4a0c32a 
								
							
								 
							
						 
						
							
							
								
								Return JSONError for HTTPResponse error  
							
							
							
						 
						
							2013-08-03 00:27:58 +00:00  
				
					
						
							
							
								 
						
							
							
								762dfbfced 
								
							
								 
							
						 
						
							
							
								
								reqFactory in Registry  
							
							
							
						 
						
							2013-08-02 03:08:08 -04:00  
				
					
						
							
							
								 
						
							
							
								11cd5760f9 
								
							
								 
							
						 
						
							
							
								
								Return registy status code in error  
							
							... 
							
							
							
							Added Details map to the JSONMessage 
							
						 
						
							2013-07-30 23:24:31 +00:00  
				
					
						
							
							
								 
						
							
							
								0b59dcfa2d 
								
							
								 
							
						 
						
							
							
								
								Make sure the index also receives the checksums  
							
							
							
						 
						
							2013-07-29 11:30:21 -07:00  
				
					
						
							
							
								 
						
							
							
								1c62adeda7 
								
							
								 
							
						 
						
							
							
								
								Handle extra-paremeter within checksum calculations  
							
							
							
						 
						
							2013-07-29 11:30:17 -07:00  
				
					
						
							
							
								 
						
							
							
								4a818a5e73 
								
							
								 
							
						 
						
							
							
								
								Refactor checksum  
							
							
							
						 
						
							2013-07-29 11:30:17 -07:00  
				
					
						
							
							
								 
						
							
							
								64a8dea9d7 
								
							
								 
							
						 
						
							
							
								
								Make sure the cookie is used in all registry queries  
							
							
							
						 
						
							2013-07-25 12:31:23 -07:00  
				
					
						
							
							
								 
						
							
							
								262838e069 
								
							
								 
							
						 
						
							
							
								
								Rename: VersionChecker->VersionInfo.  
							
							
							
						 
						
							2013-07-23 17:05:13 -04:00  
				
					
						
							
							
								 
						
							
							
								5f13f19407 
								
							
								 
							
						 
						
							
							
								
								documentation.  
							
							
							
						 
						
							2013-07-18 14:22:49 -04:00  
				
					
						
							
							
								 
						
							
							
								4b7dbfbcc3 
								
							
								 
							
						 
						
							
							
								
								reduce the number of string copy operations.  
							
							
							
						 
						
							2013-07-10 18:59:43 -04:00  
				
					
						
							
							
								 
						
							
							
								14155d6031 
								
							
								 
							
						 
						
							
							
								
								format in the user agent header should follow RFC 2616  
							
							
							
						 
						
							2013-07-10 18:59:43 -04:00  
				
					
						
							
							
								 
						
							
							
								e9e0d3c1c5 
								
							
								 
							
						 
						
							
							
								
								Removed an unnecessary nil assignment  
							
							
							
						 
						
							2013-07-10 18:56:49 -04:00  
				
					
						
							
							
								 
						
							
							
								6a2aee3043 
								
							
								 
							
						 
						
							
							
								
								Removed an unnecessary error check.  
							
							
							
						 
						
							2013-07-10 18:56:49 -04:00  
				
					
						
							
							
								 
						
							
							
								cf8afcf647 
								
							
								 
							
						 
						
							
							
								
								added client's kernel version  
							
							
							
						 
						
							2013-07-10 18:56:49 -04:00  
				
					
						
							
							
								 
						
							
							
								342460ed9a 
								
							
								 
							
						 
						
							
							
								
								inserted setUserAgent in each HTTP request  
							
							
							
						 
						
							2013-07-10 18:49:01 -04:00  
				
					
						
							
							
								 
						
							
							
								2e95c379d1 
								
							
								 
							
						 
						
							
							
								
								Added version checker interface  
							
							
							
						 
						
							2013-07-10 18:49:01 -04:00  
				
					
						
							
							
								 
						
							
							
								358574ab57 
								
							
								 
							
						 
						
							
							
								
								Hardened repos name validation  
							
							
							
						 
						
							2013-07-09 16:46:55 -07:00  
				
					
						
							
							
								 
						
							
							
								bf8d59a1d4 
								
							
								 
							
						 
						
							
							
								
								Fixed potential security issue (never try http on official index when polling the endpoint). Also fixed local repos name when pulling index.docker.io/foo/bar  
							
							
							
						 
						
							2013-07-09 11:30:12 -07:00