[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854577: unblock: ruby-hamster/3.0.0-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock


Dear release team,

Please unblock package ruby-hamster

Version 3.0.0-1 in testing is affected by a serious bug #853032
because of a timing sensitive test.

Version 3.0.0-2 currently in unstable has this test disabled.
This new version has a patch to disable the test. The VCS-* url are
fixed, and wrap-and-sort was run on the control file.

See the source debdiff against the package in testing attached.

Best regards,

Cédric
unblock ruby-hamster/3.0.0-2

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru ruby-hamster-3.0.0/debian/changelog ruby-hamster-3.0.0/debian/changelog
--- ruby-hamster-3.0.0/debian/changelog	2016-02-26 15:32:31.000000000 +0100
+++ ruby-hamster-3.0.0/debian/changelog	2017-02-07 23:36:50.000000000 +0100
@@ -1,3 +1,11 @@
+ruby-hamster (3.0.0-2) unstable; urgency=medium
+
+  * Team upload
+  * Skip timing sensitive test (Closes: #853032)
+  * Fix Vcs-* URLs
+
+ -- Cédric Boutillier <boutil@debian.org>  Tue, 07 Feb 2017 23:36:50 +0100
+
 ruby-hamster (3.0.0-1) unstable; urgency=medium
 
   * update to upstream version 3.0.0.
diff -Nru ruby-hamster-3.0.0/debian/control ruby-hamster-3.0.0/debian/control
--- ruby-hamster-3.0.0/debian/control	2016-02-26 15:32:31.000000000 +0100
+++ ruby-hamster-3.0.0/debian/control	2017-02-07 23:36:50.000000000 +0100
@@ -5,13 +5,13 @@
 Uploaders: Hanno Zulla <kontakt@hanno.de>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
+               pry,
                rake,
                ruby-concurrent (>= 1.0.0),
-               ruby-rspec,
-               pry
+               ruby-rspec
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-hamster.git
-Vcs-Browser: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-hamster.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-hamster.git
 Homepage: https://github.com/hamstergem/hamster
 Testsuite: autopkgtest-pkg-ruby
 XS-Ruby-Versions: all
@@ -27,4 +27,3 @@
  Hamster collections are immutable. Whenever you modify a Hamster
  collection, the original is preserved and a modified copy is
  returned. This makes them inherently thread-safe and sharable.
-
diff -Nru ruby-hamster-3.0.0/debian/patches/0002-skip-timing-sensitive-test.patch ruby-hamster-3.0.0/debian/patches/0002-skip-timing-sensitive-test.patch
--- ruby-hamster-3.0.0/debian/patches/0002-skip-timing-sensitive-test.patch	1970-01-01 01:00:00.000000000 +0100
+++ ruby-hamster-3.0.0/debian/patches/0002-skip-timing-sensitive-test.patch	2017-02-07 23:36:50.000000000 +0100
@@ -0,0 +1,29 @@
+Subject: skip timing sensitive test
+Author: Cédric Boutillier <boutil@debian.org>
+Date: 2017-02-07
+Bug-Debian: https://bugs.debian.org/853032
+
+---
+ spec/lib/hamster/list/multithreading_spec.rb | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/spec/lib/hamster/list/multithreading_spec.rb b/spec/lib/hamster/list/multithreading_spec.rb
+index bb4359d..1b5e6f7 100644
+--- a/spec/lib/hamster/list/multithreading_spec.rb
++++ b/spec/lib/hamster/list/multithreading_spec.rb
+@@ -30,7 +30,7 @@ describe Hamster::List do
+     threads.each(&:join)
+   end
+ 
+-  it "doesn't give horrendously bad performance if thread realizing the list sleeps" do
++  xit "doesn't give horrendously bad performance if thread realizing the list sleeps" do
+     start = Time.now
+     list  = (1..100).to_list.map { |x| sleep(0.001); x * 2 }
+ 
+@@ -45,4 +45,4 @@ describe Hamster::List do
+     elapsed = Time.now - start
+     elapsed.should_not > 0.3
+   end
+-end
+\ No newline at end of file
++end
diff -Nru ruby-hamster-3.0.0/debian/patches/series ruby-hamster-3.0.0/debian/patches/series
--- ruby-hamster-3.0.0/debian/patches/series	2016-02-26 15:32:31.000000000 +0100
+++ ruby-hamster-3.0.0/debian/patches/series	2017-02-07 23:36:50.000000000 +0100
@@ -1 +1,2 @@
 01-remove-code-climate.patch
+0002-skip-timing-sensitive-test.patch

Attachment: signature.asc
Description: PGP signature


Reply to: