[SCM] ci-tooling packaging branch, master, updated. 2a64552e66790fa35c1ac025e80c87ced7504f6f
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Wed Dec 9 15:52:47 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=e7685fe
The following commit has been merged in the master branch:
commit e7685fee15062a5fcd2cd67855d632d2bf142fd5
Author: Harald Sitter <sitter at kde.org>
Date: Wed Dec 9 16:49:26 2015 +0100
fix scheme
---
lib/lp.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/lp.rb b/lib/lp.rb
index fc712b4..4372efd 100644
--- a/lib/lp.rb
+++ b/lib/lp.rb
@@ -88,7 +88,9 @@ module Launchpad
# @!visibility private
# @note NOT thread safe
def self.request_token
- site_options = { scheme: :header, site: 'https://launchpad.net' }
+ # Fun story, during auth for some reason launchpad needs the flags in the
+ # body while at usage it only works with flags in the header...
+ site_options = { scheme: :body, site: 'https://launchpad.net' }
options = consumer_options.merge(site_options)
consumer = OAuth::Consumer.new('kubuntu-ci', '', options)
request_token = consumer.get_request_token(oauth_callback: '')
@@ -104,8 +106,6 @@ module Launchpad
# @note NOT thread safe
# @return [OAuth::AccessToken]
def self.authenticate
- # Fun story, during auth for some reason launchpad needs the flags in the
- # body while at usage it only works with flags in the header...
token_hash = token_from_file(conf)
unless token_hash
token_hash = request_token
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list