Skip to content

add alpine support in univers - #39

Merged
pombredanne merged 2 commits into
aboutcode-org:mainfrom
TG1999:alpine_linux
Feb 16, 2022
Merged

add alpine support in univers#39
pombredanne merged 2 commits into
aboutcode-org:mainfrom
TG1999:alpine_linux

Conversation

@TG1999

@TG1999 TG1999 commented Feb 15, 2022

Copy link
Copy Markdown
Contributor

Signed-off-by: Tushar Goel tushar.goel.dav@gmail.com

closes issue #37

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks! I have a few nitpickings for your review!

Comment thread src/univers/debian.py
Comment thread src/univers/versions.py
Comment thread tests/data/alpine_test.txt.NOTICE Outdated
Comment thread tests/data/alpine_test.txt.ABOUT
Comment thread tests/data/alpine_test.txt.ABOUT Outdated
Comment thread tests/test_alpine.py Outdated
Comment thread tests/test_alpine.py Outdated
Comment thread tests/test_alpine.py Outdated
Comment thread tests/test_alpine.py Outdated
Comment thread tests/test_maven_version.py
@TG1999
TG1999 force-pushed the alpine_linux branch 2 times, most recently from 759d46e to fb9b487 Compare February 16, 2022 13:28
Comment thread src/univers/version_range.py Outdated
Comment thread src/univers/version_range.py Outdated
Comment thread src/univers/versions.py Outdated
Currently univers don't have a VersionClass for alpine linux, so add a version class for alpine linux and use same vercmp method that has been used by gentoo, avoid cases for now  which have a leading 0 in them.

Verify the current implementation of vercmp with the test data from here https://git.alpinelinux.org/apk-tools/tree/tests/version.data add ABOUT file and license for same

Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
@TG1999
TG1999 requested a review from pombredanne February 16, 2022 18:31

@pombredanne pombredanne left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

macOS is dead @Azure and we need to merge the latest skeleton, so ignore the failures.
This is looking great!
Thanks... merging!

@pombredanne
pombredanne merged commit 4b83fb4 into aboutcode-org:main Feb 16, 2022
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.

2 participants