Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
colobot-data
reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible.patch of Package colobot-data
https://github.com/colobot/colobot-data/pull/41 From 01354acabe1f0bcd7968bab2f9d55596ab21fd51 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedemann@suse.de> Date: Thu, 11 Jul 2019 06:47:28 +0200 Subject: [PATCH] Sort input file list so that chaptertitle.txt builds in a reproducible way in spite of indeterministic filesystem readdir order See https://reproducible-builds.org/ for why this is good. --- i18n-tools/scripts/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n-tools/scripts/common.py b/i18n-tools/scripts/common.py index 80423f3c..c0488bad 100644 --- a/i18n-tools/scripts/common.py +++ b/i18n-tools/scripts/common.py @@ -150,7 +150,7 @@ def merge_and_save(self, template_file): def find_translation_file_names(po_dir): pot_file_name = os.path.join(po_dir, 'translations.pot') # default po_file_names = [] - for file_name in os.listdir(po_dir): + for file_name in sorted(os.listdir(po_dir)): if file_name.endswith('.pot'): pot_file_name = os.path.join(po_dir, file_name) elif file_name.endswith('.po'):
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