175 Commits
Author SHA1 Message Date
Matt T. Proud a1b2d926d6 Provide support for vendored native code workflow.
This commit introduces generated overlay filesystem support for
${PATH}, ${LD_LIBRARY_PATH}, and ${PKG_CONFIG_PATH} as well as
includes a working example of how to take advantage of this support
when integrating with vendored code.
2013-05-24 11:36:44 +02:00
jbussdieker e209cb6742 Merge pull request #18 from COLDTURNIP/master
Store packageset data under local path.
2013-05-23 13:30:49 -07:00
Joshua Bussdieker 1a8639a1ca Fix issue with running update source but then not properly finding version. () <= subshell fail 2013-05-23 13:03:18 -07:00
Joshua Bussdieker 3c1ea3e670 Change response to already installed version. 2013-05-23 12:44:56 -07:00
Tatsuo Kaniwa 2ccc790306 add -w option to grep 2013-05-16 05:42:16 +09: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
Simon Menke 5c78e3b5c5 Adding the alias command 2012-09-20 22:06:42 +02:00
Joshua Bussdieker 99579e9ada Fix bug with gvm completion script 2012-07-21 03:04:48 -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 292e24e1ea Mostly working gnu install process 2012-04-06 04:20:11 -07:00
Joshua Bussdieker 004a4be87a Cleanup messages and add more error handling 2012-04-06 01:32:08 -07:00
Joshua Bussdieker 4429234d51 This needs to happen first 2012-04-06 01:15:49 -07:00
Joshua Bussdieker ee8f6bd7c8 Use tool locations from functions 2012-04-06 01:13:22 -07:00
Joshua Bussdieker 718f239a6c Add cross compile helper 2012-04-06 01:11:53 -07:00
Joshua Bussdieker 5b4da7cd20 Need tput and TERM=xterm for color. This fixes calling scripts from gedit. 2012-04-01 17:14:11 -07:00
Joshua Bussdieker ba20d967e0 Major cleanup of install script. Default is now clean install. 2012-03-28 23:43:54 -07:00
Joshua Bussdieker b44a14bb35 Fix match for go current go version 2012-03-28 23:21:33 -07:00
Joshua Bussdieker 06d266197d Add warning if protoc isn't found when installing a Go version
with protocol buffer support
2012-03-28 22:56:53 -07:00
Joshua Bussdieker 0cc983dec8 Fix error and dependency checking 2012-03-28 22:03:40 -07:00
Joshua Bussdieker 5b7c7d708b Check for tput 2012-03-28 21:52:52 -07:00
Joshua Bussdieker 33c8fb5a38 Merge branch 'master' of https://github.com/moovweb/gvm 2012-03-28 11:01:18 -07:00
Joshua Bussdieker f57677b96a List go1 versions in gvm listall 2012-03-28 11:00:37 -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 37e9eef1f0 More logger like 2012-03-27 22:45:03 -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 68c0ffdf9e Don't know how this got deleted 2012-03-20 05:39:50 -07:00
Joshua Bussdieker 469bd7c81c Cleanup system package install 2012-03-20 05:36:27 -07:00
Joshua Bussdieker a9640b0bbc Better error messages 2012-03-20 03:16:32 -07:00
Joshua Bussdieker bc2ef7ba41 Fix bug in pb option 2012-03-19 22:05:49 -07:00
Joshua Bussdieker a28c8f220e Use display_warning function 2012-03-19 21:51:54 -07:00
Joshua Bussdieker 6bbf1f3bb5 Safer strings 2012-03-19 21:44:39 -07:00
Joshua Bussdieker 55ae6dd774 Make protocol buffer support optional 2012-03-19 21:44:14 -07:00
Joshua Bussdieker 4558bd0b53 That's a bug if I've ever seen one! 2012-03-19 21:09:25 -07:00
Joshua Bussdieker 4359f5252f Fix path bug and add back config 2012-03-18 11:13:41 -07:00
Joshua Bussdieker 0cae267942 Update source 2012-03-17 06:56:41 -07:00
Joshua Bussdieker 413af34098 Fix output bug 2012-03-14 03:35:00 -07:00
Joshua Bussdieker 31403a1024 Leftover from gvm pkg 2012-03-14 03:33:05 -07:00
Joshua Bussdieker e02f21ed01 Fix pkgset list bug 2012-03-07 01:38:54 -08:00
Joshua Bussdieker 595531b7fc Taken over by gpkg 2012-03-04 22:54:05 -08:00
Joshua Bussdieker 85db8304cc Safety feature 2012-03-04 22:09:41 -08:00
Joshua Bussdieker de9ceccb78 More message cleanup 2012-03-04 18:01:08 -08:00