From 60e268670084ca405d86ea019730ce552950acc8 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Sun, 17 Dec 2023 17:03:32 +0100 Subject: dropped scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miroslav Šulc --- scripts/netbeans/check_binary_lists.sh | 34 ---------------------------------- scripts/netbeans/copy_to_tree.sh | 24 ------------------------ scripts/netbeans/create_new_release.sh | 24 ------------------------ scripts/netbeans/update_changelog.sh | 19 ------------------- 4 files changed, 101 deletions(-) delete mode 100755 scripts/netbeans/check_binary_lists.sh delete mode 100755 scripts/netbeans/copy_to_tree.sh delete mode 100755 scripts/netbeans/create_new_release.sh delete mode 100755 scripts/netbeans/update_changelog.sh diff --git a/scripts/netbeans/check_binary_lists.sh b/scripts/netbeans/check_binary_lists.sh deleted file mode 100755 index a77f5307b..000000000 --- a/scripts/netbeans/check_binary_lists.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -OLD_DIR="${1}" -NEW_DIR="${2}" - -if [[ -z "${OLD_DIR}" ]] || [[ -z "${NEW_DIR}" ]]; then - echo "Usage: " - exit 1 -fi - -if [ ! -d "${OLD_DIR}" ] ; then - echo "ERROR: old_dir does not exist or is not directory!" - exit 1 -fi - -if [ ! -d "${NEW_DIR}" ] ; then - echo "ERROR: new_dir does not exist or is not directory!" - exit 1 -fi - -pushd "${NEW_DIR}" >> /dev/null - -for file in `ls */external/binaries-list`; do - RESULT=`diff "${OLD_DIR}"/$file $file` - - if [ -n "${RESULT}" ] ; then - echo "${file}" - diff "${OLD_DIR}"/$file $file - fi -done - -popd >> /dev/null - -echo "DONE." diff --git a/scripts/netbeans/copy_to_tree.sh b/scripts/netbeans/copy_to_tree.sh deleted file mode 100755 index 26162cc2b..000000000 --- a/scripts/netbeans/copy_to_tree.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -ROOT=$(dirname $(dirname $(dirname $(readlink -f ${0})))) -TREE=${1} -VERSION=${2} -MESSAGE=${3} - -if [ -z "${TREE}" -o -z "${VERSION}" -o -z "${MESSAGE}" ]; then - echo "Usage: ${0} " - exit 1 -fi - -pushd ${ROOT} &> /dev/null - -for file in */*/*${VERSION}*.ebuild; do - cp ${file} ${TREE}${file} - pushd ${TREE}$(dirname ${file}) &> /dev/null - cvs add $(basename ${file}) - echangelog "${MESSAGE}" - ebuild $(basename ${file}) manifest - popd &> /dev/null -done - -popd &> /dev/null diff --git a/scripts/netbeans/create_new_release.sh b/scripts/netbeans/create_new_release.sh deleted file mode 100755 index d6a145e5c..000000000 --- a/scripts/netbeans/create_new_release.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -OLD=${1} -NEW=${2} -SOURCE_URL=${3} - -if [[ -z "${OLD}" ]] || [[ -z "${NEW}" ]] || [[ -z "${SOURCE_URL}" ]] ; then - echo "Usage: " - exit 1 -fi - -pushd $(dirname $(dirname $(dirname $(readlink -f ${0})))) >/dev/null || exit 1 - -for file in */*netbeans*/*${OLD}*.ebuild ; do - cp ${file} $(echo ${file} | sed "s/${OLD}/${NEW}/" | sed -E "s/-r[[:digit:]]+//") || exit 1 -done - -sed -i "s%SOURCE_URL=.*%SOURCE_URL=\"${SOURCE_URL}\"%" */*/*${NEW}*.ebuild || exit 1 - -for file in */*/*${NEW}*.ebuild ; do - ebuild ${file} manifest -done - -popd >/dev/null || exit 1 diff --git a/scripts/netbeans/update_changelog.sh b/scripts/netbeans/update_changelog.sh deleted file mode 100755 index f304fa12c..000000000 --- a/scripts/netbeans/update_changelog.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -DIR=${1} -MESSAGE=${2} - -if [[ -z "${DIR}" ]] || [[ -z "${MESSAGE}" ]] ; then - echo "Usage: " - exit 1 -fi - -pushd "${1}" >/dev/null || exit 1 -for dir in dev-*/netbeans*; do - pushd "${dir}" - echangelog "${MESSAGE}" - ebuild `ls *.ebuild | tail -n1` digest - popd -done -popd >/dev/null || exit 1 - -echo "DONE!" -- cgit v1.2.3-65-gdbad