[yast-commit] [yast/yast-country] 68796f: Added check for importing invalid language (AutoYa...
Branch: refs/heads/SLE-12-SP2 Home: https://github.com/yast/yast-country Commit: 68796f0250bd32c4ff3a0b0a9e3bb8e38df392fa https://github.com/yast/yast-country/commit/68796f0250bd32c4ff3a0b0a9e3bb8e3... Author: Lukas Ocilka <lukas.ocilka@gmail.com> Date: 2016-08-12 (Fri, 12 Aug 2016) Changed paths: M language/src/modules/Language.rb Log Message: ----------- Added check for importing invalid language (AutoYast) - bnc#991001 - AutoYast did not report erroneous <language/> and used anything that came from the profile. That was causing problems, e.g., with systemctl output - This patch adds a check for valid <language/> and if it's incorrect, error is reported and default language is used instead - A little refactoring needed to be done to increase the readability of the code and also to make it testable with unit tests Commit: 812e7c1be7091244ed57c89f788dd664e59f9825 https://github.com/yast/yast-country/commit/812e7c1be7091244ed57c89f788dd664... Author: Lukas Ocilka <lukas.ocilka@gmail.com> Date: 2016-08-12 (Fri, 12 Aug 2016) Changed paths: M language/Makefile.am A language/test/Language_test.rb A language/test/Makefile.am A language/test/test_helper.rb Log Message: ----------- Added new RSpec test for Language Commit: cde346d2df1815be6e1c2a4c1f0c8b63d9c9dd5b https://github.com/yast/yast-country/commit/cde346d2df1815be6e1c2a4c1f0c8b63... Author: Lukas Ocilka <lukas.ocilka@gmail.com> Date: 2016-08-12 (Fri, 12 Aug 2016) Changed paths: M language/src/modules/Language.rb M language/test/Language_test.rb Log Message: ----------- Changes as requested in review Commit: 3ec5e1afe37d0dfad7180f4d9230210741469efd https://github.com/yast/yast-country/commit/3ec5e1afe37d0dfad7180f4d92302107... Author: Lukas Ocilka <lukas.ocilka@gmail.com> Date: 2016-08-12 (Fri, 12 Aug 2016) Changed paths: M package/yast2-country.changes M package/yast2-country.spec Log Message: ----------- Changes and version Conflicts: package/yast2-country.changes package/yast2-country.spec Commit: e3e4f2ca57408051b649913befbfd39b4d6e454b https://github.com/yast/yast-country/commit/e3e4f2ca57408051b649913befbfd39b... Author: Lukas Ocilka <lukas.ocilka@gmail.com> Date: 2016-08-12 (Fri, 12 Aug 2016) Changed paths: M language/Makefile.am M language/src/modules/Language.rb A language/test/Language_test.rb A language/test/Makefile.am A language/test/test_helper.rb M package/yast2-country.changes M package/yast2-country.spec Log Message: ----------- Merge pull request #80 from kobliha/check_for_supported_languages_SP2 Added check for supported languages and correcting unsupported ones Compare: https://github.com/yast/yast-country/compare/581b1a37ec29...e3e4f2ca5740
participants (1)
-
GitHub