Code Monkey home page Code Monkey logo

Comments (6)

vdemeester avatar vdemeester commented on July 28, 2024

@tonistiigi I like the idea for the long term 👍. The first step is then to backport the daemon specific one in docker/docker, removing the dependency and then decide wether or not we want to vendor some or just re-define them.

from engine-api.

calavera avatar calavera commented on July 28, 2024

Creating a cycled dependency doesn't sound any better to me, tbh.

from engine-api.

vdemeester avatar vdemeester commented on July 28, 2024

@calavera docker/docker "daemon" struct and docker/engine-api struct could be completely independent, but yeah, we shouldn't create a cycled dependency.

from engine-api.

tonistiigi avatar tonistiigi commented on July 28, 2024

@calavera There is no cycled dependency. Client depends on engine-api and does not depend on daemon. Daemon does not depend on engine-api. Engine-api depends on types from daemon subpackages(optional but I think cleaner).

from engine-api.

duglin avatar duglin commented on July 28, 2024

Seems like keeping 2 repos so that so tightly linked is a lot of work/pain for very little benefit - as we've seen.

If the client were a totally independent project and changes didn't propagate in both directions, and had its own life cycle, then perhaps this would be a good option. But in reality they're very linked and I don't see the benefit of trying to force a split. As we've seen, many times, we end up with PRs in two repos and that causes pain and extra work - so let's just stop that.

IMO, we should move it all back to one repo with very clear pkg lines/boundaries, so that people can vendor at the appropriate spot (APIs, types, etc...) but allows for a single PR to introduce changes from CLI->API->types->Engine (and tests at CLI,integration) all in one shot - its so much easier to review/test that way.

from engine-api.

tonistiigi avatar tonistiigi commented on July 28, 2024

closed by moby/moby#26349

from engine-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.