-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
Fixed epoch parser failing for numeric values #3520
Fixed epoch parser failing for numeric values #3520
Conversation
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 for the PR @OmkarPh
See a few nits for your consideration
@@ -391,3 +391,7 @@ def test_rpm_tags_xsetup_0_28_b1_src_rpm(self): | |||
def test_rpm_tags_zziplib_0_11_15_3sf_i586_rpm(self): | |||
test_file = self.get_test_loc('rpm/header/zziplib-0.11.15-3sf.i586.rpm') | |||
self.check_rpm_tags(test_file) | |||
|
|||
def test_rpm_tags_apache_commons_io_2_4_12_el7_noarch_rpm(self): |
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.
Maybe test_get_rpm_tags_can_parse_numeric_values
is a better name?
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.
the tests above also check for the same function right
Should I update those too?
You can use this truncated RPM that I shortened using an hex binary editor (ghex) |
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
3d5f7ec
to
2405a89
Compare
Thanks, I've force pushed (and tested) with this truncated file |
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.
LGTM!
Thanks++ @OmkarPh
Merging!
Fixes #3489
Tasks
Run tests locally to check for errors.