38 Commits
Author SHA1 Message Date
Joshua Bussdieker 25ea8ae158 Add gvm use -h. Fixes #128 2015-12-17 12:39:08 -08:00
Nik Nyby 4231e20b6a Fix typos: specifiy -> specify 2015-04-08 23:13:13 -04:00
Naoya Inada e1ea0e745f Change Go source repository to git 2015-02-04 09:49:50 +09:00
jambli 3d465f0ead Fix typos in pkgset-use 2014-07-12 11:22:01 -04:00
Ali Abbas e27f83653f - implode function + confirmation prompt when invoking gvm implode
- test case
2014-04-12 15:57:26 +02:00
Ali Abbas c1ec392bdd - Double quoting to avoid globbing
- Remove unecessary $(cat)
- switch * to ./* to avoid entries with dashes to be treated as options
- replace $* with "$@"
- repeating change path serial calls - unecessary if change path is called one (get script)
2014-04-12 15:56:54 +02:00
Ali Abbas 7d722aee3f * Switch $* to $@
* Use double quote everywhere, to avoid potential future globbing or word splitting
* Beautify EDITOR eval
* Fix typo in gvm-installer
* bin double quotes - best practice to avoid potential shell globbing and word splitting
* properly reference variable label
* simplify gvm-installer
2014-04-05 10:13:57 +02:00
Dan Buch 033c72a113 Seeing if this makes the experience with $PATH more like I'd expect 2013-06-12 08:50:10 -04:00
COLDTURNIP f3a0ec1274 Allow managing pkgset under local folder.
While replacing pakcageset name with "--local", the packageset
information will be managed under some/local/repo/.gvm_local folder, and
add the root path of repository as the first path in GOPATH and PATH.
This makes the repository more portable since we don't store all the
go-installed package files under $HOME/.gvm .

The repository root path for gvm is definded as $PWD while
"pkgset create --local" . When "pkgset list" under some configured local
repository, it will list the root path as the first packageset, and
marked with "L".
2013-02-11 02:19:00 +08:00
Matt T. Proud 4e117a3ab8 Provide support for FreeBSD.
FreeBSD does not by default install the Bourne-Again Shell (bash); and
when it is installed, it is most certainly not installed to
``/bin/bash`` due to the nuances of the conventions around local site
packages.  Rather, it is installed to ``/usr/local/bin/bash``.

Golang explicitly supports FreeBSD, so it should only be reasonable for
GVM to support this target, too.  As a fix, the shell script shebang
definitions now use the ``env`` tool that comes from the _coreutils_
standard package, which is installed on all conventions-adhering Linux
distributions, Mac OS X, and FreeBSD.

FreeBSD prerequisites are now listed in the documentation.

I have tested this against FreeBSD 9.0 release branch on the amd64,
and it works satisfactorily now.
2012-11-18 20:10:59 +01:00
Manoj Dayaram b0ffc5c3c5 Making version var local so as to not conflict with any global version vars when executing gvm use 2012-09-20 15:08:18 -07:00
Joshua Bussdieker 0eb9feb2aa Better error output when trying to 'gvm use' a version that
isn't installed. Fixes issue #15
2012-07-18 12:28:58 -07:00
Joshua Bussdieker 54df5d9ccd display_error no longer exits so it's safe to use when running
in the source environment. Also catch tool errors in the gvm script
and function.
2012-03-27 22:48:02 -07:00
Joshua Bussdieker 895f00603b Revert "provide cleaner output where tput doesn't exist"
This reverts commit a3bd04c4c9.
2012-03-25 10:32:30 -07:00
Clinton Sheppard a3bd04c4c9 provide cleaner output where tput doesn't exist
e.g. msysgit - Git for Windows
2012-03-25 08:48:24 -05:00
Joshua Bussdieker aece4141b7 Missed a reference 2012-03-24 05:13:58 -07:00
Joshua Bussdieker 0f111283cc Merge branch 'master' of github.com:moovweb/gvm
Conflicts:
	scripts/diff
	scripts/templates/binary
2012-03-24 05:00:40 -07:00
Joshua Bussdieker 00ca5e9ce1 Get the clean path to common posix tools used by GVM 2012-03-24 04:57:24 -07:00
Joshua Bussdieker 42b539cadb Merge branch 'master' of https://github.com/moovweb/gvm
Conflicts:
	scripts/diff
2012-03-23 10:14:28 -07:00
Joshua Bussdieker 30e0fc52df Make zsh compatible 2012-03-23 10:11:51 -07:00
Joshua Bussdieker 3a5813784e Find the system ls command and use it to fix issue #6 2012-03-22 22:09:05 -07:00
Joshua Bussdieker 4359f5252f Fix path bug and add back config 2012-03-18 11:13:41 -07:00
Joshua Bussdieker 85db8304cc Safety feature 2012-03-04 22:09:41 -08:00
Joshua Bussdieker 4933d13418 Fix tabs. Can now gvm pkgset use blah --default 2012-03-04 17:34:37 -08:00
Joshua Bussdieker fc5db824bf Fix pkgset use bug 2012-03-01 23:08:08 -08:00
Joshua Bussdieker 1ad33a27b7 Fix path bug 2012-03-01 22:43:48 -08:00
Joshua Bussdieker b78b083fea Fuzzy match fix 2012-02-29 20:02:44 -08:00
Joshua Bussdieker 991cc52dec Color the use 2012-02-29 13:45:13 -08:00
Joshua Bussdieker 0ff9744151 Better gvm env function 2012-02-29 12:19:34 -08:00
Joshua Bussdieker 09f4d6688d Fix gvm use bug when using fuzzy match. 2012-02-28 18:59:08 -08:00
Joshua Bussdieker ad6c550946 Print errors to stderr 2012-02-18 15:16:56 -08:00
Joshua Bussdieker ce02e01827 make sure folders exist in the gvm function 2012-02-01 20:43:41 -08:00
Joshua Bussdieker 2099b8bb0e Fix pkgset use 2012-02-01 20:02:55 -08:00
Joshua Bussdieker 0468a3cdef More env fixes 2012-02-01 17:20:15 -08:00
Joshua Bussdieker 50d521c28a Working on environments 2012-02-01 02:18:10 -08:00
Joshua Bussdieker e5b9b8a89b Unused error handling 2012-01-31 22:26:47 -08:00
Joshua Bussdieker f2a296c740 More environment changes 2012-01-31 22:26:04 -08:00
Joshua Bussdieker 4e0cf27e22 Use enviroments 2012-01-31 21:49:16 -08:00