From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3654913877A for ; Mon, 11 Aug 2014 21:39:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C8AA2E0B20; Mon, 11 Aug 2014 20:26:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C867E1139 for ; Mon, 11 Aug 2014 20:21:52 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 87D0B3404E6 for ; Sun, 10 Aug 2014 14:29:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id ADFC318815 for ; Sun, 10 Aug 2014 14:29:33 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1407680940.e815f109d82f0565f35774d7b83c66b0326545dc.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: Documentation/maintainers/ X-VCS-Repository: proj/qt X-VCS-Files: Documentation/maintainers/bump-qt-release Documentation/maintainers/eclass-checker X-VCS-Directories: Documentation/maintainers/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: e815f109d82f0565f35774d7b83c66b0326545dc X-VCS-Branch: master Date: Sun, 10 Aug 2014 14:29:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: eb43cafd-6ab6-47c7-b57d-a4013ce744c5 X-Archives-Hash: de7b803cfc0d3d4dd5241d2c299df80b commit: e815f109d82f0565f35774d7b83c66b0326545dc Author: Davide Pesavento gentoo org> AuthorDate: Sun Aug 10 14:29:00 2014 +0000 Commit: Davide Pesavento gentoo 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 -# -# 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 to check -# -p -> 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 " - - Qt4 ~testing ebuilds using old ${eclass}.eclass - - - - - - " - 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 " -
Last update: $dt (testing: ${1} | stable: ${2})
- - - " - fi -} - -function render() { - C=$1; - X=$2; - shift; - - if [[ $html == 1 ]]; then - echo " - - The following ${X} ebuilds are using the old, deprecated ${eclass}.eclass. - - "; - 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 ""; - else - echo - fi - fi - if [[ $html == 1 ]]; then - echo "${1}" - 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3ED19138A2F for ; Tue, 19 Aug 2014 01:07:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D97FE09A7; Tue, 19 Aug 2014 01:07:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A88F6E09A5 for ; Tue, 19 Aug 2014 01:07:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8E665340092 for ; Tue, 19 Aug 2014 01:07:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AD953914 for ; Tue, 19 Aug 2014 01:07:17 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1407680940.e815f109d82f0565f35774d7b83c66b0326545dc.pesa@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: Documentation/maintainers/ X-VCS-Repository: proj/qt X-VCS-Files: Documentation/maintainers/bump-qt-release Documentation/maintainers/eclass-checker X-VCS-Directories: Documentation/maintainers/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: e815f109d82f0565f35774d7b83c66b0326545dc X-VCS-Branch: master Date: Tue, 19 Aug 2014 01:07:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 46f779bd-ddb7-4e2e-bb7e-bbda35ffd378 X-Archives-Hash: 263d14f24bf2ab63a900ec21a8278fd4 Message-ID: <20140819010717._v6dWT-Gg6-xDLYPq6JZXwBhC6G9cOBbqGomO66qfD4@z> commit: e815f109d82f0565f35774d7b83c66b0326545dc Author: Davide Pesavento gentoo org> AuthorDate: Sun Aug 10 14:29:00 2014 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Sun Aug 10 14:29:00 2014 +0000 URL: http://sources.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 -# -# 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 to check -# -p -> 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 " - - Qt4 ~testing ebuilds using old ${eclass}.eclass - - - - - - " - 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 " -
Last update: $dt (testing: ${1} | stable: ${2})
- - - " - fi -} - -function render() { - C=$1; - X=$2; - shift; - - if [[ $html == 1 ]]; then - echo " - - The following ${X} ebuilds are using the old, deprecated ${eclass}.eclass. - - "; - 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 ""; - else - echo - fi - fi - if [[ $html == 1 ]]; then - echo "${1}" - 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