Skip to content
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

Codify in checklist form the steps to take while reviewing a new image #1844

Merged
merged 2 commits into from
Jun 16, 2016

Conversation

tianon
Copy link
Member

@tianon tianon commented Jun 15, 2016

This is a starting point to try and put these check points into something somewhat more formal such that we're less likely to forget a step.

cc @yosifkit @psftw @md5

@tianon
Copy link
Member Author

tianon commented Jun 15, 2016

Here's an example of how I'd envision adding this to the top of a PR, using #1201 (our oldest current proposal) as the guinea pig:

Checklist for Review

  • associated with or contacted upstream?
  • does it fit into one of the common categories? ("service", "language stack", "base distribution")
  • is it reasonably popular, or does it solve a particular use case well?
  • does a documentation PR exist? (should be reviewed and merged at roughly the same time so that we don't have an empty image page on the Hub for very long)
  • review Dockerfiles for best practices and cache gotchas/improvements (ala the official review guidelines)
  • existing official images have been considered as a base? (ie, if foobar needs Node.js, has FROM node:... instead of grabbing node via other means been considered?)
  • if FROM scratch, tarballs only exist in a single commit within the associated history?

@tianon
Copy link
Member Author

tianon commented Jun 15, 2016

Wondering if a final bullet point something along the lines of "spot check dockerization and docs one last time before merge" would be appropriate, and perhaps a second checkbox on the main "review" bullet point to ensure we get at least two maintainers looking at each new image. Thoughts?

@yosifkit
Copy link
Member

A second reviewer spot would probably be appropriate. Not sure about the "final spot check" checkbox; perhaps the final "LGTM + build test" will serve this purpose? Should this file be pointed out in README.md?

This is a starting point to try and put these check points into something somewhat more formal such that we're less likely to forget a step.
@tianon
Copy link
Member Author

tianon commented Jun 15, 2016

Updated example:

Checklist for Review

  • associated with or contacted upstream?
  • does it fit into one of the common categories? ("service", "language stack", "base distribution")
  • is it reasonably popular, or does it solve a particular use case well?
  • does a documentation PR exist? (should be reviewed and merged at roughly the same time so that we don't have an empty image page on the Hub for very long)
  • dockerization review for best practices and cache gotchas/improvements (ala the official review guidelines)?
  • 2+ dockerization review?
  • existing official images have been considered as a base? (ie, if foobar needs Node.js, has FROM node:... instead of grabbing node via other means been considered?)
  • if FROM scratch, tarballs only exist in a single commit within the associated history?

@tianon
Copy link
Member Author

tianon commented Jun 15, 2016

(and added a short note to README.md)

@yosifkit
Copy link
Member

LGTM

@md5
Copy link
Contributor

md5 commented Jun 16, 2016

This looks like a good addition. I'm sure any necessary clarifications or improvements can be made incrementally.

One thing that would be good to address would be ensuring that the common tests pass and possibly inquiring about any additional tests that would be appropriate to add.

@tianon
Copy link
Member Author

tianon commented Jun 16, 2016

Good call, @md5; that kind of comes from the build test we do, but making it explicit is a good plan. 👍

@tianon tianon merged commit f9a4e72 into docker-library:master Jun 16, 2016
@tianon tianon deleted the checklist branch June 16, 2016 21:03
@tianon
Copy link
Member Author

tianon commented Jun 16, 2016

LET'S DO THIS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants