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

Remove dead code / attribute #2454

Merged
merged 2 commits into from
Apr 12, 2023
Merged

Conversation

AntoinePrv
Copy link
Member

The keys "solvable:extra_xxx" are not set in any place, and are never used in libsolv.
Therefore that code is dead and PackageInfo::extra_metadata is unused.

@wolfv
Copy link
Member

wolfv commented Apr 12, 2023

The idea of these was that we could bit-for-bit reconstruct the entry from repodata.json and compare the signature. Not all entries of repodata.json are necessarily parsed into libsolv. I think Adrien used to have a patched libsolv version where these might have been set (openSUSE/libsolv#469)

@JohanMabille
Copy link
Member

I think we can remove this code for now since it makes the refactoring more complicated, and reimplement it if/when we need it in the future.

@JohanMabille JohanMabille merged commit 032e404 into mamba-org:main Apr 12, 2023
20 checks passed
@AntoinePrv AntoinePrv deleted the bug-dead-code branch April 12, 2023 14:21
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

3 participants