Skip to content

Move engine-api to docker - #26349

Merged
crosbymichael merged 2 commits into
moby:masterfrom
crosbymichael:api-to-docker
Sep 7, 2016
Merged

crosbymichael merged 2 commits into
moby:masterfrom
crosbymichael:api-to-docker

Conversation

@crosbymichael

Copy link
Copy Markdown
Contributor

Fixes docker-archive-public/docker.engine-api#379

This moves the engine-api repo code into docker.

The client is under github.com/docker/docker/client because the cli is under api/client and a top level client package seems like a good idea. The types were moved into api/types so nothing really changes there.

I kept the vendored code because swarmkit uses the engine-api code and is a dependency of docker so we need this merged first before i update the dep in swarmkit.

@crosbymichael
crosbymichael force-pushed the api-to-docker branch 4 times, most recently from bde17b4 to f197d1a Compare September 6, 2016 22:55
@vieux

vieux commented Sep 7, 2016

Copy link
Copy Markdown
Contributor

LGTM, please rebase :)

@justincormack

Copy link
Copy Markdown
Contributor

LGTM after rebase.

@crosbymichael
crosbymichael force-pushed the api-to-docker branch 3 times, most recently from 52c394c to 11febb6 Compare September 7, 2016 16:50
This moves the types for the `engine-api` repo to the existing types
package.

Signed-off-by: Michael Crosby <[email protected]>
This moves the engine-api client package to `/docker/docker/client`.

Signed-off-by: Michael Crosby <[email protected]>
@crosbymichael
crosbymichael merged commit 3ea762b into moby:master Sep 7, 2016
@crosbymichael
crosbymichael deleted the api-to-docker branch September 7, 2016 18:08
@vdemeester

vdemeester commented Sep 7, 2016 •

Copy link
Copy Markdown
Member

@crosbymichael @icecrime @thaJeztah we need to ping contributors on all docker/engine-api PRs to migrate their PR in docker/docker and/or rebase their docker/docker PR to take into account this changes 👼 — and to maintainer to pay attention to PRs that vendor engine-api 👼

@stevvooe

stevvooe commented Sep 7, 2016

Copy link
Copy Markdown
Contributor

Wish we could have let this bake a day or two.

We still have the following problems:

  1. How does one vendor the docker client without pulling in the whole docker project?
  2. How do we maintain the separation between API types and internal types? These converged before and was one of the reasons behind the splits. How can we ensure these don't re-converge?
  3. How can we ensure that the level of review in the client package is sufficient to maintain careful control of API-level fields?
  4. Looks like all the issues have been deleted. I had a few proposals for fixing up things like Pull progress. What happened to those? Just gone from the Internet?

I guess memories are short...

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.

7 participants