Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP3:Update
nested
nested-1.4-reproducible-mo-file.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nested-1.4-reproducible-mo-file.patch of Package nested
https://github.com/carlos-jenkins/nested/pull/1 commit 53e84ac4d75de6b3c7027a2d9a0d24ed96d6f998 Author: Bernhard M. Wiedemann <bwiedemann@suse.de> Date: Sun Oct 22 09:30:24 2017 +0200 Sort list of .po files so that package builds always give the same result See https://reproducible-builds.org/ for why this is good. Without this patch, /usr/share/locale/ru_RU/LC_MESSAGES/nested.mo (and possibly others) would sometimes differ as seen in http://rb.zq1.de/compare.factory-20171017/nested-compare.out diff --git a/l10n/compile_mo.py b/l10n/compile_mo.py index 2301f10..b91c978 100755 --- a/l10n/compile_mo.py +++ b/l10n/compile_mo.py @@ -19,7 +19,7 @@ def build_mo_files(): shutil.rmtree(locale_dir) os.mkdir(locale_dir) - available_langs = os.listdir(po_dir) + available_langs = sorted(os.listdir(po_dir)) available_langs = filter(lambda file: file.endswith('.po'), available_langs) available_langs = map(lambda file: file[:-3], available_langs)
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