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

Harald Sitter apachelogger-guest at moszumanska.debian.org
Mon Jan 11 12:34:55 UTC 2016


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

The following commit has been merged in the master branch:
commit 51dff293afdf6281d0f6639d95ef5b4968112ee9
Author: Harald Sitter <sitter at kde.org>
Date:   Mon Jan 11 13:34:43 2016 +0100

    add new debian type that overrides the default prefix
---
 lib/projects.rb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lib/projects.rb b/lib/projects.rb
index f0434e0..4ab8ee2 100644
--- a/lib/projects.rb
+++ b/lib/projects.rb
@@ -267,12 +267,13 @@ class ProjectFactory
         repos.each do |repo|
           component = repo.path.split('/')[0..-2].join('/')
           name = repo.path.split('/')[-1]
-          if static_ci['type'] == 'neon'
+          case static_ci['type']
+          when 'neon'
             pro = Project.new(name, component,
                               'git://packaging.neon.kde.org.uk',
                               branch: repo.branch)
-          else
-            pro = Project.new(name, component, branch: repo.branch)
+          when 'debian'
+            pro = Project.new(name, component, 'git.debian.org:/git', branch: repo.branch)
           end
           pro.upstream_scm = CI::SCM.new('tarball', URI.decode(repo.tarball))
           ret << pro

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list