summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2018-03-31 18:51:27 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2018-03-31 19:01:35 +0000
commite6e2efcb36cc4d5ea7070312e42db89a75820bae (patch)
tree42b5373076d71a7e07d46ab702c2d2db88db7d5f
parentReflow changelog (diff)
downloadnetdata-e6e2efcb36cc4d5ea7070312e42db89a75820bae.tar.xz
netdata-e6e2efcb36cc4d5ea7070312e42db89a75820bae.zip
Add lintian overrides
-rw-r--r--debian/netdata.lintian-overrides3
-rw-r--r--debian/source/lintian-overrides8
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/netdata.lintian-overrides b/debian/netdata.lintian-overrides
index 23c0880b..265b5ff8 100644
--- a/debian/netdata.lintian-overrides
+++ b/debian/netdata.lintian-overrides
@@ -1,3 +1,6 @@
# See Debian policy 10.9. apps.plugin has extra capabilities, so don't let
# normal users run it.
netdata: non-standard-executable-perm usr/lib/*/netdata/plugins.d/apps.plugin 0754 != 0755
+# Debian ships jQuery 3 which is not supported
+# https://github.com/firehol/netdata/issues/42#issuecomment-253560208
+netdata-data: embedded-javascript-library usr/share/netdata/web/lib/jquery-2.2.4.min.js please use libjs-jquery
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
index 67db5459..df595fc7 100644
--- a/debian/source/lintian-overrides
+++ b/debian/source/lintian-overrides
@@ -11,5 +11,11 @@ netdata source: source-is-missing web/lib/gauge-1.3.2.min.js
# Font in JS lines
netdata source: source-is-missing debian/missing-sources/fontawesome-all-5.0.1.js *
-# Not a minified JS file
+# This is not a minified JS file and might contain long lines
+netdata source: insane-line-length-in-source-file web/dashboard_info.js line length is 823 characters (>512)
+netdata source: source-contains-prebuilt-javascript-object web/dashboard_info.js line length is 815 characters (>512)
netdata source: source-is-missing web/dashboard_info.js *
+netdata source: source-contains-prebuilt-javascript-object debian/missing-sources/bootstrap-slider-10.0.0.js line length is 269 characters (>256)
+netdata source: insane-line-length-in-source-file debian/missing-sources/dygraph-combined-dd74404.js line length is 847 characters (>512)
+netdata source: source-contains-prebuilt-javascript-object debian/missing-sources/dygraph-combined-dd74404.js line length is 847 characters (>512)
+netdata source: insane-line-length-in-source-file debian/missing-sources/fontawesome-all-5.0.1.js line length is 1203 characters (>512)