[sysadmin-bin: 23/168] Small improvements to find-repos.sh



commit 1a3e0137f405c6ffdc7ceb5500a83a047b2cfa13
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Mon Mar 2 15:57:51 2009 -0500

    Small improvements to find-repos.sh
    
     - Don't write owners in the output, they are bogus
     - List /git/previews in addition to /git
    
    (Changes by Kristian HÃgsberg <krh redhat com>, extracted from
    gnome-git-migration)

 find-repos.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/find-repos.sh b/find-repos.sh
index 4ba995c..16e16bf 100755
--- a/find-repos.sh
+++ b/find-repos.sh
@@ -16,7 +16,6 @@ function list_repos() {
 		echo repo.name=$shortname
 		echo repo.desc=$(test -f $r/description && cat $r/description)
 		echo repo.path=$r
-		echo repo.owner=$(stat -c %U $r)
 		echo
 	    fi
 	done
@@ -24,3 +23,4 @@ function list_repos() {
 }
 
 list_repos "/git" "GNOME git repositories"
+list_repos "/git/preview" "Git conversion preview repositories"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]