Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2014-02-07 14:01:45 +0400
committerLluis Sanchez <lluis@xamarin.com>2014-02-07 16:25:50 +0400
commit8770dd0084b3ac0098c650a39bcf147606adc08b (patch)
treebbfd6916b302fbd5bbbe9f1318b4cd6e01a9e8a8 /scripts
parent1ead8a7ab374c31bcb633d8147fe863684c4ae89 (diff)
Remove unused scripts
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mdbranch153
-rwxr-xr-xscripts/mdget154
-rwxr-xr-xscripts/mdtag23
3 files changed, 0 insertions, 330 deletions
diff --git a/scripts/mdbranch b/scripts/mdbranch
deleted file mode 100755
index d32f7f4497..0000000000
--- a/scripts/mdbranch
+++ /dev/null
@@ -1,153 +0,0 @@
-#!/usr/bin/env bash
-version=1.9
-prefix=/usr/local
-profile=dist
-trunkRoot=svn+ssh://$USER@mono-cvs.ximian.com/source/trunk/monodevelop
-branchesRoot=svn+ssh://$USER@mono-cvs.ximian.com/source/branches/monodevelop
-tagsRoot=svn+ssh://$USER@mono-cvs.ximian.com/source/tags/monodevelop
-srcVersion=
-
-sourceRoot=$trunkRoot
-destRoot=$branchesRoot
-
-MSG=`mktemp`
-
-usage ()
-{
- echo "Usage : mdbrach [--profile=PROFILE] versionNumber"
- echo ""
- echo "Creates a new branch of MonoDevelop and the extras add-ins included"
- echo "in the specified profile (which is 'stable' by default)."
-}
-
-validate_profile ()
-{
- test -z "$1" && return 0
- for c in `ls ../profiles`; do
- if [ "$c" = "$1" ]; then
- return 1
- fi
- done
- return 0
-}
-
-read_packages ()
-{
- for p in `sed -e /#/d -e 's/ /,/g' < ../profiles/$profile` ; do
- path=`echo $p | cut -d ',' -f 1`
- packages="$packages $path"
- done
- return 0
-}
-
-while test x$1 != x; do
- case $1 in
- --profile=*)
- prof=`echo $1 | sed 's/--profile=//'`
- validate_profile "$prof"
- if [ $? -eq 1 ]; then
- profile=$prof
- else
- echo "Invalid profile name - $conf"
- usage
- exit 1
- fi
- ;;
- --profile)
- shift
- prof=$1
- validate_profile "$prof"
- if [ $? -eq 1 ]; then
- profile=$prof
- else
- echo "Invalid profile name - $conf"
- usage
- exit 1
- fi
- ;;
- --tag)
- shift
- sourceRoot=$branchesRoot
- destRoot=$tagsRoot
- srcVersion="/$1"
- ;;
- --help)
- usage
- exit
- ;;
- *)
- version=$1
- ;;
- esac
- shift
-done
-
-read_packages
-
-
-echo ""
-if [ $destRoot = $tagsRoot ]; then
- echo "The following tags will be created:"
-else
- echo "The following branches will be created:"
-fi
-
-echo ""
-for p in $packages; do
- echo "$destRoot/$p/$version"
-done
-echo ""
-echo "From sources:"
-echo ""
-for p in $packages; do
- echo "$sourceRoot/$p$srcVersion"
-done
-
-if [ $destRoot = $tagsRoot ]; then
- echo "Created $version tag." > $MSG
-else
- echo "Created $version branch." > $MSG
-fi
-
-echo ""
-echo "Commit message:"
-cat $MSG
-echo ""
-
-while [[ 1 ]]
-do
-
- read -a RESPONSE -p"Would you like to continue (Y)es/(N)o/(E)dit Message: "
- if [[ $? != 0 ]]
- then
- RESPONSE="N"
- fi
-
- case $RESPONSE in
- "Y" | "y" | "yes" | "Yes")
-
- echo "Comitting..."
- for p in $packages; do
- echo "svn cp -F $MSG $sourceRoot/$p$srcVersion $destRoot/$p/$version"
- svn cp -F $MSG $sourceRoot/$p$srcVersion $destRoot/$p/$version
- done
- rm $MSG
- exit 0
- ;;
-
- "N" | "n" | "no" | "No")
- echo "Aborting..."
- rm $MSG
- exit 1
- ;;
-
- "E" | "e" | "ed" | "Ed" | "Edit" | "edit")
- vi $MSG
- # try again
- ;;
- *)
- # try again
- ;;
- esac
-done
-
diff --git a/scripts/mdget b/scripts/mdget
deleted file mode 100755
index ff4f3b59bc..0000000000
--- a/scripts/mdget
+++ /dev/null
@@ -1,154 +0,0 @@
-#!/usr/bin/env bash
-version=
-prefix=/usr/local
-profile=stable
-trunkRoot=svn+ssh://$USER@mono-cvs.ximian.com/source/trunk/monodevelop
-branchesRoot=svn+ssh://$USER@mono-cvs.ximian.com/source/branches/monodevelop
-tagsRoot=svn+ssh://$USER@mono-cvs.ximian.com/source/tags/monodevelop
-destDirRoot=../..
-
-sourceRoot=$branchesRoot
-
-MSG=`mktemp`
-
-usage ()
-{
- echo ""
- echo "Usage : mdget [--profile=PROFILE] [--dir=DIRECTORY] [--tag] versionNumber"
- echo ""
- echo "Check outs a MonoDevelop branch or tag and the extras add-ins included"
- echo "in the specified profile (which is 'stable' by default)."
- echo ""
- echo "PROFILE is the profile that contains the list of packages to check out."
- echo ""
- echo "DIRECTORY is the root directory where MonoDevelop will be checked out."
- echo "Example: mdget --dir=/home/user/test 2.1"
- echo "This command will checkout the 2.1 branch to the directory:"
- echo "/home/user/test/monodevelop-2.1"
- echo "The output directory is ../.. by default."
- echo ""
- echo "When the --tag option is specified, a tag will be checked out,"
- echo "instead of a branch."
- echo ""
-}
-
-validate_profile ()
-{
- test -z "$1" && return 0
- for c in `ls ../profiles`; do
- if [ "$c" = "$1" ]; then
- return 1
- fi
- done
- return 0
-}
-
-read_packages ()
-{
- for p in `sed -e /#/d -e 's/ /,/g' < ../profiles/$profile` ; do
- path=`echo $p | cut -d ',' -f 1`
- packages="$packages $path"
- done
- return 0
-}
-
-while test x$1 != x; do
- case $1 in
- --profile=*)
- prof=`echo $1 | sed 's/--profile=//'`
- validate_profile "$prof"
- if [ $? -eq 1 ]; then
- profile=$prof
- else
- echo "Invalid profile name - $conf"
- usage
- exit 1
- fi
- ;;
- --profile)
- shift
- prof=$1
- validate_profile "$prof"
- if [ $? -eq 1 ]; then
- profile=$prof
- else
- echo "Invalid profile name - $conf"
- usage
- exit 1
- fi
- ;;
- --tag)
- shift
- sourceRoot=$tagsRoot
- ;;
- --help)
- usage
- exit
- ;;
- *)
- version=$1
- ;;
- esac
- shift
-done
-
-if [ "$version" = "" ]; then
- usage
- exit
-fi
-
-
-read_packages
-
-destDir=$destDirRoot/monodevelop-$version
-
-echo ""
-echo "MonoDevelop $version will be checked out from:"
-echo "$sourceRoot/*/$version"
-echo ""
-echo "The following directories will be created:"
-
-echo ""
-for p in $packages; do
- echo "$destDir/$p"
-done
-
-while [[ 1 ]]
-do
-
- read -a RESPONSE -p"Would you like to continue (Y)es/(N)o: "
- if [[ $? != 0 ]]
- then
- RESPONSE="N"
- fi
-
- case $RESPONSE in
- "Y" | "y" | "yes" | "Yes")
-
- echo "Getting MonoDevelop $version ..."
- mkdir $destDir
- for p in $packages; do
- echo "svn co $sourceRoot/$p/$version $destDir/$p"
- svn co $sourceRoot/$p/$version $destDir/$p
- done
- cp ../configure $destDir/configure
- cp ../MonoDevelop.mdw $destDir/MonoDevelop.mdw
- cp ../Makefile $destDir/Makefile
- cp ../extras/extras.mdw $destDir/extras/extras.mdw
- mkdir $destDir/profiles
- cp ../profiles/$profile $destDir/profiles/all
- cp ../profiles/$profile $destDir/profiles/stable
- cp ../profiles/$profile $destDir/profiles/default
- exit 0
- ;;
-
- "N" | "n" | "no" | "No")
- echo "Aborting..."
- exit 1
- ;;
- *)
- # try again
- ;;
- esac
-done
-
diff --git a/scripts/mdtag b/scripts/mdtag
deleted file mode 100755
index a574f46ec4..0000000000
--- a/scripts/mdtag
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env bash
-
-usage ()
-{
- echo ""
- echo "Usage : mdtag branchVersionNumber tagVersionNumber"
- echo ""
- echo "Creates a new tag of MonoDevelop using the provided branch number as source."
- echo ""
-}
-
-if [ x$1 = x ]; then
- usage
- exit 1
-fi
-
-if [ x$2 = x ]; then
- echo "Branch version number not provided"
- exit 1
-fi
-
-./mdbranch --tag $1 $2
-