Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

cas: add a GetACI function. #395

Closed
wants to merge 2 commits into from
Closed

cas: add a GetACI function. #395

wants to merge 2 commits into from

Conversation

sgotti
Copy link
Contributor

@sgotti sgotti commented Jan 19, 2015

The last commit is the interesting one. It's based on #394.

GetACI returns the best ACI that matches the required app name and the provided
labels.
If there are multiple matching ACIs choose the latest one (defined as the
last one imported in the store).
If no version label is requested, ACIs marked as latest in the ACIInfo are
preferred.

@iaguis
Copy link
Member

iaguis commented Feb 26, 2015

Last commit LGTM

@jonboulle
Copy link
Contributor

LGTM after #394 lands

On fetching, if downloaded with the "latest" pattern (no version label
specified), the ACI is saved in the store with the "latest" flag.

In future, on "rkt fetch" or "rkt run", a way for the user to define if the
provided images (by local file or URL) should be saved in the store with the
lastest flag, should be provided. For doing this there's the need to find how
the user can request this for a specific file/URL as multiple files/URls can be
provided.
GetACI returns the best ACI that matches the required app name and the provided
labels.
If there are multiple matching ACIs choose the last one imported in the store.
If no version label is requested, ACIs marked as latest in the ACIInfo are
preferred.
@jonboulle
Copy link
Contributor

To save time I am going to pull this commit down and merge it

@jonboulle
Copy link
Contributor

Merged in #625

@jonboulle jonboulle closed this Mar 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants