-
Notifications
You must be signed in to change notification settings - Fork 112
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
Fail if a build results in an empty package #670
Comments
We need a way to allow this for some packages, like |
Perhaps set something in the melange config stating the package is a metapackage? Something like: package:
name: foobar
empty: true Alternatively, this could be a linter, which could be turned off. But I think I'd need a post-walking linter. |
I like the explicitness 👍 |
Completed in #700. This lint can be disabled if needed. |
Melange should detect and fail for the case where a built APK file was left with nothing but directories and an SBOM.
See motivation and context here: wolfi-dev/os#5336 (comment)
The text was updated successfully, but these errors were encountered: