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

feat: add Linux so file name normalization functions and example #31

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

nightlark
Copy link
Collaborator

Mostly addresses #5, though limited to looking at Debian/Ubuntu package repositories. It probably isn't worth diving into package repositories for older releases, though as we get datasets for other Linux distributions that may influence how we normalize shared library file names.

There are additional ways we could try to extract version numbers embedded in the file names, but those likely apply to less than 700 out of 39k+ shared library file names in Debian/Ubuntu with many false positives -- so not worth pursuing at this time.

Add functions for normalizing Linux SO file names, along with an example
that uses the name normalization functions to look for Debian/Ubuntu
file names installed by different packages that "collide" after being
normalized.

Addresses most of issue #5 regarding figuring out SO name normalization,
other than deciding file names to check in other Linux distros and
deciding if any other version numbers embedded in file names are worth
trying to recognize (out of 39k SO file names, applies to <700).
@nightlark nightlark linked an issue Dec 30, 2024 that may be closed by this pull request
@nightlark nightlark changed the title feat: add Linux so file name normalization functions and example (#31) feat: add Linux so file name normalization functions and example Dec 30, 2024
@nightlark nightlark merged commit a844783 into main Dec 30, 2024
5 checks passed
@nightlark nightlark deleted the so-name-normalization branch December 30, 2024 20:47
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.

Normalize shared library file names in datasets
1 participant