Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

[18.09 backport] Fix client version not being pinned when set, and some refactoring - #188

Merged
andrewhsu merged 4 commits into
docker-archive:18.09from
thaJeztah:18.09_backport_fix_version_override
Sep 23, 2019
Merged

[18.09 backport] Fix client version not being pinned when set, and some refactoring#188
andrewhsu merged 4 commits into
docker-archive:18.09from
thaJeztah:18.09_backport_fix_version_override

Conversation

@thaJeztah

@thaJeztahthaJeztah commented Apr 2, 2019

Copy link
Copy Markdown
Member

This backports moby#38909 (Fix client version not being pinned when set) to the 18.09 branch.

When backporting, I noticed that there were some refactorings and cleanups in this area, which I decided to include here as well;
note that those are not strictly needed for the actual fix; the fix is quite small, and could easily be modified to work on the 18.09
branch, but in light of future backports and maintenance, I thought it'd be good to include those refactors.

If this is a concern, I'm happy to create a modified patch and only backport the fix.

Included in this PR:

Description for the changelog

Fix client version not being pinned when set.

@thaJeztahthaJeztah added this to the 18.09.6 milestone Apr 2, 2019
@thaJeztah

Copy link
Copy Markdown
MemberAuthor

@dperny@tiborvass@tonistiigi PTAL (see the first comment for the changes I picked; happy to get your feedback)

@tiborvass

Copy link
Copy Markdown

I'm fine with this, although it would be better to have a tool where you resolve the conflict once, and save that logic for further rebases until it's unable to decide again.

@thaJeztahthaJeztah modified the milestones: 18.09.6, 18.09.7May 7, 2019
@thaJeztah

Copy link
Copy Markdown
MemberAuthor

Looks like moby#38486 has been backported as part of #198; rebasing

Peter Kangand others added 4 commits June 18, 2019 10:24
Signed-off-by: Peter Kang <peter@spell.run>
(cherry picked from commit be2f7ce)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 01eb35b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 69d9ff3)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 3d72963)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztahforce-pushed the 18.09_backport_fix_version_override branch from 967442a to 3c7ff49CompareJune 18, 2019 09:25

@kolyshkinkolyshkin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@andrewhsu

Copy link
Copy Markdown

Looks like this one may need to be vendored in docker/cli as well.

@andrewhsuandrewhsu modified the milestones: 18.09.7, 18.09.8Jun 27, 2019
@thaJeztahthaJeztah modified the milestones: 18.09.8, 18.09.9Jul 18, 2019
@thaJeztahthaJeztah modified the milestones: 18.09.9, 18.09.10Aug 30, 2019

@andrewhsuandrewhsu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

SGTM

@andrewhsu
andrewhsu merged commit 0e86b9c into docker-archive:18.09Sep 23, 2019

@kolyshkinkolyshkin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@thaJeztah
thaJeztah deleted the 18.09_backport_fix_version_override branch September 23, 2019 17:11
kolyshkin added a commit to kolyshkin/cli that referenced this pull request Sep 23, 2019
Bump github.com/docker/engine to include
docker-archive/engine#188
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin

Copy link
Copy Markdown

Looks like this one may need to be vendored in docker/cli as well.

Indeed. docker/cli#2100

kolyshkin added a commit to kolyshkin/cli that referenced this pull request Sep 24, 2019
Bump github.com/docker/engine to include
docker-archive/engine#188
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
kolyshkin added a commit to kolyshkin/cli that referenced this pull request Sep 24, 2019
Bump github.com/docker/engine to include
docker-archive/engine#188
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
docker-jenkins pushed a commit to docker-archive/docker-ce that referenced this pull request Oct 23, 2019
Bump github.com/docker/engine to include
docker-archive/engine#188
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Upstream-commit: 7a964b3b60bdf1110eb9da652f904446aaedb00e
Component: cli
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@thaJeztah@tiborvass@andrewhsu@kolyshkin