-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/pkgsite: adding a package via request button description is misleading #60552
Comments
The packages you referenced are available on pkg.go.dev. Were they unavailable when you filed this issue? |
They were available. Going to https://pkg.go.dev/github.com/DTGlov/go-basics there is a "Request" button. My use case was to add a new version of a package and the instructions do not explicitly mention this case. The second and third variant in the instructions under "adding package" seem to refer to a specific version, so I guess they can be used to update to a new major version of the package. The first variant at least cannot. My suggestion to improve the text is to add a condition when the "request" buttons is shown, e.g. make it read like:
A different way to fix this would be to mention how packages are updated instead of added. |
@jamalc with the last message I've given the requested information, how is the label WaitingforInfo removed now? (I lack permission to remove it.) |
Would adding the version string or an additional example with the version string make it clear?
|
It would be an improvement, because a "Request" button appears if the url is used with a version number that is not yet found. Even better would be if there was a mention that this also works to add another - like a new - version of a package.
|
What is the URL of the page with the issue?
https://pkg.go.dev/about#adding-a-package
What is your user agent?
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
What did you do?
Tried to follow the first variant for adding a package, which says:
Went to a couple of those modules and searched for the "Request" button
Could not find the "Request" button.
What did you expect to see?
That any url that matches the example URL of the documentation works like it is written there and offers a "Request" button.
Or that the documentation tells me instead, under which conditions the button should appear.
Or the documentation is corrected to remove this possibility, if it is gone by now.
What did you see instead?
Searching "Request" on the pages did yield results.
The text was updated successfully, but these errors were encountered: