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

cobra.dev update required #1674

Open
theishanbh opened this issue Apr 23, 2022 · 13 comments
Open

cobra.dev update required #1674

theishanbh opened this issue Apr 23, 2022 · 13 comments
Labels
kind/bug A bug in cobra; unintended behavior kind/documentation Documentation of cobra itself triage/needs-info Needs more investigation from maintainers or more info from the issue provider

Comments

@theishanbh
Copy link

➜ borzoi go get -u github.com/spf13/cobra/cobra
go: module github.com/spf13/cobra@upgrade found (v1.4.0), but does not contain package github.com/spf13/cobra/cobra

While trying to install cobra, i ran into the above error. The documentation should be fixed in the website so that it can be fixed correctly.
I realised I was able to do it running the below command :-

borzoi go get -u github.com/spf13/cobra/cobra@latest

Hence, the website must be updated.

@johnSchnake johnSchnake added kind/bug A bug in cobra; unintended behavior kind/documentation Documentation of cobra itself labels Apr 25, 2022
@jpmcb
Copy link
Collaborator

jpmcb commented Apr 28, 2022

Where are you seeing this? Our installing documentation has the correct command in this section: https://github.com/spf13/cobra#installing

go get -u github.com/spf13/cobra@latest

Also note that the cobra/cobra module no longer exists in this repository. It has moved to https://github.com/spf13/cobra-cli

@jpmcb jpmcb added the triage/needs-info Needs more investigation from maintainers or more info from the issue provider label Apr 28, 2022
@theishanbh
Copy link
Author

I wanted to reference, https://cobra.dev/.

image

@umarcor
Copy link
Contributor

umarcor commented May 5, 2022

FTR, #1245 is waiting for #1428 to be merged.

@github-actions
Copy link

github-actions bot commented Jul 5, 2022

The Cobra project currently lacks enough contributors to adequately respond to all issues. This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied. - After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied and the issue is closed.
    You can:
  • Make a comment to remove the stale label and show your support. The 60 days reset. - If an issue has lifecycle/rotten and is closed, comment and ask maintainers if they'd be interseted in reopening

@PaluMacil
Copy link

this is probably worth reopening

@marckhouzam marckhouzam reopened this Apr 13, 2023
@umarcor
Copy link
Contributor

umarcor commented Apr 13, 2023

FTR, I just rebased #1428 to remove merge conflicts.

@PaluMacil
Copy link

I reviewed it, though since I don't have write privileges, I'm not sure it matters. Thanks @umarcor

@tlarnold10
Copy link

@theishanbh looks like a PR was merged for this. Can we close this issue?

@nickmcostello
Copy link

@tlarnold10 the website still has the incorrect install command.

@chris-weir
Copy link

Hey 👋 Sorry if this is just spam but I want to 'bump' this as I found this issue after googling go: module github.com/spf13/cobra@upgrade found (v1.8.1), but does not contain package github.com/spf13/cobra/cobra after following the instructions on the website. Would be great if this could be updated.

@alewtschuk
Copy link

Also bumping this. Website still has the incorrect information as of 8/27/2024.

@jpmcb
Copy link
Collaborator

jpmcb commented Aug 27, 2024

The cobra.dev site is wildly out of date: it was a static site created by spf13 and we had planned to move it to a GitHub actions site we maintain: #1245 but that thread has gone cold over the last few years.

I'd recommend relying on the in code comments of the library or .md files in this repo for documentation until we have a better story for docs.

@chris-weir
Copy link

@jpmcb thanks for the update. I have some free time in the evenings/weekends, would picking up #1245 be the best option of getting this issue resolved? If not - if I can help let me know how I can reach out and I will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in cobra; unintended behavior kind/documentation Documentation of cobra itself triage/needs-info Needs more investigation from maintainers or more info from the issue provider
Projects
None yet
Development

No branches or pull requests

10 participants