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

Encapsulate PackageData; use pathlib #119

Merged
merged 4 commits into from
Jan 11, 2024
Merged

Encapsulate PackageData; use pathlib #119

merged 4 commits into from
Jan 11, 2024

Conversation

srittau
Copy link
Contributor

@srittau srittau commented Jan 8, 2024

This is a preliminary refactoring for fixing python/typeshed#11254. The idea is that the new class PackageData encapsulates all data concerning packages and their contents. This allows us later to find the top-level non-namespace packages, instead of just the top-level packages as we are doing now.

This is a preliminary refactoring for fixing python/typeshed#11254. The idea is that the new class `PackageData` encapsulates all data concerning packages and their contents. This allows us later to find the top-level non-namespace packages, instead of just the top-level packages as we are doing now.
@srittau
Copy link
Contributor Author

srittau commented Jan 9, 2024

@Avasam Could you review this? It should be fairly self-explanatory, even if you are not well-versed with the stub uploader.

@Avasam
Copy link
Contributor

Avasam commented Jan 10, 2024

I can do a proper review tomorow. But a first overview from my phone this looks good. This is an area of stub_uploader I'm a bit familiar with.

Copy link
Contributor

@Avasam Avasam left a comment

Choose a reason for hiding this comment

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

Pretty much a 1:1 mapping of existing logic and looks cleaner. Looking forward to follow-up PRs!

@JelleZijlstra JelleZijlstra merged commit c5f29f7 into main Jan 11, 2024
6 checks passed
@JelleZijlstra JelleZijlstra deleted the pkg-data branch January 11, 2024 03:54
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.

3 participants