Skip to content

Conversation

@nixpanic
Copy link
Member

@nixpanic nixpanic commented Jun 13, 2025

https://pkg.go.dev/github.com/ceph/ceph-csi does not list the current
v3.14.0 release. It seems to come from the fact that a v3 release of a
Go module expects a v3/go.mod file in the repository. Instead of moving
all files from the root of the repository to a new v3 directory, make
a symlink so that https://github.com/ceph/ceph-csi/v3/go.mod resolves
correctly (eventhough the go.mod does not reference /v3).

Steps to add a package (also has a suggestion for a version):

The Go proxy protocol is used to track available versions, and this would be a request for the v3.14.0 version:

  • https://proxy.golang.org/github.com/ceph/ceph-csi/v3/@v/v3.14.0.info

That results in an error like

not found: github.com/ceph/ceph-csi/[email protected]: invalid version: go.mod has non-.../v3 module path "github.com/ceph/ceph-csi" (and .../v3/go.mod does not exist) at revision v3.14.0

Adding the v3 symlink to the root of the directory might be sufficient to get the documentation generated.

@mergify mergify bot added ci/skip/e2e skip running e2e CI jobs ci/skip/multi-arch-build skip building on multiple architectures component/docs Issues and PRs related to documentation labels Jun 13, 2025
@nixpanic nixpanic requested a review from a team June 13, 2025 11:14
@Madhu-1 Madhu-1 requested a review from a team June 16, 2025 11:10
@Nikhil-Ladha
Copy link
Contributor

@Mergifyio queue

@mergify
Copy link
Contributor

mergify bot commented Jun 16, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 0778a37

https://pkg.go.dev/github.com/ceph/ceph-csi does not list the current
v3.14.0 release. It seems to come from the fact that a v3 release of a
Go module expects a v3/go.mod file in the repository. Instead of moving
all files from the root of the repository to a new `v3` directory, make
a symlink so that https://github.com/ceph/ceph-csi/v3/go.mod resolves
correctly (eventhough the go.mod does not reference /v3).

Signed-off-by: Niels de Vos <[email protected]>
@mergify mergify bot force-pushed the pkg.go.dev/versioning/v3 branch from 3b9a6ad to e1e5afd Compare June 16, 2025 11:51
@mergify mergify bot merged commit 0778a37 into ceph:devel Jun 16, 2025
14 of 15 checks passed
@mergify
Copy link
Contributor

mergify bot commented Jun 16, 2025

This pull request has been removed from the queue for the following reason: pull request branch update failed.

The pull request can't be updated.

You should update or rebase your pull request manually. If you do, this pull request will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

@nixpanic
Copy link
Member Author

@Mergifyio backport release-v3.14

@mergify
Copy link
Contributor

mergify bot commented Jun 23, 2025

backport release-v3.14

✅ Backports have been created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/skip/e2e skip running e2e CI jobs ci/skip/multi-arch-build skip building on multiple architectures component/docs Issues and PRs related to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants