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

Add a better version print out for conda --version #12635

Closed
2 of 5 tasks
travishathaway opened this issue May 3, 2023 · 3 comments
Closed
2 of 5 tasks

Add a better version print out for conda --version #12635

travishathaway opened this issue May 3, 2023 · 3 comments
Labels
source::anaconda created by members of Anaconda, Inc. stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::feature request for a new feature or capability

Comments

@travishathaway
Copy link
Contributor

travishathaway commented May 3, 2023

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

The GitHub CLI includes a link to the release notes when gh --version is run. Example below:

$ gh --version
gh version 2.28.0 (2023-04-25)
https://github.com/cli/cli/releases/tag/v2.28.0

This would be pretty neat to add to conda as well. I hope this would be relatively straightforward to implement, but I am not 100% sure.

Why is this needed?

This would provide users with a quicker link to our release notes which outline what has changes in various versions. This could help users write more informed bug reports/feature requests.

What should happen?

Additional Context

Because this could break existing behavior, the new output should be opt-in with a migration path to making it the default.

@travishathaway travishathaway added type::feature request for a new feature or capability source::anaconda created by members of Anaconda, Inc. labels May 3, 2023
@wolfv
Copy link
Contributor

wolfv commented May 3, 2023

Nice idea!

I could imagine that some tools rely on the way that --version used to be printed on the command line, maybe one can offer them a nice migration path (e.g. conda info --select version or something like that?

@travishathaway
Copy link
Contributor Author

travishathaway commented May 3, 2023

Ahh yes, Hyrum's Law 😂

We could definitely do that. Additionally, we could also just add a new entry to the "conda info" listing.

Example:

active environment : base
    active env location : /Users/travishathaway/opt/conda_x86_64
            shell level : 1
       user config file : /Users/travishathaway/.condarc
 populated config files : /Users/travishathaway/.condarc
          conda version : 23.3.1
          release notes : https://docs.conda.io/projects/conda/en/stable/release-notes.html#id1
...

The way those ids are setup in the documentation do not make them easy to link to though, so that will be another problem to figure out 🤷‍♂️.

Copy link

github-actions bot commented May 3, 2024

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label May 3, 2024
@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Jun 3, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source::anaconda created by members of Anaconda, Inc. stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::feature request for a new feature or capability
Projects
Status: 🏁 Done
Development

No branches or pull requests

2 participants