[med-svn] [python-schema-salad] 06/07: Use locally installed bootstrap.min.css instead of risking privacy breach

Andreas Tille tille at debian.org
Wed Dec 6 15:57:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository python-schema-salad.

commit 92b86b406d8e903857a1868d7b3a3557c8497e06
Author: Andreas Tille <tille at debian.org>
Date:   Wed Dec 6 16:47:10 2017 +0100

    Use locally installed bootstrap.min.css instead of risking privacy breach
---
 debian/changelog                          |  1 +
 debian/control                            |  3 ++-
 debian/patches/avoid_privacy_breach.patch | 16 ++++++++++++++++
 debian/patches/series                     |  1 +
 4 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f8a7938..b574946 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ python-schema-salad (2.6.20171201034858-1) UNRELEASED; urgency=medium
   * New upstream version
   * Standards-Version: 4.1.1
   * Recommends: cwltool (to enable running all test scripts)
+  * Use locally installed bootstrap.min.css instead of risking privacy breach
 
  -- Andreas Tille <tille at debian.org>  Wed, 06 Dec 2017 16:38:46 +0100
 
diff --git a/debian/control b/debian/control
index 7693cec..f6335dc 100644
--- a/debian/control
+++ b/debian/control
@@ -27,7 +27,8 @@ Homepage: http://www.commonwl.org
 Package: python-schema-salad
 Architecture: all
 Depends: ${python:Depends},
-         ${misc:Depends}
+         ${misc:Depends},
+         libjs-bootstrap
 Recommends: cwltool
 Description: Schema Annotations for Linked Avro Data (SALAD)
  Salad is a schema language for describing JSON or YAML structured linked data
diff --git a/debian/patches/avoid_privacy_breach.patch b/debian/patches/avoid_privacy_breach.patch
new file mode 100644
index 0000000..74a5bf0
--- /dev/null
+++ b/debian/patches/avoid_privacy_breach.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Wed, 06 Dec 2017 16:38:46 +0100
+Description: Use locally installed bootstrap.min.css instead of risking
+ privacy breach
+
+--- a/schema_salad/metaschema/metaschema.html
++++ b/schema_salad/metaschema/metaschema.html
+@@ -4,7 +4,7 @@
+     <head>
+     <meta charset="UTF-8">
+     <meta name="viewport" content="width=device-width, initial-scale=1.0">
+-    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
++    <link rel="stylesheet" href="file:///usr/share/javascript/bootstrap/css/bootstrap.min.css">
+     <title>Semantic Annotations for Linked Avro Data (SALAD)</title>
+     <style>
+     :target {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2ce867c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+avoid_privacy_breach.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-schema-salad.git



More information about the debian-med-commit mailing list