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

Summarize the changes made to the environment #16

Closed
SarthakJariwala opened this issue Jan 28, 2022 · 1 comment · Fixed by #25
Closed

Summarize the changes made to the environment #16

SarthakJariwala opened this issue Jan 28, 2022 · 1 comment · Fixed by #25
Labels
enhancement New feature or request

Comments

@SarthakJariwala
Copy link
Owner

Whenever the environment is updated using install or remove, conda tracks the changes made. This is accessible via conda list --revision.

The summary should also be included in ezconda.

As a separate command -

$ ezconda summary -n <env>

# prints packages installed, downgraded, upgraded, or removed in the last call
# should default to last revision made

$ ezconda summary -n <env> --all-revisions

# prints packages installed, downgraded, upgraded, or removed for the entirety of environment history

For individual commands -

$ ezconda install -n env numpy --summarize

# prints packages installed, downgraded, upgraded, or removed with the command

Maybe --summarize should be the default option

@SarthakJariwala
Copy link
Owner Author

Managing this with pip might be difficult. I am not sure if pip has a way of tracking what it installs, removes, upgrades.

In that case, an option might be to create a separate file for the environment managed by ezconda where pip related installs, removals, and upgrades are tracked.

This may not be an immediate issue as pip through ezconda is currently not supported but is in the plans (#3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant