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

deduplicate kernel_version open-coded parser #151

Closed

Conversation

aquini
Copy link
Contributor

@aquini aquini commented Aug 11, 2023

The code that parses kernel version from OSRELEASE/UTSRELEASE strings
and populates the global kernel table is duplicated across the codebase
for no good reason. This commit consolidates all the duplicated parsing
code into a single method to remove the unnecessary duplicated code.

@aquini aquini force-pushed the dedup-opencoded-kernelver-parser branch from b9e9044 to 55a9718 Compare August 13, 2023 00:28
@aquini aquini changed the title deduplicate kernel_version opencoded parser deduplicate kernel_version open-coded parser Aug 13, 2023
The code that parses kernel version from OSRELEASE/UTSRELEASE strings
and populates the global kernel table is duplicated across the codebase
for no good reason. This commit consolidates all the duplicated parsing
code into a single method to remove the unnecessary duplicated code.

Signed-off-by: Rafael Aquini <aquini@redhat.com>
@aquini aquini force-pushed the dedup-opencoded-kernelver-parser branch from 55a9718 to ada5e37 Compare August 14, 2023 13:43
@k-hagio
Copy link
Contributor

k-hagio commented Aug 18, 2023

Closing with f774fe0, thanks.

@k-hagio k-hagio closed this Aug 18, 2023
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.

None yet

2 participants