Branch: refs/heads/master
Home: https://github.com/yast/yast-yast2
Commit: 0b8ce51cd6dd4b7d0a86436d70c573b7c013b0dc
https://github.com/yast/yast-yast2/commit/0b8ce51cd6dd4b7d0a86436d70c573b7c0...
Author: Martin Vidner
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M library/control/src/modules/ProductProfile.rb
Log Message:
-----------
Do not crash if subscription-tools.rpm is missing.
BTW the package lives in
https://build.opensuse.org/package/show/SUSE:SLE-12:GA/subscription-tools
This is the first real bug I've found with ruby-lint, after thousands of
false positives!!
I was looking why it was not seeing the Pkg namespace as it should, and
noticed a real problem in the last line:
$ ruby-lint -p text library/control/src/modules/ProductProfile.rb
ProductProfile.rb: error: line 52, column 18: undefined constant Pkg
ProductProfile.rb: error: line 64, column 17: undefined constant Pkg
ProductProfile.rb: error: line 81, column 33: undefined method tmpdir on an instance of DirectoryClass
ProductProfile.rb: error: line 86, column 24: undefined constant Pkg
ProductProfile.rb: error: line 95, column 19: undefined constant Pkg
ProductProfile.rb: error: line 138, column 21: undefined constant YaPI
ProductProfile.rb: error: line 138, column 21: undefined constant YaPI::SubscriptionTools
ProductProfile.rb: error: line 163, column 9: undefined method y2milestone
Commit: 395fbcd12084e7f2c697d0841f3ce4474fd4c8d8
https://github.com/yast/yast-yast2/commit/395fbcd12084e7f2c697d0841f3ce4474f...
Author: Martin Vidner
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M library/control/src/modules/ProductProfile.rb
Log Message:
-----------
Merge pull request #475 from yast/subscription-tools-not-found
Do not crash if subscription-tools.rpm is missing.
Compare: https://github.com/yast/yast-yast2/compare/0679991fc1a9...395fbcd12084