-
Couldn't load subscription status.
- Fork 580
doc: add v3 symlink to get current versions in pkg.go.dev (backport #5364)
#5379
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
Conversation
|
/test ci/centos/upgrade-tests-cephfs |
|
/test ci/centos/k8s-e2e-external-storage/1.32 |
|
/test ci/centos/upgrade-tests-rbd |
|
/test ci/centos/mini-e2e-helm/k8s-1.32 |
|
/test ci/centos/k8s-e2e-external-storage/1.30 |
|
/test ci/centos/k8s-e2e-external-storage/1.31 |
|
/test ci/centos/mini-e2e-helm/k8s-1.30 |
|
/test ci/centos/mini-e2e/k8s-1.32 |
|
/test ci/centos/mini-e2e-helm/k8s-1.31 |
|
/test ci/centos/mini-e2e/k8s-1.30 |
|
/test ci/centos/mini-e2e/k8s-1.31 |
|
@Mergifyio rebase |
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]> (cherry picked from commit 0778a37)
✅ Branch has been successfully rebased |
76eb15e to
7a500da
Compare
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
v3directory, makea 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.infoThat results in an error like
Adding the
v3symlink to the root of the directory might be sufficient to get the documentation generated.This is an automatic backport of pull request #5364 done by Mergify.