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

Deprecate repo:shortid syntax #27207

Merged
merged 1 commit into from
Oct 13, 2016
Merged

Conversation

tonistiigi
Copy link
Member

fixes #22112

Per discussion in #22112 deprecate this little known feature. The minimum length requirement from v1.9 has also been restored.

@thaJeztah @duglin

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@vieux
Copy link
Contributor

vieux commented Oct 7, 2016

LGTM

@vdemeester
Copy link
Member

SGTM
/cc @stevvooe @aaronlehmann

@aaronlehmann
Copy link
Contributor

aaronlehmann commented Oct 7, 2016 via email

@tonistiigi
Copy link
Member Author

@aaronlehmann It's just restoring the old behavior so that it is safer during the deprecation period and doesn't cause accidental collisions(for example if someone uses tags like foo:a1 etc.


**Target For Removal In Release: v1.16**

`repository:shortid` syntax for referencing images is very little used, collides with with tag references can be confused with digest references.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be opened against the https://github.com/docker/docker.github.io repository

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What branch? Master branch looks outdated and is seems to be missing at least 3 recent changes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tonistiigi I have no idea; it looks like "master" on docker.github.io was taken from the 1.12.x branch, but all changes for 1.13 are not there

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thaJeztah
Copy link
Member

@tonistiigi does the minimum length mean that I can no longer tag (or pull) an image with a tag v1, or only when using partial ID's?

@tonistiigi
Copy link
Member Author

@thaJeztah The length limit is only for the partial IDs, not tags.

@runcom
Copy link
Member

runcom commented Oct 9, 2016

@ncdc FYI

@stevvooe
Copy link
Contributor

LGTM

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

docs are handled in docker/docs#184

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

Successfully merging this pull request may close these issues.

docker pull with bad tag pulls by digest
8 participants