Bug#760952: ruby2.1: rdoc does not handle jquery.js anymore

2014-09-09 Thread Marc Dequènes (Duck)

Package: ruby2.1
Version: 2.1.2-4
Severity: important
Control: block 760909 with -1


Coin,

Between may, and probably since Ruby 2.1 took over 2.0, something  
changes in the rdoc behavior. In the past 'rdoc/js/jquery.js' was  
created, and i removed and replaced it with a symlink to avoid  
shipping copies (with a dependency on libjs-jquery in the -doc  
package). Someone rebuilded ruby-builder recently and discovered a  
FTBFS (see #760909).


As this change probably makes several packages FTBFS, and as the  
proper symlink to the JS file is not created either, this feels like a  
regression to me. There's no reason a generated rdoc directory is not  
usable directly by pointing a browser into it (packaged or not), but  
it currently fails because it cannot find the 'jquery.js' file. So i'd  
like your opinion on this before acting on my affected packages.


Regards.

--
Marc Dequènes (Duck)



pgp4eYnd6aovJ.pgp
Description: PGP Digital Signature


Bug#760952: ruby2.1: rdoc does not handle jquery.js anymore

2014-09-09 Thread Marc Dequènes (Duck)


Quoting Antonio Terceiro terce...@debian.org:


What changed is that libjs-jquery was moved to Recommends: and
recommended packages are not installed by buildds.


I missed it, thanks.

I would have expected rdoc to fail because an expected file to copy is  
missing, not to silently skip it while still retaining all the JS  
calls inside the pages (i checked it).


I'm not willing you to revisit your decision which i find perfectly  
sound, but i think the rdoc behavior is buggy.


Regards.

--
Marc Dequènes (Duck)



pgpR7dvdMoWYz.pgp
Description: PGP Digital Signature