[SCM] ci-tooling packaging branch, master, updated. c98758f792c9ffb83cfc536b421b60a36520ca48

Harald Sitter apachelogger-guest at moszumanska.debian.org
Tue Mar 24 14:41:02 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=c98758f

The following commit has been merged in the master branch:
commit c98758f792c9ffb83cfc536b421b60a36520ca48
Author: Harald Sitter <sitter at kde.org>
Date:   Tue Mar 24 15:41:00 2015 +0100

    copy qml verifier into builder and let it warn (plasma-addons only still)
---
 kci/builder.rb | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/kci/builder.rb b/kci/builder.rb
index 1d5caa5..6d34bba 100755
--- a/kci/builder.rb
+++ b/kci/builder.rb
@@ -368,5 +368,20 @@ puts_lintian(log_data, updated_symbols: updated_symbols)
 # TODO: this script currently does not impact the build results nor does it
 # create parsable output
 if project.name == 'kdeplasma-addons'
-  system("#{File.expand_path(File.dirname(__FILE__))}/qml_dep_verify.rb")
+  require_relative 'lib/qml_dependency_verifier'
+
+  dep_verify = QMLDependencyVerifier.new
+  dep_verify.add_ppa
+  missing_modules = dep_verify.missing_modules
+  missing_modules.each do |package, modules|
+    puts_warning "#{package} has missing dependencies..."
+    modules.uniq! { |mod| { mod.identifier => mod.version } }
+    modules.each do |mod|
+      puts_info "  #{mod} not found."
+      puts_info '    looked for:'
+      mod.import_paths.each do |path|
+        puts_info "      - #{path}"
+      end
+    end
+  end
 end

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list