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

Reduce the scope of the public API #777

Open
lengau opened this issue Jul 12, 2024 · 0 comments
Open

Reduce the scope of the public API #777

lengau opened this issue Jul 12, 2024 · 0 comments
Labels
Enhancement New feature or request
Milestone

Comments

@lengau
Copy link
Contributor

lengau commented Jul 12, 2024

What needs to get done

Make all final module files private (prefix with underscore) and make only the relevant items public using __all__ entries in various __init__.py files.

Why it needs to get done

As more people use craft-parts, limiting the public API makes it easier to determine what are breaking changes.

@lengau lengau added the Enhancement New feature or request label Jul 12, 2024
@lengau lengau added this to the 3.0 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant