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

Rohan Garg rohangarg-guest at moszumanska.debian.org
Tue Mar 10 02:15:58 UTC 2015


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

The following commit has been merged in the master branch:
commit 9d9e60cd6a56df042f1d8852f840e1551a2d4ce4
Author: Rohan Garg <rohan at garg.io>
Date:   Tue Mar 10 03:15:41 2015 +0100

    Make sure we include FileUtils and hardcode git host for github
---
 lib/projects.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/projects.rb b/lib/projects.rb
index 245d11e..ce5973b 100644
--- a/lib/projects.rb
+++ b/lib/projects.rb
@@ -1,6 +1,7 @@
 require 'json'
 require 'pathname'
 require 'uri'
+require 'fileutils'
 
 require_relative 'debian/control'
 
@@ -166,6 +167,7 @@ class ProjectFactory
         repos = []
         if custom_ci['type'] == 'github'
           require 'octokit'
+          custom_ci['git_host'] = 'https://github.com/'
           if custom_ci['repos'] == ['all']
             Octokit.organization_repositories(custom_ci['org']).each do |octo_repo|
               repos << octo_repo[:name]
@@ -178,7 +180,6 @@ class ProjectFactory
         else
           repos = custom_ci['repos']
         end
-
         repos.each do |repo|
           begin
             ret << Project.new(repo, custom_ci['org'], custom_ci['git_host'],

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list