Your message dated Wed, 08 Apr 2015 15:52:27 +0000
with message-id <[email protected]>
and subject line Bug#776648: fixed in yard 0.8.7.4-2
has caused the Debian Bug report #776648,
regarding yard: please make doc builds reproducible
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.)


-- 
776648: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776648
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: yard
Version: 0.8.7.4-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: toolchain
X-Debbugs-Cc: [email protected]

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that yard is not generating reproducible output.

The attached patch adds the ability to disable the timestamp.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/lib/yard/cli/yardoc.rb b/lib/yard/cli/yardoc.rb
index 4e4abb5..9567d54 100644
--- a/lib/yard/cli/yardoc.rb
+++ b/lib/yard/cli/yardoc.rb
@@ -26,6 +26,9 @@ module YARD
       #   if the template supports it.
       default_attr :onefile, false
 
+      # @return [Boolean] whether we should add a timestamp to the output
+      default_attr :timestamp, true
+
       # @return [CodeObjects::ExtraFileObject] the README file object rendered
       #   along with objects
       attr_accessor :readme
@@ -553,6 +556,10 @@ module YARD
           options.onefile = true
         end
 
+        opts.on('--no-timestamp', 'Do not output a timestamp') do
+          options.timestamp = false
+        end
+
         opts.on('--list', 'List objects to standard out (implies -n)') do 
|format|
           self.generate = false
           self.list = true
diff --git a/templates/default/layout/html/footer.erb 
b/templates/default/layout/html/footer.erb
index e57a0f2..05a38ed 100644
--- a/templates/default/layout/html/footer.erb
+++ b/templates/default/layout/html/footer.erb
@@ -1,5 +1,5 @@
 <div id="footer">
-  Generated on <%= Time.now.strftime("%c") %> by
+  Generated<% if options.timestamp %> on <%= Time.now.strftime("%c") %><% end 
%> by
   <a href="http://yardoc.org"; title="Yay! A Ruby Documentation Tool" 
target="_parent">yard</a>
   <%= YARD::VERSION %> (ruby-<%= RUBY_VERSION %>).
 </div>

--- End Message ---
--- Begin Message ---
Source: yard
Source-Version: 0.8.7.4-2

We believe that the bug you reported is fixed in the latest version of
yard, 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.
Christian Hofstaedtler <[email protected]> (supplier of updated yard 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: SHA256

Format: 1.8
Date: Wed, 08 Apr 2015 17:31:55 +0200
Source: yard
Binary: yard yard-doc
Architecture: source all
Version: 0.8.7.4-2
Distribution: sid
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<[email protected]>
Changed-By: Christian Hofstaedtler <[email protected]>
Description:
 yard       - Ruby documentation tool
 yard-doc   - Ruby documentation tool - documentation
Closes: 776648
Changes:
 yard (0.8.7.4-2) unstable; urgency=medium
 .
   * Team upload.
   * Remove timestamps for reproducible builds (Closes: #776648)
Checksums-Sha1:
 641a0e486e3d94187409f2950d549efebfb09d21 2173 yard_0.8.7.4-2.dsc
 7e57564440fd701021ddb4481b9e8f81a0268ec2 78664 yard_0.8.7.4-2.debian.tar.xz
 1b59e7a5aaf2d61eeb4d7492bf0c4614637bbff7 225374 yard_0.8.7.4-2_all.deb
 0836dfe4368dc04cfae4cdc88a037fc4d9a1a75e 443506 yard-doc_0.8.7.4-2_all.deb
Checksums-Sha256:
 3d512acc7e179cc1e508a2da59fb13e4384064ae5429640319ce5aa130eace9d 2173 
yard_0.8.7.4-2.dsc
 e3f1f21d73b3ae44f9131f9a31872d7444bf183534adb5b544e3be7ab0891c2b 78664 
yard_0.8.7.4-2.debian.tar.xz
 4bacf1d3b4b9fec984a97f6a64da7b0c3dc6fc79a6b0c4f68947bd4a17237e2a 225374 
yard_0.8.7.4-2_all.deb
 dce17b7e881f2f8119772ea7f4821a2e918bff9f3f3972ae2a951df160ee0a62 443506 
yard-doc_0.8.7.4-2_all.deb
Files:
 57cb0e392c7ed086a3a4166a1bdecac9 2173 ruby optional yard_0.8.7.4-2.dsc
 383c9ac697e363bc6f091d2e41479b46 78664 ruby optional 
yard_0.8.7.4-2.debian.tar.xz
 b61f9f773b354bea9ed397cb9b0861f7 225374 ruby optional yard_0.8.7.4-2_all.deb
 d6181e7eacae7f36ced4f98ca1ccd9ed 443506 doc optional yard-doc_0.8.7.4-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVJUpqAAoJEFwT1tuTBS4Dx4sP/jZAzIPeNLnA740ksQbGGJcO
i1Cr8FGQ8UdBjdtP3B4uNc9HbkfkEEw1Q6/RVfD86T9+pSTIfLQxcQHNZCHFafjL
BCQ2TVVLmHDyJVx44ywLo5bqSbCgUYttKF5kpUSYr44oXIaSwd1TYUYvkoa4u5JG
mzFyhq1i0ORpjcTKiImnZxBDLjFJ7Z9oZUSGNQOzyXIOJ81dvR+cgEsnfCBC2ODL
NqsrXphQhv7vjlGoby6ej5PrGE67P/GCCCgCtL79uYZPfSv4dlLLaNma68Vwnke8
+ZwYeV0tGS02lByLmK1V4Pgt5hW8zlrnhVa6gje1mIWK1bVxTa7P+QxgzRmVvDW5
cAz1vBRHacXAzWjBh1QPnStgno127HIVcdoSkKPyaHnenYS2bVxXL9t9i2noMXR0
zpxFLkIFvFy6VKPlN/yozroYMoFYLr5Iy7T6Y8gXXzlxT3Yh8AEY0ma8nf8XLWI0
XYgTS5C0Z7C5yjuRc8Ff9USCSc4k0wv/MygzLgcGdn68Z/vjama1XvgFVmWfTEdR
7+/flllPUdaLW96VITEDLnyJiDgpAgghZdMwary6PKQ8ItL/nhZmlXIVdD821n5h
Y3KumrbEe8edzD0Id/TaE1dovZxxpnFg2micnPAnmVnH66VRjXC7lknf4qCUUjcT
3IVnq0lSu0vvfscMR9Rw
=mgHT
-----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

Reply via email to