From a7683ad505585be4902f4d55931eaa89c47344aa Mon Sep 17 00:00:00 2001
From: Valerie R Young
Date: Tue, 26 Jul 2016 14:28:34 -0400
Subject: reproducible debian: move mustache template directory out of bin
Signed-off-by: Holger Levsen
---
bin/reproducible_common.py | 2 +-
bin/reproducible_common.sh | 2 +-
bin/templates/basic_page.mustache | 26 ----
bin/templates/default_page_footer.mustache | 19 ---
bin/templates/main_navigation.mustache | 162 -----------------------
bin/templates/package_page.mustache | 52 --------
bin/templates/package_suitearch_details.mustache | 39 ------
bin/templates/package_suitearch_section.mustache | 30 -----
bin/templates/pkg_symbol_legend.mustache | 13 --
bin/templates/pkgset_details.mustache | 20 ---
bin/templates/pkgset_navigation.mustache | 34 -----
bin/templates/project_links.mustache | 17 ---
bin/templates/status_icon_link.mustache | 16 ---
13 files changed, 2 insertions(+), 430 deletions(-)
delete mode 100644 bin/templates/basic_page.mustache
delete mode 100644 bin/templates/default_page_footer.mustache
delete mode 100644 bin/templates/main_navigation.mustache
delete mode 100644 bin/templates/package_page.mustache
delete mode 100644 bin/templates/package_suitearch_details.mustache
delete mode 100644 bin/templates/package_suitearch_section.mustache
delete mode 100644 bin/templates/pkg_symbol_legend.mustache
delete mode 100644 bin/templates/pkgset_details.mustache
delete mode 100644 bin/templates/pkgset_navigation.mustache
delete mode 100644 bin/templates/project_links.mustache
delete mode 100644 bin/templates/status_icon_link.mustache
(limited to 'bin')
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 92813e06..0a027b0b 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -48,7 +48,7 @@ defaultarch = 'amd64'
BIN_PATH = '/srv/jenkins/bin'
BASE = '/var/lib/jenkins/userContent/reproducible'
DEBIAN_BASE = '/var/lib/jenkins/userContent/reproducible/debian'
-TEMPLATE_PATH = BIN_PATH + '/templates'
+TEMPLATE_PATH = '/srv/jenkins/mustache-templates/reproducible'
PKGSET_DEF_PATH = '/srv/reproducible-results'
TEMP_PATH="/tmp/reproducible"
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 211b425e..04578320 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -43,7 +43,7 @@ REPRODUCIBLE_DOT_ORG_URL=https://reproducible-builds.org
JENKINS_URL=${JENKINS_URL:0:-1}
DBDSUITE="unstable"
BIN_PATH=/srv/jenkins/bin
-TEMPLATE_PATH=$BIN_PATH/templates
+TEMPLATE_PATH=/srv/jenkins/mustache-templates/reproducible
# Debian suites being tested
SUITES="testing unstable experimental"
diff --git a/bin/templates/basic_page.mustache b/bin/templates/basic_page.mustache
deleted file mode 100644
index f5fe0383..00000000
--- a/bin/templates/basic_page.mustache
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
- {{{meta_refresh}}}
-
- {{#include_pkgset_js}}
-
- {{/include_pkgset_js}}
- {{page_title}}
-
-
- {{#navigation_html}}
-
- {{{navigation_html}}}
-
- {{/navigation_html}}
- {{#navigation_html}}{{/navigation_html}}
- {{#main_header}}
-
{{main_header}}
- {{/main_header}}
- {{{main_html}}}
- {{#navigation_html}}
{{/navigation_html}}
-
-
diff --git a/bin/templates/default_page_footer.mustache b/bin/templates/default_page_footer.mustache
deleted file mode 100644
index 5e97493b..00000000
--- a/bin/templates/default_page_footer.mustache
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
diff --git a/bin/templates/main_navigation.mustache b/bin/templates/main_navigation.mustache
deleted file mode 100644
index d1e425ae..00000000
--- a/bin/templates/main_navigation.mustache
+++ /dev/null
@@ -1,162 +0,0 @@
-Debian Dashboard
-
-
-{{{project_links_html}}}
diff --git a/bin/templates/package_page.mustache b/bin/templates/package_page.mustache
deleted file mode 100644
index 3261e417..00000000
--- a/bin/templates/package_page.mustache
+++ /dev/null
@@ -1,52 +0,0 @@
-
- {{package}}
-
-
-{{{project_links_html}}}
-
-
diff --git a/bin/templates/package_suitearch_details.mustache b/bin/templates/package_suitearch_details.mustache
deleted file mode 100644
index ac74be56..00000000
--- a/bin/templates/package_suitearch_details.mustache
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
- {{{status_html}}}
- {{#build_date}}
- at {{build_date}}
- {{/build_date}}
-
- {{#dbd}}
-
-
-
- {{/dbd}}
- {{#has_buildloginfo}}
-
- {{#buildinfo_uri}}
-
- {{/buildinfo_uri}}
-
-
- {{/has_buildloginfo}}
-
diff --git a/bin/templates/package_suitearch_section.mustache b/bin/templates/package_suitearch_section.mustache
deleted file mode 100644
index d8ac5304..00000000
--- a/bin/templates/package_suitearch_section.mustache
+++ /dev/null
@@ -1,30 +0,0 @@
-
- {{#architectures}}
-
- {{arch}}
-
- {{#suites}}
-
- {{^untested}}
-
-
-
- {{/untested}}
- {{#untested}}
-
- {{/untested}}
- {{^current_suitearch}}
-
- {{version}}
- in {{suite}}
- {{/current_suitearch}}
- {{#current_suitearch}}
- {{version}} in {{suite}}
- {{/current_suitearch}}
- {{{suitearch_details_html}}}
-
- {{/suites}}
-
-
- {{/architectures}}
-
diff --git a/bin/templates/pkg_symbol_legend.mustache b/bin/templates/pkg_symbol_legend.mustache
deleted file mode 100644
index 12fe485a..00000000
--- a/bin/templates/pkg_symbol_legend.mustache
+++ /dev/null
@@ -1,13 +0,0 @@
-
-A package name displayed with a bold
-font is an indication that this package has a note. Visited
-packages are linked in green, those which have not been visited are
-linked in blue.
-
-A #
sign after the name of a package
-indicates that a bug is filed against it. Likewise, a
-+
sign indicates there is a
-patch available, a P
means a
-pending bug while #
indicates a
-closed bug. In cases of several bugs, the symbol is repeated.
-
diff --git a/bin/templates/pkgset_details.mustache b/bin/templates/pkgset_details.mustache
deleted file mode 100644
index d29576a2..00000000
--- a/bin/templates/pkgset_details.mustache
+++ /dev/null
@@ -1,20 +0,0 @@
-
-{{#png}}
-
-
- "
- {{/png}}
-
- The package set {{pkgset_name}} in
- {{suite}}/{{arch}} consists of:
-
- {{#status_details}}
- {{{icon_html}}} {{status_count}} ({{status_percent}}%) packages
- {{description}}:
- {{{package_list_html}}}
-
- {{/status_details}}
- {{{pkg_symbol_legend_html}}}
-
diff --git a/bin/templates/pkgset_navigation.mustache b/bin/templates/pkgset_navigation.mustache
deleted file mode 100644
index 98bfd5ce..00000000
--- a/bin/templates/pkgset_navigation.mustache
+++ /dev/null
@@ -1,34 +0,0 @@
-
-{{#package_set_sections}}
-
- {{section}} package sets:
-
-
-{{/package_set_sections}}
-{{#pkgset_page}}
-
-{{/pkgset_page}}
diff --git a/bin/templates/project_links.mustache b/bin/templates/project_links.mustache
deleted file mode 100644
index b457982e..00000000
--- a/bin/templates/project_links.mustache
+++ /dev/null
@@ -1,17 +0,0 @@
-
diff --git a/bin/templates/status_icon_link.mustache b/bin/templates/status_icon_link.mustache
deleted file mode 100644
index 66bebfcc..00000000
--- a/bin/templates/status_icon_link.mustache
+++ /dev/null
@@ -1,16 +0,0 @@
-{{^untested}}
-{{#icon}}
-
-
-
-{{/icon}}
-{{#spokenstatus}}
-
- {{spokenstatus}}
-
-{{/spokenstatus}}
-{{/untested}}
-
-{{#untested}}
-{{#icon}} {{/icon}} {{spokenstatus}}
-{{/untested}}
--
cgit v1.2.3-70-g09d2