-
Notifications
You must be signed in to change notification settings - Fork 3.6k
content: support manifest labeling on completed content ingests on the client #2117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
content: support manifest labeling on completed content ingests on the client #2117
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2117 +/- ##
=======================================
Coverage 45.53% 45.53%
=======================================
Files 80 80
Lines 8726 8726
=======================================
Hits 3973 3973
Misses 4107 4107
Partials 646 646
Continue to review full report at Codecov.
|
} | ||
|
||
// SetChildrenLabels is a handler wrapper which sets labels for the content on | ||
// the children returned by the handler and passes through the children. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must follow a handler that returns the children to be labeled.
LGTM Nit on the docs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; can merge after the comment nit from @stevvooe
Fix issue where manifest content must always be fetched even if it is already fully downloaded or shared locally. Simplify children label setting and platform filtering. Prevent getting a fetcher when content shared locally. Signed-off-by: Derek McGowan <derek@mcgstyle.net>
adc13c7
to
944a9ad
Compare
Updated doc, is this ok to cherry-pick to 1.0.x? |
LGTM |
Waiting until after 1.0.2 to cherry pick |
Fix issue where manifest content must always be fetched even if it is already fully downloaded or shared locally. Simplify children label setting and platform filtering. Prevent getting a fetcher when content shared locally.
Note this makes the filtering and labeling more composable, so we could change the behavior more easily (such as if we only wanted to label content which was saved locally, the wrapping order could just be changed).
This is the first PR to support content sharing on the client side. This PR can be backported into 1.0.x to support content sharing in clients based on 1.0.x and containerd 1.1+.