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/08 15:19:09 UTC

[sling-whiteboard] branch master updated: Making a couple repos no longer deprecated and fixing the paths to the pages in the github repo

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 362d28a  Making a couple repos no longer deprecated and fixing the paths to the pages in the github repo
362d28a is described below

commit 362d28a868a5343f2d34226bff7cccf6e8b0f9a8
Author: Dan Klco <dk...@apache.org>
AuthorDate: Fri Jun 8 11:18:17 2018 -0400

    Making a couple repos no longer deprecated and fixing the paths to the pages in the github repo
---
 gh-badge-script/Sling-Repos.csv              | 4 ++--
 gh-badge-script/add-badges.sh                | 4 ++--
 gh-badge-script/generate-aggregator-table.sh | 8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gh-badge-script/Sling-Repos.csv b/gh-badge-script/Sling-Repos.csv
index a8d5ae7..3c1557d 100644
--- a/gh-badge-script/Sling-Repos.csv
+++ b/gh-badge-script/Sling-Repos.csv
@@ -316,9 +316,9 @@ samples,,,,EOL
 servlet-archetype,,,,EOL
 site,,,,EOL
 slingfeature-maven-plugin,,,,EOL
-slingstart-archetype,./tooling/maven/archetypes/slingstart/,404,deprecated,EOL
+slingstart-archetype,./tooling/maven/archetypes/slingstart/,404,,EOL
 slingstart-maven-plugin,./tooling/maven/slingstart-maven-plugin/,200,,EOL
-taglib-archetype,./tooling/maven/archetypes/taglib/,404,deprecated,EOL
+taglib-archetype,./tooling/maven/archetypes/taglib/,404,,EOL
 test-servlet-archetype-project,./tooling/maven/archetypes/servlet/src/test/resources/projects/normal/reference/,404,deprecated,EOL
 tooling-jenkins,,,,EOL
 tooling-release,,,,EOL
diff --git a/gh-badge-script/add-badges.sh b/gh-badge-script/add-badges.sh
index 164465f..68fc5e4 100755
--- a/gh-badge-script/add-badges.sh
+++ b/gh-badge-script/add-badges.sh
@@ -48,14 +48,14 @@ function update_badges () {
     done < $SCRIPT_DIR/Sling-Repos.csv
     
     if [ ! -z $STATUS ]; then
-        LINE="&#32;[![$STATUS](http://sling.apache.org/badges/status-$STATUS.svg)](https://github.com/apache/sling-aggregator/docs/status/$STATUS.md)"
+        LINE="&#32;[![$STATUS](http://sling.apache.org/badges/status-$STATUS.svg)](https://github.com/apache/sling-aggregator/blob/master/docs/status/$STATUS.md)"
         prepend
     fi
     
     GROUP="$(xmllint --xpath "string(/manifest/project[@path=\"$REPO_NAME\"]/@groups)" ~/git/sling/aggregator/default.xml)"
     echo -e "\nGroup: $GROUP"
     if [ ! -z "$GROUP" ]; then
-        LINE=" [![${GROUP}](https://sling.apache.org/badges/group-$GROUP.svg)](https://github.com/apache/sling-aggregator/docs/groups/$GROUP.md)"
+        LINE=" [![${GROUP}](https://sling.apache.org/badges/group-$GROUP.svg)](https://github.com/apache/sling-aggregator/blob/master/docs/groups/$GROUP.md)"
         prepend
     fi
     
diff --git a/gh-badge-script/generate-aggregator-table.sh b/gh-badge-script/generate-aggregator-table.sh
index 9413abb..fd97262 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/groups/$GROUP.md
         else
             echo "Creating group 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) > $GROUP\n# $GROUP Modules\n\n| Module | Description | Module&nbsp;Status |\n|---	|---	|---    |" > $SLING_DIR/aggregator/docs/groups/$GROUP.md
+            echo -n -e "[Apache Sling](http://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > [Modules](https://github.com/apache/sling-aggregator/blob/master/docs/modules.md) > $GROUP\n# $GROUP Modules\n\n| Module | Description | Module&nbsp;Status |\n|---	|---	|---    |" > $SLING_DIR/aggregator/docs/groups/$GROUP.md
             echo -n -e $LINE >> $SLING_DIR/aggregator/docs/groups/$GROUP.md
         fi
     fi
@@ -26,7 +26,7 @@ function write_data () {
             echo -n -e $LINE >> $SLING_DIR/aggregator/docs/status/$STATUS.md
         else
             echo "Creating status 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) > $STATUS\n# $STATUS Modules\n\n| Module | Description | Module&nbsp;Status |\n|---	|---	|---    |" > $SLING_DIR/aggregator/docs/status/$STATUS.md
+            echo -n -e "[Apache Sling](http://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > [Modules](https://github.com/apache/sling-aggregator/blob/master/docs/modules.md) > $STATUS\n# $STATUS Modules\n\n| Module | Description | Module&nbsp;Status |\n|---	|---	|---    |" > $SLING_DIR/aggregator/docs/status/$STATUS.md
             echo -n -e $LINE >> $SLING_DIR/aggregator/docs/status/$STATUS.md
         fi
     fi
@@ -109,12 +109,12 @@ function add_repo () {
         fi
         
         if [ ! -z $STATUS ]; then
-            LINE="&#32;[![$STATUS](http://sling.apache.org/badges/status-$STATUS.svg)](https://github.com/apache/sling-aggregator/docs/status/$STATUS.md)"
+            LINE="&#32;[![$STATUS](http://sling.apache.org/badges/status-$STATUS.svg)](https://github.com/apache/sling-aggregator/blob/master/docs/status/$STATUS.md)"
             write_data
         fi
         
         if [ ! -z "$GROUP" ]; then
-            LINE="&#32;[![${GROUP}](https://sling.apache.org/badges/group-$GROUP.svg)](https://github.com/apache/sling-aggregator/docs/groups/$GROUP.md)"
+            LINE="&#32;[![${GROUP}](https://sling.apache.org/badges/group-$GROUP.svg)](https://github.com/apache/sling-aggregator/blob/master/docs/groups/$GROUP.md)"
             write_data
         fi
     

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