public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Davide Pesavento" <pesa@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: Documentation/maintainers/
Date: Tue, 19 Aug 2014 01:07:17 +0000 (UTC)	[thread overview]
Message-ID: <1407680940.e815f109d82f0565f35774d7b83c66b0326545dc.pesa@gentoo> (raw)
Message-ID: <20140819010717._v6dWT-Gg6-xDLYPq6JZXwBhC6G9cOBbqGomO66qfD4@z> (raw)

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://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 <wired@gentoo.org>
-#
-# 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	other threads:[~2014-08-19  1:07 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-10 14:29 Davide Pesavento [this message]
2014-08-19  1:07 ` [gentoo-commits] proj/qt:master commit in: Documentation/maintainers/ Davide Pesavento
  -- strict thread matches above, loose matches on Subject: below --
2019-11-28 19:31 Davide Pesavento
2013-06-30 23:11 Davide Pesavento
2012-10-23 17:54 Markos Chandras
2012-10-16 18:30 Markos Chandras
2012-10-16 18:30 Markos Chandras
2012-10-14 21:30 Davide Pesavento
2012-09-22 16:43 Markos Chandras
2012-09-22 16:36 Markos Chandras
2012-09-22 12:01 Markos Chandras
2012-07-12 17:10 Markos Chandras
2012-07-10 17:23 Markos Chandras
2012-07-04 17:55 Markos Chandras
2012-06-23 11:06 Markos Chandras
2012-06-09  8:44 Markos Chandras
2012-06-08 20:24 Markos Chandras
2012-06-08 20:20 Markos Chandras
2012-06-08 20:20 Markos Chandras
2012-05-05 22:14 Markos Chandras
2012-03-29 13:56 Davide Pesavento
2012-03-25 16:46 Markos Chandras
2012-03-24 11:10 Markos Chandras
2012-03-24 11:08 Markos Chandras
2012-03-18 11:03 Markos Chandras
2012-03-18 11:00 Markos Chandras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1407680940.e815f109d82f0565f35774d7b83c66b0326545dc.pesa@gentoo \
    --to=pesa@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox