-
Notifications
You must be signed in to change notification settings - Fork 879
Use existing arch/os information for searches and index operations #853
base: master
Are you sure you want to change the base?
Conversation
On Mon, Dec 15, 2014 at 10:44:57AM -0800, Phil Estes wrote:
Sounds good to me, but I think getting the new model documented 1 |
@wking good point--although the API interactions do not change at all (hmm--I did change the search result JSON to add arch/os to the response), I suppose it makes sense to document the assumption (e.g. arch/os == I will put together a doc PR for the search response and other notes about over in docker, as it looks like the docs are part of their github repo. |
a0bdc2c
to
36764aa
Compare
@wking Thought I would get to it before my holiday time off, but didn't--however, I've added a docs PR for the search API change. I also fixed all |
You can ignore circleci, but the travis build report a number of errors that should be fixed, for example: alternatively, you should run the tests suite locally - |
63d6099
to
b875ea6
Compare
This code is a first step in making the current registry aware of images which are non-Intel architecture. While os==linux today, if we are adding architecture we might as well add the pair of arch and os for future use by Microsoft where os=windows but arch=amd64. Signed-off-by: Pradipta Kr. Banerjee <[email protected]> Signed-off-by: Phil Estes <[email protected]>
b875ea6
to
0687003
Compare
Thanks @dmp42. I've fixed the tests that were failing, including a potentially important catch for an issue created by the new code--the mocked up images used in a few tests [no idea if it would be hit in real usage, but worth handling properly] had no image data, so attempting to parse that on |
On Mon, Jan 05, 2015 at 06:22:14PM -0800, Olivier Gambier wrote: I still want the search result structure in the spec 1. Having |
@wking agreed--might have gotten lost in the noise of earlier comments, but I opened moby/moby#9904 with the change to the search API spec. Of course I've only succeeded in confusing @jfrazelle so far given these changes aren't available in any registry yet :) |
lol sorry I am caught up now |
This code is a first step in making the current registry aware of
images for non-Intel architecture. While os==linux today, if
we are adding architecture we might as well add both
arch
andos
for future use by Microsoft and/or others where os != linux.Signed-off-by: Pradipta Kr. Banerjee [email protected]
Signed-off-by: Phil Estes [email protected]