[csw-devel] SF.net SVN: opencsw:[557] gar-wrapper
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Sun Sep 25 10:43:16 CEST 2011
Revision: 557
http://opencsw.svn.sourceforge.net/opencsw/?rev=557&view=rev
Author: skayser
Date: 2011-09-25 08:43:15 +0000 (Sun, 25 Sep 2011)
Log Message:
-----------
mgar: add default fallback to GARTYPE=v2
Modified Paths:
--------------
gar-wrapper/CHANGES
gar-wrapper/mgar
Modified: gar-wrapper/CHANGES
===================================================================
--- gar-wrapper/CHANGES 2011-09-24 23:26:14 UTC (rev 556)
+++ gar-wrapper/CHANGES 2011-09-25 08:43:15 UTC (rev 557)
@@ -2,6 +2,7 @@
* NEW command "status" to query VCS status (^= svn status)
* NEW command "reindex" to drop and re-build the search index
* NEW command alias "update" for "up"
+* NEW added fallback to DEF_GARTYPE if GARTYPE and externals not set
* DROP command "scm", typing "svn <sth>" is shorter than "mgar scm <sth>"
* CHANGE "locate" command output now sorted
* CHANGE "locate" now automatically builds the index (if not present)
Modified: gar-wrapper/mgar
===================================================================
--- gar-wrapper/mgar 2011-09-24 23:26:14 UTC (rev 556)
+++ gar-wrapper/mgar 2011-09-25 08:43:15 UTC (rev 557)
@@ -32,6 +32,7 @@
# ----------------------------------------------------------------------------
#
# Todos:
+# * 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)
@@ -58,6 +59,7 @@
EDITOR=${EDITOR:-vi}
PATH=$PATH:/opt/csw/bin
DEF_BUILDTREE=~/opencsw
+DEF_GARTYPE=v2
SVN_SELF=https://opencsw.svn.sourceforge.net/svnroot/opencsw/gar-wrapper/mgar
GAR_REPO=https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/
@@ -423,6 +425,7 @@
if [ -z "$__gartype" ]; then
__gartype=`svn pg svn:externals . | awk -F/ '/^gar/ { print $NF }'`
fi
+ [ -z "$__gartype" ] && __gartype=$DEF_GARTYPE
echo $BUILDTREE/.buildsys/$__gartype
}
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