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

Harald Sitter apachelogger-guest at moszumanska.debian.org
Wed Jul 1 06:15:14 UTC 2015


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

The following commit has been merged in the master branch:
commit 305cc272bb42e03bd792743197bb38dd1b07880b
Author: Harald Sitter <sitter at kde.org>
Date:   Wed Jul 1 08:15:02 2015 +0200

    ignore ARGV0 in binarier
    
    previously we wanted to know the job we run on, but in terms of binarier
    it is of little to no concern and as such can be ignored.
    this in turn lifts artifical requirements on the job name
---
 kci/binarier.rb | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/kci/binarier.rb b/kci/binarier.rb
index 0ce6125..cf7ace1 100755
--- a/kci/binarier.rb
+++ b/kci/binarier.rb
@@ -14,19 +14,13 @@ Project = Struct.new(:series, :stability, :name)
 
 $stdout = $stderr
 
-# get basename, distro series, unstable/stable
-p ARGV
-components = ARGV[0].split('_')
-p components
-unless components.size == 4
-  abort 'Did not get a valid project identifier via ARGV0'
-end
-project = Project.new(components[0], components[1], components[2])
+# TODO: we get the jobname in ARGV0 but do not use it
 
 # PWD
-abort 'Could not change dir to ARGV1' unless Dir.chdir(ARGV[1])
-
 WORKSPACE_PATH = ARGV[1]
+unless Dir.chdir(WORKSPACE_PATH)
+  abort "Could not change dir to ARGV1 #{WORKSPACE_PATH}"
+end
 
 # Workaround for docker not having suidmaps. We run as root in the docker
 # which will result in uid/gid of written things to be 0 rather than whatever

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list