Skip to content

covert docker (commit|import|tag) to use REPOSITORY[:TAG]#2460

Merged
metalivedev merged 1 commit intomoby:masterfrom
SvenDowideit:2294-use-repo-colon-tag-everywhere
Nov 5, 2013
Merged

covert docker (commit|import|tag) to use REPOSITORY[:TAG]#2460
metalivedev merged 1 commit intomoby:masterfrom
SvenDowideit:2294-use-repo-colon-tag-everywhere

Conversation

@SvenDowideit
Copy link
Copy Markdown
Contributor

(and remove support for REPOSITORY TAG)

partial fix for #2294, #2149, #2387

mostly, I wonder if the server should also refuse to set a REPOSITORY name that contains a : - thus reserving it as a separator for host, port, path and tag.
secondly, I've not written any tests, and on my system, no tests fail :( - have to get to that when i poke the other issues

Closes #2450

tell me if you want me to make this change backwards compatible - I'm not so sure its worth it in the long term, but it may break people's scripts :/

@binaryphile
Copy link
Copy Markdown

I agree that the inconsistent syntax should be gotten rid of. It just requires more notification to users of the change, so I didn't want to lower the chances of any fix making it in, which is why I did it backwards-compatible on my original pull request. Just don't want anyone to think I'm in favor of keeping the space-based tag syntax.

@SvenDowideit
Copy link
Copy Markdown
Contributor Author

rebased.

Comment thread docs/sources/commandline/cli.rst Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This header style causes a severe warning from Sphinx. Please convert to tilde, ~~~~~~~, to conform to the level 3 headers in this file. Sorry, I know, the level 3 headers seem to change style from file to file, but within a file they need to be consistent or Sphinx complains.
Same for line 179.

@SvenDowideit
Copy link
Copy Markdown
Contributor Author

@metalivedev @vieux @crosbymichael rebased

@metalivedev
Copy link
Copy Markdown
Contributor

Doc changes LGTM. Need approval from a Go committer for the other changes.

Note that this changes some command line syntax (making it more consistent and better) but it will break people's scripts. Make sure we call this out in our release notes!

@creack
Copy link
Copy Markdown
Contributor

creack commented Nov 5, 2013

LGTM

metalivedev pushed a commit that referenced this pull request Nov 5, 2013
…erywhere

covert docker (commit|import|tag) to use REPOSITORY[:TAG]
@metalivedev metalivedev merged commit 962a66c into moby:master Nov 5, 2013
@shykes
Copy link
Copy Markdown
Contributor

shykes commented Nov 8, 2013

This should not have been merged. There is only 1 LGTM.

Guys, please don't cold-break existing syntax. If we're going to deprecate commands, we should continue to support the old format with a clear deprecation warning for at least 1 release.

@jamtur01
Copy link
Copy Markdown
Contributor

jamtur01 commented Nov 8, 2013

+1.

@creack
Copy link
Copy Markdown
Contributor

creack commented Nov 8, 2013

fixed in #2597

@SvenDowideit SvenDowideit deleted the 2294-use-repo-colon-tag-everywhere branch December 2, 2013 01:08
cpuguy83 pushed a commit to cpuguy83/docker that referenced this pull request May 25, 2021
Revert "Always configure iptables forward policy"
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.

6 participants