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
docker conncetion plugin: accept 'dev' as 'newest version' #56947
Merged
felixfontein
merged 3 commits into
ansible:devel
from
felixfontein:docker-connection-version-check
May 26, 2019
Merged
docker conncetion plugin: accept 'dev' as 'newest version' #56947
felixfontein
merged 3 commits into
ansible:devel
from
felixfontein:docker-connection-version-check
May 26, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansibot
added
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
cloud
community_review
In order to be merged, this PR must follow the community review workflow.
docker
needs_triage
Needs a first human triage before being processed.
support:community
This issue/PR relates to code supported by the Ansible community.
labels
May 25, 2019
This comment has been minimized.
This comment has been minimized.
ansibot
added
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
community_review
In order to be merged, this PR must follow the community review workflow.
labels
May 25, 2019
ansibot
added
community_review
In order to be merged, this PR must follow the community review workflow.
and removed
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
May 25, 2019
resmo
approved these changes
May 25, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shipit
ansibot
added
shipit
This PR is ready to be merged by Core
and removed
community_review
In order to be merged, this PR must follow the community review workflow.
needs_triage
Needs a first human triage before being processed.
labels
May 25, 2019
@resmo thanks for reviewing! |
@resmo thanks for reviewing! |
abadger
pushed a commit
that referenced
this pull request
May 28, 2019
* Accept 'dev' as 'newest version'. * Add changelog. * Fix YAML. (cherry picked from commit 2f523ad)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.9
This issue/PR affects Ansible v2.9
bug
This issue/PR relates to a bug.
cloud
docker
shipit
This PR is ready to be merged by Core
support:community
This issue/PR relates to code supported by the Ansible community.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Some docker/moby packages seem to forget to set a valid version number and end up with
dev
instead. This patch prints a warning when encountering this and treatsdev
as "newest version". Fixes #56946, fixes #43639.ISSUE TYPE
COMPONENT NAME
lib/ansible/plugins/connection/docker.py