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

Harald Sitter apachelogger-guest at moszumanska.debian.org
Thu Apr 2 10:42:20 UTC 2015


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

The following commit has been merged in the master branch:
commit 5a4b2e942a3d552a0f510df6c8c199dccea393fc
Author: Harald Sitter <sitter at kde.org>
Date:   Thu Apr 2 12:39:06 2015 +0200

    style fixes
---
 kci/ppa-copy-package.rb | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/kci/ppa-copy-package.rb b/kci/ppa-copy-package.rb
index 1e59802..7f7cc00 100755
--- a/kci/ppa-copy-package.rb
+++ b/kci/ppa-copy-package.rb
@@ -32,18 +32,18 @@ if ENV['TYPE'] != 'unstable'
   exit
 end
 
-puts "!!! Copying packages to stable !!!"
+puts '!!! Copying packages to stable !!!'
 
 # FIXME: yolo
 distribution = ENV['DIST']
 source = JSON.parse(File.read('source.json'), object_class: OpenStruct)
 
-Launchpad::authenticate
+Launchpad.authenticate
 
 # FIXME: current assumptions: source is unstable, target is always stable
-source_ppa = Launchpad::Rubber::from_url("https://api.launchpad.net/devel/~kubuntu-ci/+archive/ubuntu/unstable")
-target_ppa = Launchpad::Rubber::from_url("https://api.launchpad.net/devel/~kubuntu-ci/+archive/ubuntu/stable")
-series = Launchpad::Rubber::from_url("https://api.launchpad.net/devel/ubuntu/#{distribution}")
+source_ppa = Launchpad::Rubber.from_url('https://api.launchpad.net/devel/~kubuntu-ci/+archive/ubuntu/unstable')
+target_ppa = Launchpad::Rubber.from_url('https://api.launchpad.net/devel/~kubuntu-ci/+archive/ubuntu/stable')
+series = Launchpad::Rubber.from_url("https://api.launchpad.net/devel/ubuntu/#{distribution}")
 
 source_ppa.getPublishedSources(source_name: source.name,
                                version: source.version,
@@ -51,6 +51,6 @@ source_ppa.getPublishedSources(source_name: source.name,
   target_ppa.copyPackage!(from_archive: source_ppa,
                           source_name: s.source_package_name,
                           version: s.source_package_version,
-                          to_pocket: "Release",
+                          to_pocket: 'Release',
                           include_binaries: true)
 end

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list