Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ec11a11591c8d9f642bff8f1730647eba0a776e3

commit ec11a11591c8d9f642bff8f1730647eba0a776e3
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Mon May 16 16:31:48 2011 +0200

tools/find-unmaintained-packages: new tool

This script finds packages where the Maintainer field points to a no
longer active developer.

diff --git a/tools/find-unmaintained-packages.sh 
b/tools/find-unmaintained-packages.sh
new file mode 100755
index 0000000..7beff1a
--- /dev/null
+++ b/tools/find-unmaintained-packages.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# the output of this script is published daily at
+# http://frugalware.org/~repo/stats/unmaintained.txt
+
+cd ../t
+activedevs=$(./chkacc |sed "s/.*'\(.*\)'/\1/g" |xargs echo|sed 's/ /|/g')
+cd ..
+
+for i in `git ls-files source |grep FrugalBuild`
+do
+       egrep -q "Maintainer:.*($activedevs)" $i || echo "$i is unmaintained"
+done
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to