Commit Graph
218 Commits
Author SHA1 Message Date
Antonio Murdaca 9bc84bc286 Fix download for older go binary version 2015-01-11 22:35:12 +01:00
Joshua Bussdieker ac17654314 Merge pull request #91 from kainosnoema/fix/download-url
Fix invalid download paths preventing install
2014-07-21 22:18:35 -07:00
Evan Owen fb0881a609 Fix indentation everywhere
Signed-off-by: Evan Owen <kainosnoema@gmail.com>
2014-07-21 22:14:04 -07:00
Joshua Bussdieker ae439a3560 Merge pull request #92 from tianon/arm
Update "gvm cross" to support ARM properly
2014-07-21 22:13:08 -07:00
Evan Owen f9b3d1699d Replace go.googlecode.com fallback with storage.googleapis.com
go.googlecode.com no longer works, storage.googleapis.com does.

Signed-off-by: Evan Owen <kainosnoema@gmail.com>
2014-07-21 22:12:07 -07:00
Evan Owen b3ac750c04 Remove extra 'go' from download URL path
GO_BINARY_FILE already contains the full "go1.3..." path.

Signed-off-by: Evan Owen <kainosnoema@gmail.com>
2014-07-21 22:12:07 -07:00
Joshua Bussdieker 112dfaac37 Merge pull request #88 from amitkgupta/master
gvm-check shows all missing requirements.
2014-07-21 22:08:07 -07:00
Tianon Gravi 78e2e80d40 Update "gvm cross" to support ARM properly 2014-07-21 10:29:38 -06:00
Dan Buch 9a9aab4b12 Correcting download URL construction
to not have a double `go`, e.g. when running one of the following:

    gvm install go1.3 --binary

or:

    gvm install go1.3 --prefer-binary
2014-07-21 11:27:12 -04:00
Dan Buch 38dfba78b8 Making all prefer-binary bits consistent 2014-07-21 10:37:42 -04:00
Amit Gupta 3ffc794bc5 gvm-check shows all missing requirements. 2014-07-20 23:52:59 -04:00
jambli 3d465f0ead Fix typos in pkgset-use 2014-07-12 11:22:01 -04:00
Joshua Bussdieker a5ade13862 Merge pull request #84 from hoffoo/master
fix binary download path to golang.org/dl
2014-07-09 14:43:01 -07:00
Marin 53fff83811 fall back to google code
if http://golang.org/dl (newer versions) fails, try to download from google code.
2014-07-08 20:03:34 -07:00
Marin fa0f1b4d57 fix binary download path to google code 2014-07-08 19:25:31 -07:00
Dan Buch 6b75a19639 Adding support for --preferbinary
to attempt an install from binary, falling back to source install.
2014-06-25 10:27:19 -04:00
Joshua B. Bussdieker 35d369dfd3 Cleanup error output 2014-06-12 15:10:37 -07:00
Michael Maltese 8954a3cb39 Mac binary package URLs contain system version
Fixes #77
2014-06-12 12:42:52 -07:00
Joshua B. Bussdieker 1218d4ed0f Fix typo 2014-06-12 12:20:45 -07:00
Joshua B. Bussdieker f265a1caca Try to detect OS and ARCH. Also cache downloaded binary. 2014-06-12 12:09:49 -07:00
Joshua B. Bussdieker 0bd1e648d8 MVP of binary install 2014-06-12 11:29:42 -07:00
Ali Abbas e27f83653f - implode function + confirmation prompt when invoking gvm implode
- test case
2014-04-12 15:57:26 +02:00
Ali Abbas b38be0c606 use GREP_PATH variable instead 2014-04-12 15:57:17 +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
Andrei Serdeliuc 1e9bca22a8 add output option to pkgenv
Using `pkgenv -o` or `pkgenv --output` will now cat the file instead of editing it.
2014-02-27 12:06:31 +01:00
Manoj Dayaram 402f71240e Merge pull request #51 from fdr/editor
Make gvm pkgenv sensitive to the EDITOR environment variable
2014-02-07 19:46:27 -08:00
Michael Fellinger 81fc036d26 Use "$PATH" to avoid weirdness.
Without this, I get this error when gvm is being loaded:

    /home/manveru/.gvm/scripts/gvm-default:export:17: not an identifier: 2:/home/manveru/node_modules/.bin:/home/manveru/github/akunspy/gopbuf/bin:./node_modules/.bin:.
2014-02-07 19:23:23 +01:00
Daniel Farina aa8763043d Make gvm pkgenv sensitive to the EDITOR environment variable
For those who do not use 'vi', although 'vi' is still the default.
2014-02-06 11:20:53 -08:00
Erik Aigner ab0e9e7c25 pkgenv command to edit package set environments. Fixes #41. 2013-11-16 17:20:42 +01:00
Joshua Bussdieker 99abb6d6ee Cleanup log location code 2013-11-12 01:55:37 -05:00
Peter Souter 3d24872ac7 Show log location when errors occur...
Makes it easier for users to figure out what happened :)
2013-10-17 10:34:09 +01:00
jbussdieker ed13433a66 Merge pull request #33 from modcloth-labs/filling-in-linkthis-docs
Filling in some docs for the `linkthis` command
2013-08-05 11:49:35 -07:00
Dan Buch 224a8deb25 Filling in some docs for the linkthis command
as well as some minor space/tab touchup.
2013-07-26 08:44:36 -04:00
jbussdieker c94d65bce5 More completion updates 2013-07-25 17:50:50 -07:00
jbussdieker 189e5403e4 Add go* versions to completion for gvm install 2013-07-25 17:47:22 -07:00
Benjamin R. Haskell 4465f22f83 Fixes more broken zsh completion cases
There were more instances where the version parameter should be
quoted in zsh.
2013-07-25 19:36:13 -04:00
jbussdieker 38c97abde2 Merge pull request #31 from modcloth-labs/linkthis
Adding `gvm linkthis` command
2013-07-25 07:57:42 -07:00
Rafe ColtonandDan Buch 24e475d6ff Adding gvm linkthis command
This links the current project into the $GOPATH/src to allow `go get` to
find the local development copy instead of the one on GitHub (or
wherever)

Signed-off-by: Dan Buch <d.buch@modcloth.com>
2013-07-24 13:15:39 -04: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
jbussdieker 45a4d1ff42 Merge pull request #25 from benizi/fix-zsh-completion
Fixes quoting so completion works in zsh
2013-05-29 02:40:23 -07:00
Benjamin R. Haskell 8999f3f072 Fixes quoting so completion works in zsh 2013-05-29 00:00:23 -04:00
Benjamin R. Haskell 3f72ed5f89 Fixes hard-coded path to cache 2013-05-28 23:53:37 -04:00
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