Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

[Proposal] Moving the client package to docker/docker #379

Closed

Description

@icecrime

Problem statement

The docker/engine-api repository was created to create a true decoupling between Engine internals and its public interface. A lot of valuable and solid refactoring came out of it, but today, most maintainers are complaining about the operational trade-offs it incurs.

Proposal

The content of this repository will be moved back as a sub-package of docker/docker. We absolutely want to preserve the architectural boundary, but we want to remove the repository boundary which is too cumbersome.

Under that scenario, what should we do with the docker/engine-api repository?

  1. Abandon it in its current version, and encourage people to now import github.com/docker/docker/api/client/ (exact path TBD).
  2. Have it contain the latest stable version of the client package extracted from github.com/docker/docker/api/client/ (exact path TBD).

I'm curious about your opinions @vdemeester @ibuildthecloud.

Activity

  1. changed the title [-][POLL] Moving the client package to docker/docker[/-] [+][Proposal] Moving the client package to docker/docker[/+] on Aug 30, 2016
  2. duglin commented on Aug 30, 2016

    @duglin
    Contributor

    I'd prefer option 1 since with golang people can just vendor it "as is" and not have to worry about whether "master" of docker is, or is not, master on the APIs. People will just know they're always at the same level. Plus, a tag of docker will automatically cover both areas. We don't need to worry about tagging 2 repos.

  3. lowenna commented on Aug 30, 2016

    @lowenna
    Contributor

    I would concur with @duglin. Absolutely though, trying to bring these back together in some manner that remains architecturally clean is goodness and makes life (for me at least - others might disagree 😇 ) significantly easier.

  4. vdemeester commented on Sep 2, 2016

    @vdemeester
    Contributor

    Although I like engine-api a lot (it's smaller to get than docker/docker when vendoring 😝), I think it has to be done at some point 😅. The code in engine-api is to tied to docker/docker anyway so…

    If we do it, I also prefer option 1 ; given also that we do something like #358 too 👼…

  5. bfirsh commented on Sep 4, 2016

    @bfirsh
    Contributor

    Agreed with option (1). For #358 we can just create a completely new repo with a better name.

  6. self-assigned this
    on Sep 6, 2016
  7. jessfraz commented on Sep 8, 2016

    @jessfraz
    Contributor

    FWIW 1,646 projects on github import the types package here alone... do you have a plan for informing people?

  8. crosbymichael commented on Sep 8, 2016

    @crosbymichael
    Contributor

    @jfrazelle we are not going to delete this or anything. Existing imports will continue to work.

    I'm sure we can add this change in the next release notes, etc so that people can get the updated client in the next release.

  9. jessfraz commented on Sep 8, 2016

    @jessfraz
    Contributor

    maybe a warning on init or something though? idk if that is more pain though for people

  10. crosbymichael commented on Sep 8, 2016

    @crosbymichael
    Contributor

    Ya, i thought about that but if that happens to me I usually freak out because some package is logging messages in my program.

    I'll update the readme in this repo as a start and trying to think of a way to notify the people.

  11. added a commit that references this issue on Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions