You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@incubator.apache.org by wa...@apache.org on 2019/04/02 18:22:12 UTC

[incubator] branch master updated: Delete build_clutch.sh

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

wave pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator.git


The following commit(s) were added to refs/heads/master by this push:
     new 2114d84  Delete build_clutch.sh
2114d84 is described below

commit 2114d84d4b3d12bf282a7fb048c1d3e8b572fcc3
Author: Dave Fisher <da...@davefisher.tech>
AuthorDate: Tue Apr 2 11:22:08 2019 -0700

    Delete build_clutch.sh
    
    Recreating due to permissions
---
 build_clutch.sh | 51 ---------------------------------------------------
 1 file changed, 51 deletions(-)

diff --git a/build_clutch.sh b/build_clutch.sh
deleted file mode 100644
index 22eb2d5..0000000
--- a/build_clutch.sh
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/bash
-CURRENTDIR=`pwd`
-SVN_CO_DIR=/tmp/incubator-site-content
-SVN_BUILD_DIR=/tmp/incubator-site-build
-SVN_REPO=http://svn.apache.org/repos/asf/incubator/public/trunk/
-# download the svn bits
-rm -rf $SVN_CO_DIR
-rm -rf $SVN_BUILD_DIR
-svn co $SVN_REPO $SVN_CO_DIR
-if [ $? -gt 0 ]; then
-    echo ABORT: svn checkout error
-    exit 4
-fi
-cd $SVN_CO_DIR
-# build pages the old way
-ant docs -Ddocs.dest=$SVN_BUILD_DIR
-if [ $? -gt 0 ]; then
-    echo ABORT: ant docs error
-    exit 4
-fi
-# run clutch2 analysis
-./clutch2.sh
-if [ $? -gt 0 ]; then
-    echo ABORT: clutch2.sh error
-    exit 4
-fi
-# prepare the git master with updates from svn build and clutch analysis
-cd $CURRENTDIR
-# move in files built using ant in the old style
-# ip clearance as assets
-rm -rf assets/ip-clearance
-mkdir assets/ip-clearance
-cp $SVN_BUILD_DIR/ip-clearance/*.html assets/ip-clearance/.
-# podling status files as assets
-rm -rf assets/projects
-mkdir assets/projects
-cp $SVN_BUILD_DIR/projects/*.html assets/projects/.
-# move in files from the clutch analysis
-# these txt files are moved to assets
-cp $SVN_CO_DIR/content/clutch/*.txt assets/.
-cp $SVN_CO_DIR/content/clutch/*.json assets/.
-# add all of these assets. Assets are used in the baked site as is.
-git add assets/*
-# the following asciidoc clutch files go to be baked
-cp $SVN_CO_DIR/content/clutch/_includes/*.ad pages/clutch/_includes/.
-git add pages/clutch/_includes/*
-cp $SVN_CO_DIR/content/clutch/*.ad pages/clutch/.
-git add pages/clutch/*
-# commit and push the assets and pages to site master
-git commit -m "Automatic Clutch Publish by git-site-role"
-git push origin master


---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org