Merge ~lucaskanashiro/+git/ruby-webmock:fix-autopkgtest-in-ubuntu into ~lucaskanashiro/+git/ruby-webmock:master

Proposed by Lucas Kanashiro
Status: Approved
Approved by: Lucas Kanashiro
Approved revision: 2b7041dc99e64e7e2eb717efd02ab4512e9a2dcf
Proposed branch: ~lucaskanashiro/+git/ruby-webmock:fix-autopkgtest-in-ubuntu
Merge into: ~lucaskanashiro/+git/ruby-webmock:master
Diff against target: 46 lines (+15/-1)
3 files modified
debian/changelog (+6/-0)
debian/control (+2/-1)
debian/ruby-tests.rake (+7/-0)
Reviewer Review Type Date Requested Status
Andreas Hasenack (community) Approve
Review via email: mp+386622@code.launchpad.net

Description of the change

Fixed LP #1885760. This is a Ubuntu specific change so no need to forward it. The proposed change fixes autopkgtest of ruby-webmock as you can see here:

https://bileto.ubuntu.com/excuses/4123/groovy.html

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

+1

You guarded the change well, debian can probably take it

review: Approve
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks Andreas! Uploaded:

$ dput ubuntu ruby-webmock_3.8.3-1ubuntu1_source.changes
Checking signature on .changes
gpg: /home/kanashiro/packaging/ubuntu/ruby-webmock/ruby-webmock_3.8.3-1ubuntu1_source.changes: Valid signature from F823A2729883C97C
Checking signature on .dsc
gpg: /home/kanashiro/packaging/ubuntu/ruby-webmock/ruby-webmock_3.8.3-1ubuntu1.dsc: Valid signature from F823A2729883C97C
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading ruby-webmock_3.8.3-1ubuntu1.dsc: done.
  Uploading ruby-webmock_3.8.3-1ubuntu1.debian.tar.xz: done.
  Uploading ruby-webmock_3.8.3-1ubuntu1_source.changes: done.
Successfully uploaded packages.

And you are right, I'll commit this change on salsa.

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Unmerged commits

2b7041d... by Lucas Kanashiro

Update maintainer

935dc9f... by Lucas Kanashiro

Update changelog

6aafdfe... by Lucas Kanashiro

Set no_proxy correctly when running autopkgtest (LP: #1885760)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 1b5f408..5e08cc3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
1ruby-webmock (3.8.3-1ubuntu1) groovy; urgency=medium
2
3 * Set no_proxy correctly when running autopkgtest (LP: #1885760)
4
5 -- Lucas Kanashiro <kanashiro@ubuntu.com> Tue, 30 Jun 2020 15:13:27 -0300
6
1ruby-webmock (3.8.3-1) unstable; urgency=medium7ruby-webmock (3.8.3-1) unstable; urgency=medium
28
3 * Team upload9 * Team upload
diff --git a/debian/control b/debian/control
index 1721aa0..72563ee 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: ruby-webmock1Source: ruby-webmock
2Section: ruby2Section: ruby
3Priority: optional3Priority: optional
4Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
5Uploaders: Pirate Praveen <praveen@debian.org>6Uploaders: Pirate Praveen <praveen@debian.org>
6Build-Depends: debhelper-compat (= 12),7Build-Depends: debhelper-compat (= 12),
7 gem2deb (>= 1),8 gem2deb (>= 1),
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 34a594b..77470d6 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -3,6 +3,13 @@ require "rspec"
33
4ENV["NO_CONNECTION"]="true"4ENV["NO_CONNECTION"]="true"
55
6# Some tests rely on http://0.0.0.0 and they fail in Ubuntu autopkgtest env.
7if ENV["AUTOPKGTEST_TMP"]
8 if ENV["no_proxy"]
9 ENV["no_proxy"] += ",0.0.0.0"
10 end
11end
12
6RSpec::Core::RakeTask.new(:spec) do |t|13RSpec::Core::RakeTask.new(:spec) do |t|
7 t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]14 t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
8 t.pattern = FileList["spec/**/*_spec.rb"].exclude("spec/acceptance/patron/*").exclude('spec/quality_spec.rb').exclude('spec/acceptance/async_http_client/*').exclude('spec/acceptance/excon/excon_spec.rb').exclude('spec/acceptance/http_rb/http_rb_spec.rb')15 t.pattern = FileList["spec/**/*_spec.rb"].exclude("spec/acceptance/patron/*").exclude('spec/quality_spec.rb').exclude('spec/acceptance/async_http_client/*').exclude('spec/acceptance/excon/excon_spec.rb').exclude('spec/acceptance/http_rb/http_rb_spec.rb')

Subscribers

People subscribed via source and target branches

to all changes: