[med-svn] [snakemake] 03/03: Fix more privacy breaches
Andreas Tille
tille at debian.org
Tue Dec 12 09:05:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository snakemake.
commit 57dcb540ff58f5e8de9bae68fc625996676344e8
Author: Andreas Tille <tille at debian.org>
Date: Tue Dec 12 10:05:04 2017 +0100
Fix more privacy breaches
---
.../0003-Use-debian-s-mathjax-package.patch | 8 +++----
debian/patches/0011-fix-privacy-breach.patch | 26 +++++++++++-----------
debian/svg/get-svgs | 2 ++
debian/svg/snakemake_gt_3.5.2-brightgreen.svg | 1 +
4 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/debian/patches/0003-Use-debian-s-mathjax-package.patch b/debian/patches/0003-Use-debian-s-mathjax-package.patch
index f33223c..ad69aa8 100644
--- a/debian/patches/0003-Use-debian-s-mathjax-package.patch
+++ b/debian/patches/0003-Use-debian-s-mathjax-package.patch
@@ -10,7 +10,7 @@ Use debian's mathjax package
--- a/docs/conf.py
+++ b/docs/conf.py
-@@ -37,6 +37,9 @@
+@@ -37,6 +37,9 @@ extensions = [
'sphinxarg.ext'
]
@@ -26,14 +26,14 @@ Use debian's mathjax package
<html>
<head>
- <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
-+ <script type="text/javascript" src="file://usr/share/javascript/jquery/jquery.min.js"></script>
++ <script type="text/javascript" src="file:///usr/share/javascript/jquery/jquery.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/d3/3.4.6/d3.min.js"></script>
- <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/js/bootstrap.min.js"></script>
-+ <script type="text/javascript" src="file://usr/share/javascript/bootstrap/js/bootstrap.min.js"></script>
++ <script type="text/javascript" src="file:///usr/share/javascript/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="http://cpettitt.github.io/project/dagre-d3/v0.1.5/dagre-d3.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.5.4/bootstrap-select.min.js"></script>
- <link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/css/bootstrap.min.css"/>
-+ <link rel="stylesheet" type="text/css" href="file://usr/share/javascript/bootstrap/css/bootstrap.min.css"/>
++ <link rel="stylesheet" type="text/css" href="file:///usr/share/javascript/bootstrap/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.5.4/bootstrap-select.min.css"/>
<style>
body {
diff --git a/debian/patches/0011-fix-privacy-breach.patch b/debian/patches/0011-fix-privacy-breach.patch
index 3c6e072..adfe008 100644
--- a/debian/patches/0011-fix-privacy-breach.patch
+++ b/debian/patches/0011-fix-privacy-breach.patch
@@ -7,23 +7,12 @@ Description: Avoid privacy breach
@@ -1,7 +1,7 @@
<html>
<head>
- <script type="text/javascript" src="file://usr/share/javascript/jquery/jquery.min.js"></script>
+ <script type="text/javascript" src="file:///usr/share/javascript/jquery/jquery.min.js"></script>
- <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/d3/3.4.6/d3.min.js"></script>
+ <script type="text/javascript" src="file:///usr/share/javascript/d3/d3.min.js"></script>
- <script type="text/javascript" src="file://usr/share/javascript/bootstrap/js/bootstrap.min.js"></script>
+ <script type="text/javascript" src="file:///usr/share/javascript/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="http://cpettitt.github.io/project/dagre-d3/v0.1.5/dagre-d3.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.5.4/bootstrap-select.min.js"></script>
---- a/docs/project_info/citations.rst
-+++ b/docs/project_info/citations.rst
-@@ -45,7 +45,7 @@ The markdown syntax is
-
- .. sourcecode:: text
-
-- [![Snakemake](https://img.shields.io/badge/snakemake-≥3.5.2-brightgreen.svg?style=flat-square)](https://snakemake.bitbucket.io)
-+ [Snakemake](https://snakemake.bitbucket.io)
-
- Replace the ``3.5.2`` with the minimum required Snakemake version.
- You can also `change the style <http://shields.io/#styles>`_.
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -4,25 +4,22 @@
@@ -57,3 +46,14 @@ Description: Avoid privacy breach
:target: https://twitter.com/johanneskoester
The Snakemake workflow management system is a tool to create **reproducible and scalable** data analyses.
+--- a/docs/project_info/citations.rst
++++ b/docs/project_info/citations.rst
+@@ -38,7 +38,7 @@ Project Pages
+
+ If you publish a Snakemake workflow, consider to add this badge to your project page:
+
+-.. image:: https://img.shields.io/badge/snakemake-≥3.5.2-brightgreen.svg?style=flat-square
++.. image:: file:///usr/share/doc/snakemake/html/_svg/snakemake_gt_3.5.2-brightgreen.svg
+ :target: https://snakemake.bitbucket.io
+
+ The markdown syntax is
diff --git a/debian/svg/get-svgs b/debian/svg/get-svgs
index 7846ba7..683893f 100755
--- a/debian/svg/get-svgs
+++ b/debian/svg/get-svgs
@@ -10,3 +10,5 @@ wget -q https://img.shields.io/pypi/v/snakemake.svg
wget -q https://img.shields.io/badge/stack-overflow-orange.svg
wget -q https://img.shields.io/twitter/follow/johanneskoester.svg?style=social\&label=Follow
mv johanneskoester.svg?style=social\&label=Follow johanneskoester_follow.svg
+wget -q wget https://img.shields.io/badge/snakemake-≥3.5.2-brightgreen.svg?style=flat-square
+mv snakemake-≥3.5.2-brightgreen.svg?style=flat-square snakemake_gt_3.5.2-brightgreen.svg
diff --git a/debian/svg/snakemake_gt_3.5.2-brightgreen.svg b/debian/svg/snakemake_gt_3.5.2-brightgreen.svg
new file mode 100644
index 0000000..c1488a1
--- /dev/null
+++ b/debian/svg/snakemake_gt_3.5.2-brightgreen.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="120" height="20"><g shape-rendering="crispEdges"><path fill="#555" d="M0 0h73v20H0z"/><path fill="#4c1" d="M73 0h47v20H73z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="375" y="140" transform="scale(.1)" textLength="630">snakemake</text><text x="955" y="140" transform="scale(.1)" textLength="370">≥3.5.2</text></g> </svg>
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/snakemake.git
More information about the debian-med-commit
mailing list