Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Wrong link for saltext-docker #65814

Open
smarsching opened this issue Jan 8, 2024 · 10 comments
Open

[DOCS] Wrong link for saltext-docker #65814

smarsching opened this issue Jan 8, 2024 · 10 comments
Labels
Documentation Relates to Salt documentation needs-triage

Comments

@smarsching
Copy link
Contributor

Description
The changelog for 3007.0rc1 (2024-01-02) mentions that all Docker modules have been deprecated in favor of the Docker Salt Extension, but the specified link https://github.com/saltstack/saltext-docker is invalid (the destination does not exist).

Suggested Fix
The link should point to the actual location of the Docker Salt Extension (which I unfortunately could not find via a Google search either).

Type of documentation
CHANGELOG.md in the Salt repo.

Location or format of documentation
https://github.com/saltstack/salt/blob/v3007.0rc1/CHANGELOG.md

Additional context
This issue might be related to the changes introduced with #64894.

@smarsching smarsching added Documentation Relates to Salt documentation needs-triage labels Jan 8, 2024
@tucked
Copy link

tucked commented Mar 9, 2024

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

@SirRegion
Copy link

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).

@whytewolf
Copy link
Collaborator

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.

@smarsching
Copy link
Contributor Author

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.”

@mitar
Copy link
Contributor

mitar commented Apr 18, 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?

@whytewolf
Copy link
Collaborator

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

@mitar
Copy link
Contributor

mitar commented Apr 18, 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?

@whytewolf
Copy link
Collaborator

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.

@mitar
Copy link
Contributor

mitar commented Apr 18, 2024

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.

@simian-loco
Copy link

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 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Relates to Salt documentation needs-triage
Projects
None yet
Development

No branches or pull requests

6 participants