Repository navigation
Conversation
There was a problem hiding this comment.
You don't need an if/else here, just skip_missing=options.get('--skip-missing')
|
I've integrated @dnephin's comments. PTAL when you get chance. |
|
LGTM, thanks! |
There was a problem hiding this comment.
actually, I think we could be a little more informative here. Maybe something like "Continue pulling images, even if one fails to pull".
I'll let others comment on wording.
There was a problem hiding this comment.
I like your wording. But the flag it self should be called --skip-failed or something like this.
There was a problem hiding this comment.
I agree with @dnephin here around the messaging. A suggestion; how about Continue pulling images, irrespective of failures
The language we use here to describe this flag is really important to be clear. We don't know that images are missing. I would prefer --continue-on-error
There was a problem hiding this comment.
It'd also be good to get @moxiegirl 's opinion on this wording, as I think it is a little tricky to convey clearly what we want to the user.
There was a problem hiding this comment.
Hmm, it seems like you aren't really skipping as much as ignoring.
--ignore-pull-failures Builds what it can and ignores images with pull failures.
I also like --continue-on-error if it really continues everything regardless of error...but if they operation can error out it isn't really true.
There was a problem hiding this comment.
Thanks @moxiegirl , that is a very good point, I think your suggestion is clearer and more accurate.
@villlem are you ok to update the flag and message in line with @moxiegirl 's wording please?
There was a problem hiding this comment.
Sounds good to me. I also update parameter names to be consistent. Is there somethig else, some other doc that needs to be updated as well?
There was a problem hiding this comment.
There is the pull command docs file that'll need updating with the new option as well. I think that's it but I'll double check now.
Thank you for your work on this, it's appreciated.
Signed-off-by: Vojta Orgon <[email protected]>
|
I've updated flags, docs and params names with @moxiegirl's wording. PTAL when you get chance. Thank you for all your comments. Let me know if there is something I should do. |
|
LGTM. Thanks for your work @villlem |
Flag to skip all pull errors when pulling images
Closes #2028