139 Commits
Author SHA1 Message Date
Joshua Bussdieker 680e356630 Merge pull request #138 from uhoh-itsmaciek/respond-to-requests-for-help
Respond to help command by showing usage info
2015-12-17 12:26:26 -08:00
Nik Nyby f62c61ec5c Add --default option to documentation 2015-10-08 13:32:30 -04:00
Maciek Sakrejda e66076be0d Respond to help command by showing usage info 2015-05-21 21:17:41 -07:00
Ali Abbas 11f9d95444 add environment variable to enable global bash debug mode 2014-05-19 21:48:14 +02:00
Ali Abbas e27f83653f - implode function + confirmation prompt when invoking gvm implode
- test case
2014-04-12 15:57:26 +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
Ali Abbas 330dad10e4 * Best practice, to avoid possible break on space as in $* 2014-03-29 16:43:09 +01:00
Ali Abbas 51130f4be3 * Proper use of printf
* Prevent possible word splitting when eval sudo
2014-03-29 16:42:11 +01:00
Ali Abbas 175625a166 * $GVM_ROOT is the variable content, not the variable itself - better display GVM_ROOT to the user than $GVM_ROOT
* When executing $GVM_ROOT/scripts/$command - args need to be quoted otherwise they are treated as $*, which will break on spaces
2014-03-29 16:38:04 +01:00
Erik Aigner ab0e9e7c25 pkgenv command to edit package set environments. Fixes #41. 2013-11-16 17:20:42 +01: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
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
Simon Menke 5c78e3b5c5 Adding the alias command 2012-09-20 22:06:42 +02:00
Joshua Bussdieker 718f239a6c Add cross compile helper 2012-04-06 01:11:53 -07:00
Joshua Bussdieker 0cc983dec8 Fix error and dependency checking 2012-03-28 22:03:40 -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 a9640b0bbc Better error messages 2012-03-20 03:16:32 -07:00
Joshua Bussdieker e3246cef0d Match gpkg help format 2012-03-19 20:36:05 -07:00
Joshua Bussdieker 578436bb4e Update help and remove more gvm pkg artifacts 2012-03-14 04:42:37 -07:00
Joshua Bussdieker 36c74ada3f Display install location 2012-03-14 03:26:18 -07:00
Joshua Bussdieker 5d025fe287 Use color for version 2012-02-29 13:24:45 -08:00
Joshua Bussdieker 0bce362db2 Better prompt 2012-02-29 11:14:51 -08:00
Joshua Bussdieker dc4b7fa427 Fix tabs 2012-02-28 21:55:39 -08:00
Joshua Bussdieker 569811ddfc Functions! 2012-02-28 21:55:24 -08:00
Joshua Bussdieker e450b60297 More error handling fixes 2012-02-20 12:07:51 -08:00
Joshua Bussdieker cd3db339c8 Use gb -bi if there is no Makefile.gvm 2012-02-02 00:05:20 -08:00
Joshua Bussdieker b32fab8386 Another prompt fix 2012-02-01 21:58:28 -08:00
Joshua Bussdieker 3709f07d0b Fix prompt display 2012-02-01 20:43:27 -08:00
Joshua Bussdieker f2a296c740 More environment changes 2012-01-31 22:26:04 -08:00
Joshua Bussdieker 977483bead Use new scripts layout 2012-01-31 20:49:16 -08:00
Joshua Bussdieker 45479afde9 Move scripts out of path 2012-01-31 20:21:48 -08:00
Joshua Bussdieker 9ce4041092 Added bash prompt tool. Updated CHANGELOG. 2012-01-31 00:33:15 -08:00
Joshua Bussdieker 01906265c1 Merge branch 'master' of github.com:moovweb/gvm 2012-01-29 18:02:05 -08:00
Joshua Bussdieker f925974134 Fixed missing manifest error 2012-01-29 18:01:54 -08:00
Joshua Bussdieker efe747704f Updated pkg install script to build from local source 2012-01-28 12:50:08 -08:00
jbussdieker 1e9a77d4db Update manifest format 2012-01-27 13:07:30 -08:00
Joshua Bussdieker ce2a58a007 Generate manifest file 2012-01-27 07:26:55 -08:00
Joshua Bussdieker bc98ac6e7f Jenkinsify 2012-01-27 04:59:38 -08:00
Joshua Bussdieker 5fe338c965 gvm pkg install is complete! 2012-01-27 04:29:45 -08:00
Joshua Bussdieker d1fc078aab Remove pkgsets too 2012-01-27 03:26:01 -08:00
Joshua Bussdieker 95436556ac Install gb as part of installing Go 2012-01-27 03:25:00 -08:00
Joshua Bussdieker 3b6e8910e0 Major gvm install revamp 2012-01-27 03:19:06 -08:00
Joshua Bussdieker f86f1af574 Better flow 2012-01-27 03:14:03 -08:00
Joshua Bussdieker cdf14ad897 Fix comparison bug 2012-01-27 02:45:08 -08:00
Joshua Bussdieker 98bd69197e Fuzzy match for uninstall 2012-01-27 02:42:55 -08:00
Joshua Bussdieker 8cd16082e5 Allow gvm use shorthand 2012-01-26 16:46:22 -08:00
Joshua Bussdieker b45033138d Also need to unset GOBIN 2012-01-26 16:37:45 -08:00
Joshua Bussdieker ded99d1a4a More debug info 2012-01-26 16:20:10 -08:00