[csw-devel] SF.net SVN: opencsw:[565] gar-wrapper

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Sep 29 00:24:36 CEST 2011


Revision: 565
          http://opencsw.svn.sourceforge.net/opencsw/?rev=565&view=rev
Author:   skayser
Date:     2011-09-28 22:24:35 +0000 (Wed, 28 Sep 2011)
Log Message:
-----------
mgar: bump to 0.95-dev, extend list-categories output to be more useful

Modified Paths:
--------------
    gar-wrapper/CHANGES
    gar-wrapper/mgar

Modified: gar-wrapper/CHANGES
===================================================================
--- gar-wrapper/CHANGES	2011-09-28 21:56:39 UTC (rev 564)
+++ gar-wrapper/CHANGES	2011-09-28 22:24:35 UTC (rev 565)
@@ -1,3 +1,6 @@
+Changes with 0.95 (r???):
+* CHANGE "list-categories" will now show category.mk locations
+
 Changes with 0.94 (r564):
 * NEW command "status" to query VCS status (^= svn status)
 * NEW command "reindex" to drop and re-build the search index

Modified: gar-wrapper/mgar
===================================================================
--- gar-wrapper/mgar	2011-09-28 21:56:39 UTC (rev 564)
+++ gar-wrapper/mgar	2011-09-28 22:24:35 UTC (rev 565)
@@ -32,11 +32,11 @@
 # ----------------------------------------------------------------------------
 #
 # Todos:
+# * Add template for ~/.garrc (think new users)
 # * Add "diag" command to display CC versions, ~/.garrc settings, and such
 # * Improve error messages when buildsys can't be found
 # * Enable checkout of a specific revision for build recipe + GAR
 #   (~/opencsw/.buildsys/vX at YYYY, ~/opencsw/foo/trunk at YYYY)
-# * Add template for ~/.garrc (think new users)
 # * When packaging mgar, shield mgar up --self so that it won't override
 #   the package binary, but place it somewhere else.
 # * Recipes: Move from svn:externals to GARTYPE
@@ -55,7 +55,7 @@
 set -u
 set -e
 
-VERSION=0.94
+VERSION=0.95-dev
 EDITOR=${EDITOR:-vi}
 PATH=$PATH:/opt/csw/bin
 DEF_BUILDTREE=~/opencsw
@@ -651,7 +651,9 @@
         find-file) gfind "`get_srcdir`" \
                      -name .git -prune -o -name "${2:-*}" -print;;
     grep-buildsys) shift; ack "$1" "$BUILDSYS";;
-  list-categories) ls "$BUILDSYS/categories/";;
+  list-categories) for d in $BUILDSYS/categories/*; do
+                     printf " %-7s  %s\n" ${d##*/} $d/*
+                   done;;
     show-buildsys) assert_vcsdir_valid "$BUILDSYS"
                    __rev=`get_rev "$BUILDSYS"`
                    __branch=`get_repourl "$BUILDSYS" | sed -e "s,$GAR_REPO,,"`

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list