Skip to content

fix: Clean build artifacts for successful repackage#1224

Merged
johnbartholomew merged 1 commit into
google:masterfrom
daichifukui:dfukui-clean-build-artifacts
Mar 15, 2025
Merged

fix: Clean build artifacts for successful repackage#1224
johnbartholomew merged 1 commit into
google:masterfrom
daichifukui:dfukui-clean-build-artifacts

Conversation

@daichifukui
Copy link
Copy Markdown
Contributor

The clean target in the Makefile wasn't removing all the temporary build files and directories, specifically build and jsonnet.egg-info. This caused a problem when trying to repackage the source for Debian. For more details about the problem, see the following bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1047367

This patch simply adds these to the clean command, ensuring a truly clean build environment, which is required by Debian policy. This change isn't just for Debian; it will also benefit other distributions that package Jsonnet, as it ensures a consistent and reliable build process across all platforms.

The clean target in the Makefile wasn't removing all the temporary
build files and directories, specifically build and jsonnet.egg-info.
This caused a problem when trying to repackage the source for Debian.
For more details about the problem, see the following bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1047367

This patch simply adds these to the clean command, ensuring a truly
clean build environment, which is required by Debian policy.
This change isn't just for Debian; it will also benefit other
distributions that package Jsonnet, as it ensures a consistent
and reliable build process across all platforms.
@johnbartholomew johnbartholomew merged commit eba6b46 into google:master Mar 15, 2025
@johnbartholomew
Copy link
Copy Markdown
Collaborator

Thanks for the contribution!

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.

2 participants