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

Option to only get n latest versions of matching packages #52 #63

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

zinal
Copy link

@zinal zinal commented Jan 24, 2023

Adds --latest and --latest-dev options to limit download to only the n most recent non-dev/dev versions of each package.

analog-cbarber and others added 3 commits January 24, 2023 15:20
…onda-incubator#52))

Adds `--latest` and `--latest-dev` options to
limit download to only the n most recent non-dev/dev versions of each package.
Comment on lines +970 to +972
dev_versions = [
p.package_file for p in curpackages if "DEV" in p.version.version[-1]
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is non-standard. There is no definition of DEV versions in conda. I'm happy to merge this PR without this section but I don't like to add custom interpretations into a common tool.

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

Successfully merging this pull request may close these issues.

3 participants