Mike McLean
Sr. Software Engineer
Red Hat
Past life: mathematics
FAS: mikem
mikem@redhat.com
Reproducibility is the ability of an entire experiment or study to be duplicated, either by the same researcher or by someone else working independently.
These guys are doing great work!
Much of it is landing upstream
$ koji mock-config --task 10676157 -o mikem.cfg
(download source rpm)
(move mock config in place)
$ mock -r mikem --rebuild ./ast-8.0.5-1.fc23.src.rpm
Build succeeds? yes
Byte for byte? no (varies by package)
Approach:
Requires special access now, but hopefully that can change
$ koji call repoInfo 510427
{'create_event': 11952446,
'create_ts': 1439297485.77903,
'creation_time': '2015-08-11 12:51:25.779027',
'id': 510427,
'state': 2,
'tag_id': 315,
'tag_name': 'f24-build'}
$ koji call newRepo f24-build 11952446
10678016
$ koji watch-task 10678016
Watching tasks (this may be safely interrupted)...
-snip-
10678016 newRepo (f24-build) completed successfully
$ koji call getTaskResult 10678016
[510635, 11952446]
$ koji build --nowait --arch-override=x86_64 --scratch --repo-id=510635 none 'git://pkgs.fedoraproject.org/utf8proc?#f6336ba871e3e049c09c931c4139748d8eee080a'
Created task: 10678134
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=10678134
$ koji watch-task 10678134
$ (cd a; koji download-build --arch x86_64 utf8proc-1.3-1.fc24 )
utf8proc-1.3-1.fc24.x86_64.rpm
utf8proc-devel-1.3-1.fc24.x86_64.rpm
$ (cd b; koji download-task 10678134 )
Downloading [1/4]: utf8proc-1.3-1.fc24.x86_64.rpm
Downloading [2/4]: utf8proc-debuginfo-1.3-1.fc24.x86_64.rpm
Downloading [3/4]: utf8proc-devel-1.3-1.fc24.x86_64.rpm
Downloading [4/4]: utf8proc-1.3-1.fc24.src.rpm
$ rpmdiff -iT a/utf8proc-1.3-1.fc24.x86_64.rpm b/utf8proc-1.3-1.fc24.x86_64.rpm
$