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 major version property method to all univers versions that don't already have this #114

Open
johnmhoran opened this issue Aug 29, 2023 · 0 comments
Labels
3-next enhancement New feature or request

Comments

@johnmhoran
Copy link
Member

In connection with work on a VulnerableCode issue involving affected vs. fixed package versions, I realized that we need to identify and compare the respective major versions of a wide range of package types, namespaces etc.

Some univers versions already have property methods for major, minor and patch (e.g., SemverVersion and ConanVersion) while most others (e.g., MavenVersion, which inherits from Version) do not. It would be useful to add at least a major version property method (or equivalent approach) to the Version class to facilitate the sorts of major version comparisons mentioned above.

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

No branches or pull requests

2 participants