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

podman docs versions out of sync #485

Open
ConorSheehan1 opened this issue Jan 10, 2022 · 4 comments
Open

podman docs versions out of sync #485

ConorSheehan1 opened this issue Jan 10, 2022 · 4 comments

Comments

@ConorSheehan1
Copy link

podman machine init doesn't support the --volume flag anymore, but it's still on the latest docs.

Screenshot 2022-01-10 at 17 02 35

Going to the latest version (3.4.4) explicitly shows the correct docs, without the --volume flag.
Screenshot 2022-01-10 at 17 03 40

Looks like the docs are here https://github.com/containers/podman/tree/main/docs, but I figured it'd make more sense to post the issue in this repo since it's related to docs and the podman repo only has 2 categories for issues: bug and feature. This is neither a bug with podman nor a feature request.

I'd guess it's is just a readthedocs/sphinx config issue.

@TomSweeneyRedHat
Copy link
Member

@ConorSheehan1 thanks for the problem report. I don't think it's a ReadTheDocs issue after all, but something we might want to be a little more clear on or perhaps change our man page updating process. The docs that are shown in the top-level directory for docs.podman.io are all driven from the ones in this directory https://github.com/containers/podman/blob/main/docs/source/markdown and the --volume flag is currently in both places.

In late December 2021, @afbjorklund had this commit which added the --volume option to the podman machine init man page upstream.

So what's happening is that by default, docs.podman.io is showing the absolute bleeding edge man page changes that are made upstream in the GitHub Repo.

Perhaps we should instead be showing the latest release there as the default and then have a separate "upstream" selection that would show the docs direct from Podman's upstream GitHub repo?

@rhatdan @baude WDYT?

@afbjorklund
Copy link
Contributor

afbjorklund commented Jan 10, 2022

podman machine init doesn't support the --volume flag anymore

It is probably the opposite, the features on main are not in releases ?

Maybe there is a matching "latest" CI binary, produced with the docs ?

Could possibly also be good to add the actual version to the pages.

Like 4.0.0-dev (or possibly v3.2.0-rc1-2204-gd62752819, but no)

@afbjorklund
Copy link
Contributor

afbjorklund commented Jan 10, 2022

Perhaps we should instead be showing the latest release there as the default and then have a separate "upstream" selection that would show the docs direct from Podman's upstream GitHub repo?

Probably not ideal, to use "latest" with two different meanings for docs and for releases.

https://docs.podman.io/en/latest/

https://github.com/containers/podman/releases/latest/

But it's a bit weird, since I thought that podman.io was upstream ? Otherwise it seems right.

@afbjorklund
Copy link
Contributor

afbjorklund commented Jan 10, 2022

@TomSweeneyRedHat : For this particular feature, one might want to mention that it doesn't work on Mac with the current QEMU. That is, you have to patch and recompile qemu until sometime in the ballpark of QEMU 7.0 or whenever it lands ?

containers/podman#11454 (comment)

https://gitlab.com/wwcohen/qemu/-/commits/9p-darwin

No changes in podman, but something for the user to be aware of perhaps.There are no volumes by default (unlike Docker), so it only happens when explicitely requested. So not really a bug, but something for the Podman 4.0 release notes perhaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants