summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2007-05-23 17:40:43 +0000
committerThilo Bangert <bangert@gentoo.org>2007-05-23 17:40:43 +0000
commit1d1999a5151f1593ff3cebcdae9fa0f7f374793b (patch)
treeddbeaab45d32f878735a8b4a2c9209a0f3bef6bc /scripts
parentremove useless comment (diff)
downloadbangert-1d1999a5151f1593ff3cebcdae9fa0f7f374793b.tar.gz
bangert-1d1999a5151f1593ff3cebcdae9fa0f7f374793b.tar.bz2
bangert-1d1999a5151f1593ff3cebcdae9fa0f7f374793b.zip
add script
svn path=/; revision=29
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/per-category-repoman.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/per-category-repoman.rb b/scripts/per-category-repoman.rb
new file mode 100755
index 0000000..a752173
--- /dev/null
+++ b/scripts/per-category-repoman.rb
@@ -0,0 +1,18 @@
+#!/usr/bin/ruby
+
+PORTAGE_DIR="/usr/portage/"
+#PORTAGE_DIR="/home/bangert/gentoo/test-portage"
+
+LOGDIR="/home/bangert/gentoo/repoman-log/"
+
+categories=`cat #{PORTAGE_DIR}/profiles/categories`.split()
+
+categories.map{ |x|
+ Dir::chdir("#{PORTAGE_DIR}/#{x}") do
+ puts x
+ system("repoman full > #{LOGDIR + x}.log")
+ end
+}
+
+
+