Skip to content

Commit aec0962

Browse files
committed
Add repro tool
1 parent b78eaa9 commit aec0962

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

arch-repro/index.html

+44
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
* private keys!
6060
* timezones
6161
* hashes
62+
* python2
6263

6364
---
6465

@@ -147,11 +148,54 @@
147148
# Work In Progress
148149

149150
* Devtools-repro
151+
* Tool to reproduce/check repo packages
152+
* still unofficial
150153

151154
https://github.com/Foxboron/devtools-repro
152155

153156
---
154157

158+
# Repro build
159+
160+
* Build a package twice for reproducibility
161+
162+
```bash
163+
$ repro build
164+
==> Using SOURCE_DATE_EPOCH: 1535055076
165+
==> Starting build1...
166+
...
167+
==> Starting build2...
168+
-> Create snapshot for build2...
169+
==> Settings build environemnt...
170+
export TZ=/usr/share/zoneinfo/Etc/GMT-14
171+
export LANG=fr_CH.UTF-8
172+
==> Comparing hashes...
173+
-> acl-2.2.53-1-x86_64.pkg.tar.xz from build2 is reproducible with profile1.conf!
174+
==> Package is reproducible!
175+
```
176+
177+
---
178+
179+
# Repro check
180+
181+
* Verify a repo package
182+
183+
```bash
184+
repro check filesystem-2018.8-1-x86_64.pkg.tar.xz
185+
==> Starting build...
186+
...
187+
-> Preparing packages
188+
Downloading acl-2.2.53-1-x86_64.pkg.tar.xz
189+
Downloading archlinux-keyring-20180808-1-any.pkg.tar.xz
190+
==> Package is not reproducible!
191+
```
192+
193+
???
194+
195+
Overlaps with reprotest.
196+
197+
---
198+
155199
# Help out
156200

157201
* \#reproducible-builds

0 commit comments

Comments
 (0)