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

Handle kernel versions with '_' before build number #15

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

SandakovMM
Copy link
Contributor

No description provided.

@SandakovMM SandakovMM self-assigned this Mar 5, 2024
kpushkaryov
kpushkaryov previously approved these changes Mar 7, 2024
def test_kernel_with_underline(self):
kernel = version.KernelVersion("kernel-3.14.43_1-2.x86_64")
self.assertEqual(str(kernel), "3.14.43-1.2.x86_64")
self.assertEqual(kernel.major, "3")
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest to expand other tests in the same way later.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please rebase before merge.

@SandakovMM SandakovMM force-pushed the fix-kernel-version-with-underlining branch from e407ac9 to 0a798c8 Compare March 12, 2024 11:34
@SandakovMM
Copy link
Contributor Author

@kpushkaryov Could you please approve once again. Changes from other commit leaked into the branch, so I have to remove it and re-base once again.

@SandakovMM SandakovMM merged commit db94532 into main Mar 13, 2024
1 check passed
@SandakovMM SandakovMM deleted the fix-kernel-version-with-underlining branch March 13, 2024 03:02
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