Bug 1257749 - Please provide sources for highlight.js
Please provide sources for highlight.js
Status: NEW
Product: Publican
Classification: Community
Component: publican (Show other bugs)
4.2
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Jeff Fearn
Ruediger Landmann
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-27 16:30 EDT by Raphaël Hertzog
Modified: 2016-05-26 09:24 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Raphaël Hertzog 2015-08-27 16:30:05 EDT
Same issue as reported in #1062109 except this time for highlight.js.

Publican ships datadir/Common_Content/common-db5/en-US/scripts/highlight.js/highlight.pack.js which is a minified javascript file. Those are not "source files" since they are the result of minifier against source files.

I'd like you to provide the non-minified files next to the minified files because:
* one of the Publican license is the the GPL, and the GPL requires you to offer the corresponding source code and the easiest way to achieve this is to ensure you have the source code in the release tarball
* the Debian Free Software Guidelines impose the same requirement of providing the source code whatever free software license is in use and it would avoid me some trouble if this requirement was met in the upstream release tarball

Thank you!
Comment 1 Jeff Fearn 2015-08-27 18:28:57 EDT
Hi Raphaël, does Debian have a system supplied library for this like js-highlight-styles & js-highlight in fedora? If so I might see if we can just use that.
Comment 2 Raphaël Hertzog 2015-08-27 18:43:57 EDT
Yes we have:

$ apt-file show libjs-highlight.js
[...]
libjs-highlight.js: /usr/share/javascript/highlight
libjs-highlight.js: /usr/share/javascript/highlight.js/highlight.js
libjs-highlight.js: /usr/share/javascript/highlight.js/highlight.min.js
libjs-highlight.js: /usr/share/javascript/highlight.js/styles/arta.css
[...]

Note You need to log in before you can comment on or make changes to this bug.