-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Parse dependency architecture even without version #868
Conversation
Codecov Report
@@ Coverage Diff @@
## master #868 +/- ##
==========================================
+ Coverage 63.79% 63.81% +0.01%
==========================================
Files 54 54
Lines 6662 6665 +3
==========================================
+ Hits 4250 4253 +3
Misses 1887 1887
Partials 525 525
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, the change looks good to me, but could you please add a unit-test to deb/version_test.go
to make sure python:any
(and other similar) are now properly parsed?
As asked by Andrey in aptly-dev#868.
I added a test in
and with my PR:
|
@rmedaer thanks, would you mind rebasing your PR and resolving conflicts so that it can be merged? |
This commit closes: aptly-dev#145 The dependency format "pkg:arch" (e.g. "python3:any") was not well parsed if not any version is given. This commit splits the dependency name and architecture in all cases.
As asked by Andrey in aptly-dev#868.
@smira it should be OK right now ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
This commit closes: #145
Description of the Change
The dependency format "pkg:arch" (e.g. "python3:any") was not well parsed if not any version is given. This commit splits the dependency name and architecture in all cases.
Checklist
AUTHORS