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 SourceDistFilename from RegistrySourceDist #3650

Merged
merged 1 commit into from
May 20, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Uncertain about this, but we don't actually need the full SourceDistFilename, only the name and version -- and we often have that information already (as in the lockfile routines). So by flattening the fields onto RegistrySourceDist, we can avoid re-parsing for information we already have.

@charliermarsh charliermarsh added the internal A refactor or improvement that is not user-facing label May 18, 2024
@zanieb
Copy link
Member

zanieb commented May 18, 2024

Makes sense to me, but deferring to Andrew.

Copy link
Member

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

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

Makes sense to me too.

@charliermarsh charliermarsh merged commit 657eebd into main May 20, 2024
44 checks passed
@charliermarsh charliermarsh deleted the charlie/filename branch May 20, 2024 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants