-
Notifications
You must be signed in to change notification settings - Fork 146
Clarifications on version label default value on aci discovery. #60
Comments
@sgotti My thinking on this is that it's more implementation dependent (although perhaps then we should clarify that it is up to the implementation). You can imagine that some discovery processes would want to get the latest by default for simplicity, and others might always want to get a specific version and fail if none is specified. What do you think? |
@jonboulle I think it makes sense to make the default version implementation dependent and to clarify it in the spec. About the "latest" value: I was thinking that should be good to define it in the spec as "the standard value to ask for the latest version" (so every repository can provide it for every implementation). |
Related: #56 |
@jonboulle Something more to the above question on the "latest" value definition: From what I asked in #73 and implemented in rkt/rkt#297 my thoughts are that the ACI imagemanifest shouldn't contain a "version" label with value "latest". If you look at #73 "case 2" I'm imagining that "latest" is used on fetching to get the latest ACI, but the ACI in its imagemanifest has a specific version like "version" : "2.0.1" and not "latest". What was the original idea on the latest pattern? Am I getting it correctly? |
@sgotti We have discussed this (and made changes) in a few different places so I am not quite sure on the latest status with this one - can we close it? |
@jonboulle to summarize, over then #73, related to the version label, the basic doubt is this:
Take this example case:
I'd like to know if this example is what you had in mind when you thought about the "latest" pattern. If this is correct I'm thinking that:
Or, if all the above is not correct, were you thinking that my idea of the link on the http server is wrong and that can exists an ACI called appname-latest-linux-amd64.aci with a "version" : "latest" in its imagemanifest? What do you think about all these? Thanks! |
Since some time has passed I tried to update this issue opening a new discussion and proposal in #575. |
Hanlde circular refs for responses, parameters and path items
Hi,
should the spec define that, during the aci discovery process, if the version label isn't specified it should default to "latest" (as done in discovery/parse.go?)?
Thanks!
The text was updated successfully, but these errors were encountered: