[DRE-maint] Bug#884936: nanoc: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Dec 21 16:14:23 UTC 2017


Source: nanoc
Version: 4.8.10-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that nanoc could not be built reproducibly.

This is because it iterates over the filesystem to find documentation
sources.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/doc.rake	2017-12-21 16:05:53.895714689 +0000
--- b/debian/doc.rake	2017-12-21 16:13:14.565381023 +0000
@@ -1,7 +1,7 @@
 require 'yard'
 
 YARD::Rake::YardocTask.new(:doc) do |yard|
-  yard.files   = Dir['lib/**/*.rb']
+  yard.files   = Dir['lib/**/*.rb'].sort
   yard.options = [
     '--markup',          'markdown',
     '--markup-provider', 'kramdown',


More information about the Pkg-ruby-extras-maintainers mailing list