Your message dated Sat, 05 Mar 2016 17:19:30 +0000
with message-id <[email protected]>
and subject line Bug#782884: fixed in ruby-sqlite3 1.3.11-2
has caused the Debian Bug report #782884,
regarding ruby-sqlite3: please make the package build reproducibly
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
782884: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782884
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-sqlite3
Version: 1.3.9-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that ruby-sqlite3 could not be built reproducibly.
The attached patch changes the FAQ generator to use slugs instead of
object ids. Once applied, ruby-sqlite3 can be built reproducibly in our
current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
--
Lunar .''`.
[email protected] : :Ⓐ : # apt-get install anarchism
`. `'`
`-
From 7289d73c3c7a88f09822696d7f4fe4e05268f531 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <[email protected]>
Date: Sun, 19 Apr 2015 13:59:42 +0200
Subject: [PATCH] Use slugs instead of object ids for internal links in FAQ
This makes the package build reproducibly.
---
debian/changelog | 8 ++++++++
debian/patches/series | 1 +
debian/patches/use-slugs-in-faq.diff | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+)
create mode 100644 debian/patches/use-slugs-in-faq.diff
diff --git a/debian/changelog b/debian/changelog
index e35c5cb..8f01248 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ruby-sqlite3 (1.3.9-2.0~reproducible1) UNRELEASED; urgency=low
+
+ * debian/patches/use-slugs-in-faq.diff: use slugs instead of
+ object ids for internal links in FAQ. This makes the package
+ build reproducibly.
+
+ -- Jérémy Bobbio <[email protected]> Sun, 19 Apr 2015 11:50:10 +0000
+
ruby-sqlite3 (1.3.9-2) unstable; urgency=medium
* Team upload.
diff --git a/debian/patches/series b/debian/patches/series
index 3a38c2e..c6f46f4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
handle-big-endian.diff
+use-slugs-in-faq.diff
diff --git a/debian/patches/use-slugs-in-faq.diff b/debian/patches/use-slugs-in-faq.diff
new file mode 100644
index 0000000..dd65e36
--- /dev/null
+++ b/debian/patches/use-slugs-in-faq.diff
@@ -0,0 +1,36 @@
+Description: Use slugs in FAQ instead of object_id
+ In order to make the FAQ build reproducibly we use “slugs” for
+ internal links instead of object ids.
+Author: Jérémy Bobbio <[email protected]>
+
+--- ruby-sqlite3-1.3.9.orig/faq/faq.rb
++++ ruby-sqlite3-1.3.9/faq/faq.rb
+@@ -1,6 +1,10 @@
+ require 'yaml'
+ require 'redcloth'
+
++def slugify( str )
++ str.downcase.strip.gsub(' ', '-').gsub(/[^\w-]/, '')
++end
++
+ def process_faq_list( faqs )
+ puts "<ul>"
+ faqs.each do |faq|
+@@ -20,7 +24,7 @@ def process_faq_list_item( faq )
+ puts question_text
+ process_faq_list answer
+ else
+- print "<a href='##{question.object_id}'>#{question_text}</a>"
++ print "<a href='##{slugify(question)}'>#{question_text}</a>"
+ end
+
+ puts "</li>"
+@@ -43,7 +47,7 @@ def process_faq_description( faq, path )
+ title = RedCloth.new( path ).to_html.gsub( %r{</?p>}, "" )
+ answer = RedCloth.new( answer || "" )
+
+- puts "<a name='#{question.object_id}'></a>"
++ puts "<a name='#{slugify(question)}'></a>"
+ puts "<div class='faq-title'>#{title}</div>"
+ puts "<div class='faq-answer'>#{add_api_links(answer.to_html)}</div>"
+ end
--
1.9.1
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: ruby-sqlite3
Source-Version: 1.3.11-2
We believe that the bug you reported is fixed in the latest version of
ruby-sqlite3, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Cédric Boutillier <[email protected]> (supplier of updated ruby-sqlite3 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 05 Mar 2016 16:16:00 +0100
Source: ruby-sqlite3
Binary: ruby-sqlite3
Architecture: source
Version: 1.3.11-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers
<[email protected]>
Changed-By: Cédric Boutillier <[email protected]>
Description:
ruby-sqlite3 - SQLite3 interface for Ruby
Closes: 782884
Changes:
ruby-sqlite3 (1.3.11-2) unstable; urgency=medium
.
* Team upload.
* Use slugs instead of object ids to generate the FAQ in order to make
package build reproducible. Thanks Lunar (Closes: #782884)
* Use https:// in Vcs-* fields
* Bump Standards-Version to 3.9.7 (no changes needed)
* Run wrap-and-sort on packaging files
Checksums-Sha1:
faef2e32ff392f92d115e33a3deb5bdd9fc28559 1795 ruby-sqlite3_1.3.11-2.dsc
850cc3c4373dc9b323f36c6cbc6886f28e6d81b6 5252
ruby-sqlite3_1.3.11-2.debian.tar.xz
Checksums-Sha256:
e93834336dfd937adaf81a42f53772aa6b535e54fd183846facf55b41db953e7 1795
ruby-sqlite3_1.3.11-2.dsc
d5d84344eeedcfd49814c075dbd7af884e0c4be2423edd904e47b75871a3c393 5252
ruby-sqlite3_1.3.11-2.debian.tar.xz
Files:
1ff57b44631e36ee521e196ef4b43ed3 1795 ruby optional ruby-sqlite3_1.3.11-2.dsc
4e0c2c7123a0ce129611685f9641a65f 5252 ruby optional
ruby-sqlite3_1.3.11-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJW2vmkAAoJEImvgrc5zSF6hxgH+wfcvQm0kAkmEdJdfQXZv0cS
bBFaKY+bLhLsjULFktiSJzFONcU9Mm0HRexSVKHLDpntJGHEOnFrqHIg19Y/+ELP
6Do7+1mLddvUZCfzGFQJ3EgFZkPaYrfLaye4KFADDQhckoke6QWfpGl61l2IBApm
46oqq2fLMa8v6o40CHHRgiQUpzYsPGASO9lGmWBjGf+rs4FvpgT/JHeHaNW3FM3k
8jPv87gJ3hSpdf00wk03rDnyqEwIxFGO5/X45wVNnbXZm4Qk/zn7r/qBBCgLSV7P
xtTIWqevrNTzHqCF5mKmIjZTkTXfEKTRGtPcLQR6E6hr2yZqzWq2zW31E/ulIyg=
=GN5w
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers