Also get rid of this.
authorRoland Häder <roland@mxchange.org>
Tue, 4 Feb 2014 18:54:45 +0000 (19:54 +0100)
committerRoland Häder <roland@mxchange.org>
Tue, 4 Feb 2014 18:54:45 +0000 (19:54 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
prop-set.sh [deleted file]
reset-svn.sh [deleted file]
setup-repos.sh [deleted file]

diff --git a/prop-set.sh b/prop-set.sh
deleted file mode 100755 (executable)
index 8a3c22e..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-# Keywords
-find -type f -name "*.php" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \;
-find -type f -name "*.xml" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \;
-find -type f -name "*.ctp" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \;
-
-# MIME type
-find -type f -name "*.php" -exec svn propset svn:mime-type "text/plain" {} \;
-find -type f -name "*.ctp" -exec svn propset svn:mime-type "text/plain" {} \;
-find -type f -name "*.jpg" -exec svn propset svn:mime-type "image/jpeg" {} \;
-find -type f -name "*.png" -exec svn propset svn:mime-type "image/png" {} \;
-find -type f -name "*.gif" -exec svn propset svn:mime-type "image/gif" {} \;
-find -type f -name "*.ico" -exec svn propset svn:mime-type "image/x-ico" {} \;
-find -type f -name "*.html" -exec svn propset svn:mime-type "text/plain" {} \;
-find -type f -name "*.xml" -exec svn propset svn:mime-type "text/xml" {} \;
-find -type f -name "*.txt" -exec svn propset svn:mime-type "text/plain" {} \;
-find -type f -name "*.lng" -exec svn propset svn:mime-type "text/plain" {} \;
-
-# .htaccess files
-find -type f -name .htaccess -exec svn propdel svn:keywords {} \;
-find -type f -name .htaccess -exec svn propdel svn:executable {} \;
-find -type f -name .htaccess -exec svn propset svn:mime-type "text/plain" {} \;
-
-# eol-style
-find -type f -name "*.php" -exec svn propset svn:eol-style "native" {} \;
-find -type f -name "*.ctp" -exec svn propset svn:eol-style "native" {} \;
-find -type f -name "*.html" -exec svn propset svn:eol-style "native" {} \;
-find -type f -name "*.xml" -exec svn propset svn:eol-style "native" {} \;
-find -type f -name "*.txt" -exec svn propset svn:eol-style "native" {} \;
-find -type f -name "*.lng" -exec svn propset svn:eol-style "native" {} \;
-
-# Shell scripts can be executable
-echo "$0: propset svn:executable on *.sh"
-find -type f -name "*.sh" | xargs svn propset svn:executable 2>/dev/null
-
-# These files don't need a executable right (chmod +x)
-DEL_EXECUTE="java html lng jpg png gif ico txt xml php nsi jar js rss"
-for entry in ${DEL_EXECUTE}; do
-       echo "$0: propdel svn:executable on *.${entry}"
-       find -type f -name "*.${entry}" -exec svn propdel svn:executable {} \; 2>/dev/null
-done
-
-# Revert third-party classes
-svn --recursive revert inc/classes/third_party/
diff --git a/reset-svn.sh b/reset-svn.sh
deleted file mode 100755 (executable)
index 9498d24..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-svn propset svn:externals "inc http://ship-simu.org/repos/core/trunk/inc/
-templates http://ship-simu.org/repos/core/trunk/templates/" .
-
-svn propset svn:externals "`cat ../../core/trunk/application-external.txt`" application/
-
-svn up
-
-sh ../../core/trunk/prop-set.sh
diff --git a/setup-repos.sh b/setup-repos.sh
deleted file mode 100755 (executable)
index 60d1fb6..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-# A little helper script of mine to setup a new development check-out directory.
-# This script should be called where you want to create the repository and 'core'
-# must be in the same directory. This script is public domain, if it blows up
-# your washing maschine or your refrigerator stops working, this script is maybe
-# not responsible for this, ask your trusted electrican. Use it on your own risk.
-
-if test "${1}" == ""; then
-       echo "Usage: ${0} <repos> Setup given repository locally."
-       exit
-elif test -e "${1}/.svn/"; then
-       echo "${0}: Repository ${1} is possibly setup! Aborting..."
-       exit
-fi
-
-echo "${0}: Checking out ${1} ..."
-svn co "svn+ssh://www.mxchange.org/var/www/svn-repos/${1}/" || exit 255
-cd "${1}"
-echo "${0}: Creating base directories ..."
-svn mkdir branches tags trunk || exit 255
-cd trunk
-echo "${0}: Updating skeleton ..."
-svn up ../../skel/ || exit 255
-echo "${0}: Importing skeleton repository ..."
-svn export --force ../../skel/trunk/ . || exit 255
-svn add * || exit 255
-if test "${1}" != "admin"; then
-       echo "${0}: Adding directory application/${1} ..."
-       svn mkdir application/${1} || exit 255
-else
-       echo "${0}: --- Not creating directory application/${1}. ---"
-fi
-echo "${0}: Linking to external 'core' repository ..."
-svn propset svn:externals -F ../../core/trunk/svn-externals.txt . || exit 255
-if (test "${1}" != "admin" && test "${1}" != "install"); then
-       cd application/
-       if test "${1}" != "qa"; then
-               svn propset svn:externals -F ../../../core/trunk/application-external.txt . || exit 255
-       else
-               svn propset svn:externals "admin http://www.ship-simu.org/repos/admin/trunk/application/admin/ 
-install http://www.ship-simu.org/repos/install/trunk/application/install/" . || exit 255
-       fi
-       cd .. # trunk
-else
-       echo "${0}: --- Not setting admin/install external source. ---"
-fi
-cd .. # root
-echo "${0}: Running commit ..."
-svn commit -m "Initial import with linked core from skeleton" || exit 255
-echo "${0}: Updating ..."
-svn up
-echo "${0}: Exporting repositiory ..."
-svn export --force trunk/ /var/www/htdocs/${1}
-cd .. # start
-echo "${0}: All done."