-
-
Notifications
You must be signed in to change notification settings - Fork 424
Enhance docs about reproducible builds #1882
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enhances the reproducible builds documentation by adding comprehensive information about file permissions handling. The documentation now explains that reproducible builds configuration not only controls file timestamps and ordering but also normalizes file permissions regardless of local umask settings, which is crucial for achieving byte-for-byte identical builds across different environments.
Key changes:
- Added explanation about file permissions and umask handling in reproducible builds
- Included code examples for setting POSIX file permissions (755 for executables/directories, 644 for regular files)
- Added reference link to reproducible-builds.org for additional context
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
| Besides file timestamps and file order, this configuration also ensures that all files in the JAR are set to have the | ||
| same permissions, irrespective of the locally configured umask. | ||
|
|
||
| More information about reproducible builds can be found at [reproducible-builds.org](https://reproducible-builds.org/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refs #1848.