public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Agostino Sarubbo" <ago@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/ago:master commit in: script/
Date: Sun, 24 Mar 2013 17:52:17 +0000 (UTC)	[thread overview]
Message-ID: <1364147516.224c623af141951c95ba26be56d658b85b70a24e.ago@gentoo> (raw)

commit:     224c623af141951c95ba26be56d658b85b70a24e
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 17:51:56 2013 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 17:51:56 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/ago.git;a=commit;h=224c623a

Add script to check the kde's categories consistency

---
 script/kde_repoman_check.sh |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/script/kde_repoman_check.sh b/script/kde_repoman_check.sh
new file mode 100755
index 0000000..e948756
--- /dev/null
+++ b/script/kde_repoman_check.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+MY_PORTDIR="$( portageq envvar PORTDIR )"
+
+for k in kde-base kde-misc
+do
+	for i in $( ls "${MY_PORTDIR}"/"${k}"/ | grep -v "metadata\.xml" )
+	do
+		cd "${MY_PORTDIR}"/${k}/"${i}"
+		result="$( repoman full > /dev/null 2>&1 )"
+		if [ "${?}" = "1" ]
+		then
+			echo "The package "${k}"/"${i}" has the following problem:"
+			repoman full
+		fi
+	done
+done
+
+exit 0


             reply	other threads:[~2013-03-24 17:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24 17:52 Agostino Sarubbo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-08-13 14:49 [gentoo-commits] dev/ago:master commit in: script/ Agostino Sarubbo
2014-08-13 14:45 Agostino Sarubbo
2013-05-05  9:38 Agostino Sarubbo
2013-01-14 10:20 Agostino Sarubbo
2013-01-14  9:46 Agostino Sarubbo
2013-01-01 14:17 Agostino Sarubbo
2012-12-30 17:16 Agostino Sarubbo
2012-12-30 17:13 Agostino Sarubbo

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=1364147516.224c623af141951c95ba26be56d658b85b70a24e.ago@gentoo \
    --to=ago@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