You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2018/06/06 19:12:36 UTC

[sling-whiteboard] branch master updated: Fixing some data and whitespace issues

This is an automated email from the ASF dual-hosted git repository.

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 9dbdee1  Fixing some data and whitespace issues
9dbdee1 is described below

commit 9dbdee1bdd7882a07d622caa716e6bf3182ce516
Author: Dan Klco <dk...@apache.org>
AuthorDate: Wed Jun 6 15:12:30 2018 -0400

    Fixing some data and whitespace issues
---
 gh-badge-script/Sling-Repos.csv              |  2 +-
 gh-badge-script/generate-aggregator-table.sh | 24 ++++++++++++------------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/gh-badge-script/Sling-Repos.csv b/gh-badge-script/Sling-Repos.csv
index bd50167..dad6572 100644
--- a/gh-badge-script/Sling-Repos.csv
+++ b/gh-badge-script/Sling-Repos.csv
@@ -111,7 +111,7 @@ org-apache-sling-hc-junit-bridge,./bundles/extensions/healthcheck/junit-bridge/,
 org-apache-sling-hc-samples,./bundles/extensions/healthcheck/samples/,200,N,N,N,N,healthcheck,BASH
 org-apache-sling-hc-support,./bundles/extensions/healthcheck/support/,200,N,N,N,N,healthcheck,BASH
 org-apache-sling-hc-webconsole,./bundles/extensions/healthcheck/webconsole/,200,N,N,N,N,healthcheck,BASH
-org-apache-sling-i18n,./bundles/extensions/i18n/,200,N,N,N,N,core,BASH
+org-apache-sling-i18n,./bundles/extensions/i18n/,200,N,N,N,N,,BASH
 org-apache-sling-ide-api,./tooling/ide/api/,404,N,N,Y,Y,ide,BASH
 org-apache-sling-ide-api-test,./tooling/ide/api-test/,404,N,N,Y,Y,ide,BASH
 org-apache-sling-ide-artifacts,./tooling/ide/artifacts/,404,N,N,Y,Y,ide,BASH
diff --git a/gh-badge-script/generate-aggregator-table.sh b/gh-badge-script/generate-aggregator-table.sh
index 676f001..f5b093b 100755
--- a/gh-badge-script/generate-aggregator-table.sh
+++ b/gh-badge-script/generate-aggregator-table.sh
@@ -14,7 +14,7 @@ function write_data () {
             echo -n -e $LINE >> $SLING_DIR/aggregator/docs/features/$FEATURE.md
         else
             echo "Creating feature file"
-            echo -n -e "[Apache Sling](http://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > [Modules](https://github.com/apache/sling-aggregator/docs/modules.md) > $FEATURE\n# $FEATURE Modules\n\n| Module | Description | Info |\n|---	|---	|---    |" > $SLING_DIR/aggregator/docs/features/$FEATURE.md
+            echo -n -e "[Apache Sling](http://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > [Modules](https://github.com/apache/sling-aggregator/docs/modules.md) > $FEATURE\n# $FEATURE Modules\n\n| Module | Description | Module&nbsp;Status |\n|---	|---	|---    |" > $SLING_DIR/aggregator/docs/features/$FEATURE.md
             echo -n -e $LINE >> $SLING_DIR/aggregator/docs/features/$FEATURE.md
         fi
     fi
@@ -45,13 +45,13 @@ function add_repo () {
         DESCRIPTION="$(xpath pom.xml '/project/description/text()' | xargs)" > /dev/null 2>&1
         
         echo "Adding standard items for $REPO_NAME"
-        LINE="\n| [$NAME](https://github.com/apache/sling-$REPO_NAME) ([$ARTIFACT_ID](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22$ARTIFACT_ID%22)) | $DESCRIPTION | "
+        LINE="\n| [$NAME](https://github.com/apache/sling-$REPO_NAME) <br/> <small>([$ARTIFACT_ID](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22$ARTIFACT_ID%22))</small> | $DESCRIPTION | "
         write_data
         
         BUILD_RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" https://builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8)
         if [ "$BUILD_RESPONSE" != "404" ]; then
             echo "Adding build badge for $REPO_NAME"
-            LINE=" [![Build Status](https://builds.apache.org/buildStatus/icon?job=sling-$REPO_NAME-1.8)](https://builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8)"
+            LINE="&#32;[![Build Status](https://builds.apache.org/buildStatus/icon?job=sling-$REPO_NAME-1.8)](https://builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8)"
             write_data
         else
             echo "No build found for $REPO_NAME"
@@ -62,7 +62,7 @@ function add_repo () {
             echo "No tests found for $REPO_NAME"
         else
             echo "Adding test badge for $REPO_NAME"
-            LINE=" [![Test Status](https://img.shields.io/jenkins/t/https/builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8.svg)](https://builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8/test_results_analyzer/)"
+            LINE="&#32;[![Test Status](https://img.shields.io/jenkins/t/https/builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8.svg)](https://builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8/test_results_analyzer/)"
             write_data
         fi
         
@@ -71,7 +71,7 @@ function add_repo () {
             echo "No coverage reports found for $REPO_NAME"
         else
             echo "Adding coverage badge for $REPO_NAME"
-            LINE=" [![Coverage Status](https://img.shields.io/jenkins/c/https/builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8.svg)](https://builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8/)"
+            LINE="&#32;[![Coverage Status](https://img.shields.io/jenkins/c/https/builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8.svg)](https://builds.apache.org/view/S-Z/view/Sling/job/sling-$REPO_NAME-1.8/)"
             write_data
         fi
         
@@ -79,7 +79,7 @@ function add_repo () {
             JAVADOC_BADGE_RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" https://www.javadoc.io/badge/org.apache.sling/$ARTIFACT_ID.svg)
             if [ $JAVADOC_BADGE_RESPONSE != "404" ]; then
                 echo "Adding Javadoc badge for $ARTIFACT_ID"
-                LINE=" [![JavaDocs](https://www.javadoc.io/badge/org.apache.sling/$ARTIFACT_ID.svg)](https://www.javadoc.io/doc/org.apache.sling/$ARTIFACT_ID)"
+                LINE="&#32;[![JavaDocs](https://www.javadoc.io/badge/org.apache.sling/$ARTIFACT_ID.svg)](https://www.javadoc.io/doc/org.apache.sling/$ARTIFACT_ID)"
                 write_data
             else
                 echo "No published javadocs found for $ARTIFACT_ID"
@@ -90,7 +90,7 @@ function add_repo () {
                 echo "No Maven release found for $ARTIFACT_ID"
             else
                 echo "Adding Maven release badge for $ARTIFACT_ID"
-                LINE=" [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.sling/$ARTIFACT_ID/badge.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22$ARTIFACT_ID%22)"
+                LINE="&#32;[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.sling/$ARTIFACT_ID/badge.svg)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22$ARTIFACT_ID%22)"
                 write_data
             fi
         fi
@@ -99,17 +99,17 @@ function add_repo () {
         do
             if [ "$ID" == "$REPO_NAME" ]; then
                 if [ "$CONTRIB" == "Y" ]; then
-                    LINE=" [![Contrib](http://sling.apache.org/badges/contrib.svg)](https://sling.apache.org/downloads.cgi)"
+                    LINE="&#32;[![Contrib](http://sling.apache.org/badges/contrib.svg)](https://sling.apache.org/downloads.cgi)"
                     write_data
                 fi
                 DEPRECATED=$(echo $DEPRECATED | xargs)
                 if [ "$DEPRECATED" == "Y" ]; then
-                    LINE=" [![Deprecated](http://sling.apache.org/badges/deprecated.svg)](https://sling.apache.org/downloads.cgi)"
+                    LINE="&#32;[![Deprecated](http://sling.apache.org/badges/deprecated.svg)](https://sling.apache.org/downloads.cgi)"
                     write_data
                 fi
                 FEATURE=$(echo $FEATURE | xargs)
                 if [ ! -z "$FEATURE" ]; then
-                    LINE=" [![${FEATURE}](https://sling.apache.org/badges/feature-$FEATURE.svg)](https://github.com/apache/sling-aggregator/docs/features/$FEATURE.md)"
+                    LINE="&#32;[![${FEATURE}](https://sling.apache.org/badges/feature-$FEATURE.svg)](https://github.com/apache/sling-aggregator/docs/features/$FEATURE.md)"
                     write_data
                 fi
             fi
@@ -135,10 +135,10 @@ fi
 rm -rf $SLING_DIR/aggregator/docs/features/* > /dev/null
 mkdir $SLING_DIR/aggregator/docs
 mkdir $SLING_DIR/aggregator/docs/features
-echo -e -n "[Apache Sling](http://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > Modules\n# Modules\n\n| Module | Description | Info |\n|---	|---	|---    |" > $SLING_DIR/aggregator/docs/modules.md
+echo -e -n "[Apache Sling](http://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > Modules\n# Modules\n\n| Module | Description | Module&nbsp;Status |\n|---	|---	|---    |" > $SLING_DIR/aggregator/docs/modules.md
 
 echo "Handling all repos in $SLING_DIR"
 for REPO in $SLING_DIR/*/ ; do
     add_repo
 done
-printf "\n\nTable Generation Complete!\n"
\ No newline at end of file
+echo "Table Generation Complete!"
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
dklco@apache.org.