Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
griefly
reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible.patch of Package griefly
https://github.com/griefly/griefly/pull/508 From 7405f89013dc42cda1bac2a53b59e3f4cfc33128 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedemann@suse.de> Date: Thu, 11 Jul 2019 09:42:02 +0200 Subject: [PATCH] Sort input file list so that metadata.json and KVEngine build in a reproducible way in spite of indeterministic filesystem readdir order. See https://reproducible-builds.org/ for why this is good. --- utils/metadata_generator.py | 2 ++ 1 file changed, 2 insertions(+) Index: griefly-0.3.1/metadata_generator.py =================================================================== --- griefly-0.3.1.orig/metadata_generator.py +++ griefly-0.3.1/metadata_generator.py @@ -72,6 +72,8 @@ def main(): raise ParamsParseError("Too few command line options, use --help for more info") for directory, directory_names, filenames in os.walk(dir_name): + directory_names.sort() + filenames.sort() for filename in [f for f in filenames if f.endswith(".h")]: fullpath = os.path.join(directory, filename) if not "Macroses.h" in fullpath:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor