[yast-commit] [yast/yast-yast2] 7dc0d3: Add missing unit tests

Branch: refs/heads/fix/loading_services_database Home: https://github.com/yast/yast-yast2 Commit: 7dc0d3e6d1553f7d5c419bd1f7e3b9b3de05ec11 https://github.com/yast/yast-yast2/commit/7dc0d3e6d1553f7d5c419bd1f7e3b9b3de... Author: David Díaz González <dgonzalez@suse.de> Date: 2020-03-05 (Thu, 05 Mar 2020) Changed paths: M library/network/test/port_aliases_test.rb Log Message: ----------- Add missing unit tests The PortAliases public API didn't have unit tests yet, which we considered necessary to make changes in a safety way. Commit: 9ef63d9215a085441e109313772e988c0c7ae856 https://github.com/yast/yast-yast2/commit/9ef63d9215a085441e109313772e988c0c... Author: David Díaz González <dgonzalez@suse.de> Date: 2020-03-05 (Thu, 05 Mar 2020) Changed paths: M library/network/src/modules/PortAliases.rb M library/network/test/port_aliases_test.rb Log Message: ----------- Use `getent` to load the services database The `getent` util will load the database properly, no matter if it is placed in /etc/services, /usr/etc/services, or even in both. Commit: 99ea1aa023829e2433721bc5259c6620e3e4a981 https://github.com/yast/yast-yast2/commit/99ea1aa023829e2433721bc5259c6620e3... Author: David Díaz González <dgonzalez@suse.de> Date: 2020-03-05 (Thu, 05 Mar 2020) Changed paths: M library/network/src/modules/PortAliases.rb M library/network/test/port_aliases_test.rb Log Message: ----------- Improve performance reducing the services lines to process The services database could have almost identical entries for the same services, but with different protocol. Getting rid of the protocol allows to identify and discard those not necessary lines, which helps to improve the performance. Commit: 04e6e248ce99e51cf358be59d3d5e9eca8671e75 https://github.com/yast/yast-yast2/commit/04e6e248ce99e51cf358be59d3d5e9eca8... Author: David Díaz González <dgonzalez@suse.de> Date: 2020-03-05 (Thu, 05 Mar 2020) Changed paths: M library/network/src/modules/PortAliases.rb M library/network/test/port_aliases_test.rb Log Message: ----------- Use a Struct to make easier dealing with services Commit: 7e73cd27b28b08b82951b0a49e6ef0a25de92de5 https://github.com/yast/yast-yast2/commit/7e73cd27b28b08b82951b0a49e6ef0a25d... Author: David Díaz González <dgonzalez@suse.de> Date: 2020-03-05 (Thu, 05 Mar 2020) Changed paths: M library/network/src/modules/PortAliases.rb M library/network/test/port_aliases_test.rb Log Message: ----------- Fix documentation and copyright headers Commit: 604071f300c6886e20552deeb74449aa1817ee8f https://github.com/yast/yast-yast2/commit/604071f300c6886e20552deeb74449aa18... Author: David Díaz González <dgonzalez@suse.de> Date: 2020-03-05 (Thu, 05 Mar 2020) Changed paths: M library/network/src/modules/PortAliases.rb M library/network/test/port_aliases_test.rb Log Message: ----------- Get ride of Builtins Commit: 6a15723d210cee44b269119f2d1119106155ad89 https://github.com/yast/yast-yast2/commit/6a15723d210cee44b269119f2d11191061... Author: David Díaz González <dgonzalez@suse.de> Date: 2020-03-05 (Thu, 05 Mar 2020) Changed paths: M package/yast2.changes M package/yast2.spec Log Message: ----------- Bump version and update changelog Compare: https://github.com/yast/yast-yast2/compare/4742939f8462...6a15723d210c
participants (1)
-
David Díaz