You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2015/04/04 22:58:50 UTC

jclouds-site git commit: Fixed the deploy-site script

Repository: jclouds-site
Updated Branches:
  refs/heads/master c3f5da4db -> 742285fde


Fixed the deploy-site script


Project: http://git-wip-us.apache.org/repos/asf/jclouds-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-site/commit/742285fd
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-site/tree/742285fd
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-site/diff/742285fd

Branch: refs/heads/master
Commit: 742285fdec68be2edb514065c25fb60723092a3f
Parents: c3f5da4
Author: Ignasi Barrera <na...@apache.org>
Authored: Sat Apr 4 22:26:03 2015 +0200
Committer: Ignasi Barrera <na...@apache.org>
Committed: Sat Apr 4 22:48:23 2015 +0200

----------------------------------------------------------------------
 deploy-site.sh         | 18 +++++++++++++-----
 reference/providers.md |  2 +-
 2 files changed, 14 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-site/blob/742285fd/deploy-site.sh
----------------------------------------------------------------------
diff --git a/deploy-site.sh b/deploy-site.sh
index 49c0e2e..077ae78 100755
--- a/deploy-site.sh
+++ b/deploy-site.sh
@@ -24,13 +24,21 @@ else
   svn up site-content
 fi
 
-cp -r _site/* site-content/
-#jekyll copy site-content to _site so remove it
-rm -rf site-content/site-content
-rm site-content/deploy-site.sh
+rsync -ar --delete \
+    --exclude deploy-site.sh \
+    --exclude deploy-javadoc.sh \
+    --exclude site-content \
+    --filter='protect .svn/' \
+    --filter='protect reference/javadoc/**/*' \
+    --filter='protect jclouds-site.iml' \
+    _site/ site-content/
 
-#add new files
 cd site-content
+
+#delete removed files
+for f in `svn status | grep '^!' | awk '{print $NF}'`; do svn rm $f; done
+
+#add new files
 svn status | awk '/^\?/{print $2}' | \
     while read filename; do svn --no-auto-props add $filename; done
 

http://git-wip-us.apache.org/repos/asf/jclouds-site/blob/742285fd/reference/providers.md
----------------------------------------------------------------------
diff --git a/reference/providers.md b/reference/providers.md
index fee6d1d..53c239d 100644
--- a/reference/providers.md
+++ b/reference/providers.md
@@ -162,7 +162,7 @@ The Maven Group ID for all supported APIs below is [org.apache.jclouds.api](http
     </thead>
     <tbody>
         <tr>
-            <td><a href="/guides/abiquo/">Abiquo</a>*</td>
+            <td>Abiquo*</td>
             <td>abiquo</td>
         </tr>
         <tr>