[csw-devel] SF.net SVN: opencsw:[509] gar-wrapper
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Sun Aug 14 19:57:55 CEST 2011
Revision: 509
http://opencsw.svn.sourceforge.net/opencsw/?rev=509&view=rev
Author: skayser
Date: 2011-08-14 17:57:54 +0000 (Sun, 14 Aug 2011)
Log Message:
-----------
mgar: changed error message for pwd \!= build directory when running pkg specific commands
Modified Paths:
--------------
gar-wrapper/CHANGES
gar-wrapper/mgar
Modified: gar-wrapper/CHANGES
===================================================================
--- gar-wrapper/CHANGES 2011-08-11 02:34:27 UTC (rev 508)
+++ gar-wrapper/CHANGES 2011-08-14 17:57:54 UTC (rev 509)
@@ -1,12 +1,17 @@
+Changes since 0.92 (r380):
+* Improved error message when running a package specific command in
+ a non-package directory
+
Changes since 0.91 (r360):
* mgar will now warn and exit on legacy gar/ directories or symlinks
-* add new command "list-categories" to list the supported CATEGORIES
-* add new command "newpkg <pkg> <version>" to create package recipe skeletons
+* Added new command "list-categories" to list the supported CATEGORIES
+* Added new command "newpkg <pkg> <version>" to create package recipe skeletons
* commit: will now only work from within package directories
* commit: automatically commits parent directory when needed (new packages)
* find-file: exclude .git directories
-* find-file: default to list all files if no argument given
+* find-file: list all files if no argument given
* init: fix bug when calling with a relative path (Oliver Kiddle)
+* newpkg: fix double slash in svn:externals
* show-buildsys: fall back to "unknown" when GAR is not in subversion
* ~/.garrc: add variable OVERRIDE_BUILDSYS to globally override the
path to GAR. Can be used to test new GAR branches
Modified: gar-wrapper/mgar
===================================================================
--- gar-wrapper/mgar 2011-08-11 02:34:27 UTC (rev 508)
+++ gar-wrapper/mgar 2011-08-14 17:57:54 UTC (rev 509)
@@ -32,15 +32,17 @@
# ----------------------------------------------------------------------------
#
# Todos:
+# * Improve error messages when buildsys can't be found
+# * Enable mgar newpkg from anywhere (relative path to $BUILDTREE)
# * 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
-# * Improve error messages when buildsys can't be found
-# * Improve error messages when pwd != build dir (refer to miss./wrong Makefile)
# * In commit mode: verify that checksums is up to date (DISTFILES listed?)
+# * Tune locate a:<foo> so that you can also search substrings (e.g. sed
+# will also find recipes with gsed)
#
# Bugs:
#
@@ -146,7 +148,9 @@
}
function die_not_in_pkg_dir {
- echo "ERROR: This command needs to be run from within a package directory." >&2
+ echo "This command is supposed to be run from within a package build" >&2
+ echo "directory (i.e. one with a build recipe). Please change to one" >&2
+ echo "and re-run this command." >&2
exit 2
}
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