summary refs log tree commit diff
path: root/.github/ISSUE_TEMPLATE
diff options
context:
space:
mode:
authorArnout Engelen <arnout@bzzt.net>2022-11-14 09:07:49 +0100
committerGitHub <noreply@github.com>2022-11-14 09:07:49 +0100
commitc6cdcfc10c7fd325e061d7a9bbf0a5ead8282e30 (patch)
tree4aa135ac908fad39127587f2bce1d5f46d5fa1ed /.github/ISSUE_TEMPLATE
parente786e55eadd40eb67dfcf00b39be5c54cdf67f7d (diff)
parent2018f92ef25a57c07b4c924476375948cf60164e (diff)
Merge pull request #192724 from raboof/add-unreproducible-package-issue-template
Add issue template for unreproducible packages
Diffstat (limited to '.github/ISSUE_TEMPLATE')
-rw-r--r--.github/ISSUE_TEMPLATE/unreproducible_package.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/unreproducible_package.md b/.github/ISSUE_TEMPLATE/unreproducible_package.md
new file mode 100644
index 0000000000000..749976dfbecdb
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/unreproducible_package.md
@@ -0,0 +1,31 @@
+---
+name: Unreproducible package
+about: A package that does not produce a bit-by-bit reproducible result each time it is built
+title: ''
+labels: '0.kind: enhancement', '6.topic: reproducible builds'
+assignees: ''
+
+---
+
+Building this package twice does not produce the bit-by-bit identical result each time, making it harder to detect CI breaches. You can read more about this at https://reproducible-builds.org/ .
+
+Fixing bit-by-bit reproducibility also has additional advantages, such as avoiding hard-to-reproduce bugs, making content-addressed storage more effective and reducing rebuilds in such systems.
+
+### Steps To Reproduce
+
+```
+nix-build '<nixpkgs>' -A ... --check --keep-failed
+```
+
+You can use `diffoscope` to analyze the differences in the output of the two builds.
+
+To view the build log of the build that produced the artifact in the binary cache:
+
+```
+nix-store --read-log $(nix-instantiate '<nixpkgs>' -A ...)
+```
+
+### Additional context
+
+(please share the relevant fragment of the diffoscope output here,
+and any additional analysis you may have done)