Code Monkey home page Code Monkey logo

Comments (10)

smarsching avatar smarsching commented on May 28, 2024 4

I guess it is a at least a bit irritating to add a deprecation warning before the alternative is available.

In most pieces of software, a deprecation warning means: “Don’t use this in new code / projects. Use … instead.” But with no alternative being available yet, there is only the choice between using the deprecated module or not configuring Docker via Salt at all. IMO, such a deprecation warning is quite useless.

So, it is debatable whether there should be a deprecation warning at current point in time at all, but if there is supposed to be one, it should rather read: “This module will be removed from Salt in version 3009. An alternative in form of an extension module is going to be provided before the removal.”

from salt.

whytewolf avatar whytewolf commented on May 28, 2024 2

it is a deprecation in that it will require an install of saltext-docker in 3009 and beyond. not shipped with the core system.

it will be a core saltext not a core module after 3009. meaning that the core team will still be handling the code. and that it will start out from the code that already exists.

but with time it will also mean faster development of the saltext as well as the core system as we move things around and yes turn into a multiple repo system.

from salt.

mitar avatar mitar commented on May 28, 2024 2

Thank you for explanation. This all sounds good and reasonable, but could be communicated much better. For example, code could be first moved out of the core into saltext-docker with core having a dependency on saltext-docker. Then after some time that dependency link could get deprecated. And then removed after few versions. Then it would be clear what is being deprecated: the dependency link, not the code/module itself.

from salt.

tucked avatar tucked commented on May 28, 2024 1

Same for the link at the top of https://docs.saltproject.io/en/latest/ref/states/all/salt.states.docker_network.html

from salt.

whytewolf avatar whytewolf commented on May 28, 2024 1

the docker saltext will be just moving the existing code into it's own repo. it will be the same code.

from salt.

SirRegion avatar SirRegion commented on May 28, 2024

The change was introduced #64890, but there is no mention of the failing link there.

I suspect the repo is currently set to private, which is really unfortunate. We are currenty evaluating SaltStack for our application, but without Docker support, we cannot use it.
I would love for some maintainer to confirm that Docker support is going to be available after 3007 (with the extension of course).

from salt.

whytewolf avatar whytewolf commented on May 28, 2024

deprecation does not mean removed. it is just a warning at this point and will be removed in 3009.

docker will be a core extension module in the future.

I can confirm docker still works in 3007. the link is for an upcoming extension module. not one that currently exists.

from salt.

mitar avatar mitar commented on May 28, 2024

I am in the same boat. I am looking at Salt and now I do not know if I should spend time using Docker with Salt and then how much I will have to rewrite when support moves to saltext-docker? Is this code just moving there, or will saltext-docker be a rewrite and require changes to my states?

from salt.

mitar avatar mitar commented on May 28, 2024

So you are just changing monorepo project structure to multiple repositories? If docker extension will still stay "core". Maybe then this is not deprecation?

from salt.

simian-loco avatar simian-loco commented on May 28, 2024

Just wanted to pipe in that I for one appreciate the deprecation warning. If you've been with the project for a while you know 3009 is a while away so just seeing that in the "future release" made me smile and immediately ignore it.

"I'm not even mad, I'm impressed"

Love the foresight and the inclination to warn us asap!

Hope the API is similar 🤞

from salt.

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.