Skip to content

Conversation

@snazy
Copy link
Contributor

@snazy snazy commented Dec 5, 2025

Refs #1848.


  • CHANGELOG's "Unreleased" section has been updated, if applicable.

Copy link
Contributor

Copilot AI left a 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.

@Goooler Goooler merged commit 47a1e7b into GradleUp:main Dec 5, 2025
4 of 5 checks passed
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/).
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

@snazy snazy deleted the enhance-repro-builds-docs branch December 5, 2025 11:39
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