commit:     e815f109d82f0565f35774d7b83c66b0326545dc
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 10 14:29:00 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sun Aug 10 14:29:00 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=e815f109

[maintainers] Delete ancient scripts.

---
 Documentation/maintainers/bump-qt-release |  39 -------
 Documentation/maintainers/eclass-checker  | 172 ------------------------------
 2 files changed, 211 deletions(-)

diff --git a/Documentation/maintainers/bump-qt-release 
b/Documentation/maintainers/bump-qt-release
deleted file mode 100755
index e319b19..0000000
--- a/Documentation/maintainers/bump-qt-release
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-# custom script for bumping Qt release ebuilds
-# use at your own risk!
-# make sure you take care of any new patches before running this script
-# this does not include the qt meta ebuild
-
-EdgeDir="$(portageq get_repo_path / qt)"
-RelVer="4.5.2"
-
-echo
-echo "[bump-qt-release] Copying Qt ${RelVer} ebuilds from ${EdgeDir} to 
gentoo-x86"
-echo "[bump-qt-release] and running cvs add, echangelog and repoman manifest"
-echo
-for i in 
qt-{assistant,core,dbus,demo,gui,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns}
 ; do
-       pushd ${i} || exit 'cannot pushd'
-       cp ${EdgeDir}/x11-libs/${i}/${i}-${RelVer}.ebuild .
-       cvs add ${i}-${RelVer}.ebuild || exit 'cannot cvs add'
-       echangelog 'Version bump' || exit 'cannot echangelog'
-       repoman manifest || exit 'cannot manifest'
-       popd
-done
-
-echo
-echo "[bump-qt-release] Checking ebuilds with repoman full - abort if needed"
-echo
-for i in 
qt-{assistant,core,dbus,demo,gui,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns}
 ; do
-       pushd ${i} || exit 'cannot pushd'
-       repoman full
-       popd
-done
-
-echo
-echo "[bump-qt-release] Doing the actual commit of Qt ${RelVer} ebuilds"
-echo
-for i in 
qt-{assistant,core,dbus,demo,gui,opengl,phonon,qt3support,script,sql,svg,test,webkit,xmlpatterns}
 ; do
-       pushd ${i} || exit 'cannot pushd'
-       repoman commit -m "Qt ${RelVer} release version bump"
-       popd
-done

diff --git a/Documentation/maintainers/eclass-checker 
b/Documentation/maintainers/eclass-checker
deleted file mode 100755
index 3246474..0000000
--- a/Documentation/maintainers/eclass-checker
+++ /dev/null
@@ -1,172 +0,0 @@
-#!/bin/bash
-# this script checks for ebuilds using old and/or deprecated eclasses
-# written by Alex Alexander <[email protected]>
-#
-# arguments
-# -h -> generate html instead of plain text
-# -u -> upload results to devspace ( 
d.g.o:~/public_html/checks/${eclass}.eclass.html )
-# -v -> open results with xdg-open
-# -e <eclass> -> eclass to check
-# -p <dir> -> PORTAGE_DIR
-#
-# ./eclass-echecker -hu is ran daily by wired:
-# http://dev.gentoo.org/~wired/checks/qt4.eclass.html
-
-PORTAGE_DIR="/usr/portage/tree"
-
-args=$1
-opts=0
-html=0
-upload=0
-view=0
-eclass="qt4"
-
-dt="$(date --utc +%Y-%m-%d\ %H:%M:%S) UTC"
-
-while getopts hvue:p: args
-do
-       opts=1
-       case $args in
-       h) html=1 ;;
-       v) view=1 ;;
-       u) upload=1 ;;
-       e) eclass=${OPTARG} ;;
-       p) PORTAGE_DIR={$OPTARG} ;;
-       esac
-done
-
-function render_head() {
-       if [[ $html == 1 ]]; then
-       echo "  <HTML>
-                       <HEAD>
-                               <TITLE>Qt4 ~testing ebuilds using old 
${eclass}.eclass</TITLE>
-                               <STYLE>
-                               body {
-                                       color: black;
-                                       background: #ccc;
-                                       font-family: Dejavu Sans Mono, Verdana;
-                                       font-size: 12px;
-                               }
-                               #mainTable td {
-                                       padding: 3px;
-                                       font-family: Dejavu Sans Mono, Verdana;
-                                       font-size: 12px;
-                               }
-                               #mainTable .splitter {
-                                       padding: 0px;
-                                       height: 1px;
-                                       background: #333;
-                               }
-                               </STYLE>
-                       </HEAD>
-                       <BODY>
-                       <table cellspacing='0' cellpadding='0' id='mainTable'>
-                       <tr><td style='background: #333; color: white;'>Last 
update: <strong>$dt</strong> (testing: ${1} | stable: ${2})</td></tr>
-               "
-       else
-               echo "The following ebuilds are using the old, deprecated 
${eclass}.eclass. (testing: ${1} | stable: ${2})"
-       fi
-
-}
-
-function render_foot() {
-       if [[ $html == 1 ]]; then
-               echo "
-                       </table>
-                       </BODY>
-                       </HTML>
-               "
-       fi
-}
-
-function render() {
-       C=$1;
-       X=$2;
-       shift;
-
-       if [[ $html == 1 ]]; then
-               echo "
-                       <tr><td style='height: 5px'></td></tr>
-                       <tr><td style='font-weight: bold'>The following <span 
style='color: yellow'>${X}</span> ebuilds are using the old, deprecated <span 
style='color:red'>${eclass}.eclass</span>.</td></tr>
-                       <tr><td style='height: 5px'></td></tr>
-               ";
-       else
-               echo "${X} ebuilds:"
-       fi
-
-
-       CCAT=""
-       while (( $C > 0 )); do
-               C=$(( $C - 1 ))
-               shift
-               CAT=${1%/*}
-               if [[ $CAT != $CCAT ]]; then
-                       if [[ $html == 1 ]]; then
-                               echo "<tr><td class='splitter'></td></tr>";
-                       else
-                               echo
-                       fi
-               fi
-               if [[ $html == 1 ]]; then
-                       echo "<tr><td>${1}</td></tr>"
-               else
-                       echo ${1}
-               fi
-               CCAT=${CAT}
-       done
-}
-
-function check() {
-       CNT_S=0
-       CNT_T=0
-       EB_S=( )
-       EB_T=( )
-
-       FOUND=$(grep --include="*ebuild" -r "^inherit" ${PORTAGE_DIR}/ |
-                       grep "${eclass}" | grep -v "${eclass}\-" | sort |
-                       while read i; do
-                               E=$(echo ${i} | cut -d":" -f1)
-                               echo $E;
-                       done
-               )
-
-       for i in $FOUND; do
-               E=${i/*\/}
-               C=${i%\/*}
-               P=${C/*\/}
-               C=${C%\/*}
-               C=${C/*\/}
-               KW=$(sed -nre 's:^\s*KEYWORDS="(.+)".*$:\1:p' "${i}")
-               local stable=0
-               for j in ${KW};
-               do
-                       [[ ${j} == ${j/\~} ]] && stable=1 && break;
-               done
-               if [[ $stable == 0 ]]; then
-                       CNT_T=$((CNT_T + 1))
-                       EB_T[${#EB_T[*]}]="$C/$P/$E";
-               else
-                       CNT_S=$((CNT_S + 1))
-                       EB_S[${#EB_S[*]}]="$C/$P/$E";
-               fi
-       done
-
-       render_head $CNT_T $CNT_S
-       render $CNT_T "testing" ${EB_T[@]}
-       render $CNT_S "stable" ${EB_S[@]}
-       render_foot
-}
-
-if [[ $upload == 1 ]] || [[ $view == 1 ]]; then
-       if [[ $html == 1 ]]; then
-               check > /tmp/${eclass}.eclass.html
-               [[ $upload == 1 ]] && scp /tmp/${eclass}.eclass.html 
dev.gentoo.org:public_html/checks/
-               [[ $view == 1 ]] && xdg-open /tmp/${eclass}.eclass.html &
-       else
-               check > /tmp/${eclass}.eclass.txt
-               [[ $upload == 1 ]] && scp /tmp/${eclass}.eclass.txt 
dev.gentoo.org:public_html/checks/
-               [[ $view == 1 ]] && xdg-open /tmp/${eclass}.eclass.txt &
-       fi
-else
-       check
-fi

Reply via email to