Branch: refs/heads/feature/fate-325482-display-the-license
Home: https://github.com/yast/yast-yast2
Commit: 920fc91c28026205d47f71227a76f18a8c2c5f21
https://github.com/yast/yast-yast2/commit/920fc91c28026205d47f71227a76f18a8c...
Author: David Díaz González
Date: 2018-12-27 (Thu, 27 Dec 2018)
Changed paths:
M library/packages/src/Makefile.am
M library/packages/src/lib/y2packager/license.rb
M library/packages/src/lib/y2packager/licenses_fetchers/libzypp.rb
M library/packages/src/lib/y2packager/licenses_handlers.rb
A library/packages/src/lib/y2packager/licenses_handlers/rpm.rb
M library/packages/src/lib/y2packager/product_license.rb
M library/packages/test/Makefile.am
M library/packages/test/y2packager/license_test.rb
M library/packages/test/y2packager/licenses_handlers/libzypp_test.rb
A library/packages/test/y2packager/licenses_handlers/rpm_test.rb
M library/packages/test/y2packager/product_license_test.rb
M library/packages/test/y2packager/product_test.rb
Log Message:
-----------
Add a handler for licenses fetched from an RPM package
Basically, because it is necessary to know if the license acceptance
is required. The way to check it is looking for the
`no-acceptance-needed` file inside the RPM, which presence means that
the license does not need to be accepted.
This change also implies a few adjustments in the existing codebase.
Commit: 0d89c43f9e20d6e542e179f98189f0c739fb2a51
https://github.com/yast/yast-yast2/commit/0d89c43f9e20d6e542e179f98189f0c739...
Author: David Díaz González
Date: 2018-12-27 (Thu, 27 Dec 2018)
Changed paths:
M library/packages/src/lib/y2packager/licenses_fetchers/rpm.rb
Log Message:
-----------
Make Rubocop happy
Due to the default configuration (aligned vs indented) for the
Style/MultilineMethodCallIndentation cop, which is available under the
Layout department since Rubocop 0.49
(https://github.com/rubocop-hq/rubocop/pull/4278)
Compare: https://github.com/yast/yast-yast2/compare/fe7de2b93fcf...0d89c43f9e20
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.