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

Rohan Garg rohangarg-guest at moszumanska.debian.org
Sat Feb 21 15:58:46 UTC 2015


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

The following commit has been merged in the master branch:
commit 13852109a1bbdcc8eb8b63ae82c9e24ae7012e87
Author: Rohan Garg <rohan at kde.org>
Date:   Sat Feb 21 16:58:27 2015 +0100

    Make sure when generating Qt jobs, we use the right url
---
 lib/projects.rb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/lib/projects.rb b/lib/projects.rb
index 55ec65d..d815094 100644
--- a/lib/projects.rb
+++ b/lib/projects.rb
@@ -86,7 +86,13 @@ class Project
                 upstream_scm = {}
                 if File.exist?('debian/meta/upstream_scm.json')
                     upstream_scm = JSON::parse(File.read('debian/meta/upstream_scm.json'))
+
+                end
+
+                if component == 'qt'
+                    upstream_scm['url'] = "git at gitorious.org:qt/#{name}.git"
                 end
+
                 default_repo_url = "git://anongit.kde.org/#{name.chomp('-qt4')}"
                 @upstream_scm = Scm.new(upstream_scm['type'] ||= 'git',
                                         upstream_scm['url'] ||= default_repo_url,
@@ -128,6 +134,16 @@ class ProjectFactory
           end
         end
       end
+    when "selective_exlusion"
+      value.each do |component, blacklist|
+        repos = list_all_repos(component)
+        repos.each do |name|
+          begin
+            ret << Project.new(name, component, type: type) unless blacklist.include? name
+          rescue
+          end
+        end
+      end
     when "custom_ci"
       repos = []
       value.each do |custom_ci|

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list