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

considerations: DRY extensibility #526

Merged
merged 1 commit into from
Jan 25, 2017

Conversation

wking
Copy link
Contributor

@wking wking commented Jan 24, 2017

As I suggested in #164.

The extensibility requirements might arguably apply to our other JSON types as well (like annotations, which were recently DRYed up in #501). The new extensibility section sets the stage for that, but I've left the other types off this commit to focus on making the current requirements more DRY without changing the specified behavior.

My personal preference would be to have separate canonicalization.md and a (very short) extensibility.md file, but @jonboulle wanted the single file.

This PR is a resubmission of #340 after rebasing around the just-landed #501 (as requested by @stevvooe).

As I suggested in the PR landing these blocks [1,2,3].  I've shifted
the extensibility section to a separate considerations.md, since it's
a generic policy that applies to both our manifest and manifest-list.

The extensibility requirements might arguably apply to our other JSON
types as well (like annotations, which were recently DRYed up in
f15a268, annotations: make a designated doc and DRY a bit, 2016-12-15,
opencontainers#501).  The new extensibility section sets the stage for that, but
I've left the other types off this commit to focus on making the
current requirements more DRY without changing the specified behavior.

My personal preference would be to have separate canonicalization.md
and extensibility.md files, but Jonathan wanted the single file:

On Mon, Oct 10, 2016 at 09:22:46AM -0700, Jonathan Boulle wrote [4]:
> Ehh, I preferred it where it was - now worried about death by a
> thousand files (extensibility, canonicalization, etc etc). Can we
> combine them (into a generic "considerations" document or similar),
> or just put this back?

[1]: opencontainers#164 (comment)
[2]: opencontainers#164 (comment)
[3]: opencontainers#164 (comment)
[4]: opencontainers#340 (comment)

Signed-off-by: W. Trevor King <wking@tremily.us>
@jonboulle
Copy link
Contributor

jonboulle commented Jan 24, 2017

👍 aka I am okay with this

Approved with PullApprove

@vbatts
Copy link
Member

vbatts commented Jan 25, 2017

LGTM

Approved with PullApprove

@vbatts vbatts merged commit 236640a into opencontainers:master Jan 25, 2017
@wking wking deleted the dry-annotations branch January 25, 2017 18:51
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