Commit Graph

188 Commits

Author SHA1 Message Date
Dave Syer
342b813d77 Remove hard-coded references to candidates
It seems wrong to hard-code the candidate names when they are
available from the server.  It also makes it hard to add new
candidates.  The scripts pretty much work with a really small
change to gvm-use.sh, but the tests also rely on the PATH being
set, so there is a change to the tests as well to make them pass.
2013-01-31 13:47:02 -05:00
Marco Vermeulen
3a36efc1da Upgrade to cucumber-jvm 1.1.1 2013-01-26 10:29:09 +00:00
Marco Vermeulen
16b1a624c6 Rename upgrade steps to selfupdate steps. 2013-01-26 10:02:40 +00:00
Marco Vermeulen
d2f60a1bcb Adds configuration of auto answer on install and selfupdate. 2013-01-26 09:57:50 +00:00
Marco Vermeulen
edf9d79155 Upgrade feature renamed to Self Update. 2013-01-26 07:36:40 +00:00
Marco Vermeulen
22cec73231 Minor tweaks to auto install configuration and cukes. 2013-01-26 07:11:47 +00:00
Dave Syer
0fea0aea4d Rename auto var to gvm_auto_answer 2013-01-24 12:26:03 +00:00
Dave Syer
93121e907d Use a single flag 'gvm_auto' instead of separate use/install 2013-01-23 13:50:25 +00:00
Dave Syer
9574046bfe Add gvm_auto_{install,use} in $GVM_DIR/etc/config
Fixes #101.

These flags are consulted when gvm is asked to use an uninstalled version
or to install an unused version.  User is prompted for a response
by default but this can be overridden by adding these flags to
the confg, e.g.

$ echo gvm_auto_install=Y >> $GVM_DIR/etc/config
$ echo gvm_auto_use=Y >> $GVM_DIR/etc/config
$ gvm use groovy 1.8.8
... (installs and uses without prompting)
2013-01-23 12:52:38 +00:00
Marco Vermeulen
9c3902e4c3 Issue 106 108: which command breaks zsh in init snippet. 2013-01-22 22:10:33 +00:00
Marco Vermeulen
b8c279fe16 Strip out isolated_mode configuration. 2013-01-22 20:52:18 +00:00
Marco Vermeulen
d806733cce Improve instantiation of mongo.json file. 2013-01-22 19:59:24 +00:00
Marco Vermeulen
679366954e Tweak install function for zsh compatibility. 2013-01-21 14:33:07 +00:00
Marco Vermeulen
90b04751f3 Upgrade version to 0.9.5, add mongo release script. 2013-01-21 13:52:21 +00:00
Marco Vermeulen
3524e000c5 Remove separator in list template. 2013-01-20 21:36:16 +00:00
Marco Vermeulen
e8b8c96b8a Add list functionality for local candidate versions. 2013-01-20 14:09:06 +00:00
Marco Vermeulen
8d69e63069 Bug fix on defaulting candidates after installation. 2013-01-20 14:09:06 +00:00
Peter Ledbrook
f995b891b1 Fix problem switching from local version to standard.
In isolated mode, attempting to switch from a locally installed version to a
standard one would fail if the label for the local version did not start with
a number, e.g. 'dev'. One of the regular expressions in gvm-use.sh was still
assuming that versions always began with a number, which of course is no longer
the case.

I fixed the regular expression and added a corresponding Cucumber scenario.
2013-01-18 15:00:01 +00:00
Marco Vermeulen
ac948a6a33 Improvement on platform specific hacks for cygwin. 2013-01-18 14:18:50 +00:00
Marco Vermeulen
a9ccc82431 Remove obsolete unsets from install and selfupdate scripts. 2013-01-18 14:15:55 +00:00
Marco Vermeulen
48d1b582b0 Ensure that etc/config is primed on initial installation. 2013-01-14 22:51:07 +00:00
Marco Vermeulen
68bf18df33 Differentiate between install and selfupdate in audit logs. 2013-01-14 22:50:28 +00:00
Marco Vermeulen
04f2d06e92 Use uname to determine operating system with -o switch. 2013-01-14 22:48:54 +00:00
Marco Vermeulen
5c38db2a08 Bug fix: repair stray config in ext folder. Include feature file. 2013-01-14 22:01:24 +00:00
Marco Vermeulen
ed4b33cfaa Bug fix on setting up etc folder during installation process. 2013-01-14 13:48:34 +00:00
Marco Vermeulen
8882e1eefb Code style tweaks in install and selfupdate scripts. 2013-01-14 13:34:59 +00:00
Marco Vermeulen
7f9c9bd79e Apply pull request changes to selfupdate script. 2013-01-14 13:10:42 +00:00
Marco Vermeulen
4915c8fc8a Clean up pull request. 2013-01-14 13:03:41 +00:00
Marco Vermeulen
f1718f4be0 Merge pull request #109 from michalbcz/master
Issue #107 GVM doesn't work on Cygwin quickfix
2013-01-14 05:00:59 -08:00
Marco Vermeulen
983fbaa913 New features: Set a local development version as default or in use. 2013-01-13 22:28:38 +00:00
Marco Vermeulen
b8f7c9b52b New feature: Uninstall a local development version. 2013-01-13 22:03:23 +00:00
Marco Vermeulen
97804dcc8b New feature: Attempt installing a local development version that already exists. 2013-01-13 21:46:20 +00:00
Marco Vermeulen
9f1f574578 Mount test dir on random base on setup of test fixture. 2013-01-13 21:44:38 +00:00
Marco Vermeulen
58d34f5d75 Fix typo in local development versions feature. 2013-01-13 01:26:35 +00:00
Marco Vermeulen
21a6198499 Install a new local development version screnario implemented. 2013-01-13 01:24:54 +00:00
Marco Vermeulen
32d15f893b Revert "Prime the candidate folders in cucumber environment."
This reverts commit d7e5d62d2d.
2013-01-12 22:57:47 +00:00
Marco Vermeulen
9c043bd11c Rework installation step definitions. 2013-01-12 22:10:53 +00:00
Marco Vermeulen
d7e5d62d2d Prime the candidate folders in cucumber environment. 2013-01-12 17:43:47 +00:00
Michal Bernhard
e82788bfc5 Issue #107 GVM doesn't work on Cygwin - fix 2013-01-10 23:21:40 +01:00
Marco Vermeulen
c41eddc0cd Upgrade version to 0.9.4 2013-01-04 17:07:00 +00:00
Marco Vermeulen
75d74b8246 Add scenario to ensure vertx upgrade happens once only. 2013-01-03 15:46:25 +00:00
Marco Vermeulen
deef5713e8 Add detail to upgrade feature for vertx migration. 2013-01-02 14:36:44 +00:00
Marco Vermeulen
da1ac94dde Source extensions with gvm- prefix rather than sourced- 2013-01-01 23:42:54 +00:00
Marco Vermeulen
b7d5fafb6a Further tweaks and fix broken scenario related to command not found. 2013-01-01 23:40:59 +00:00
Jeff Beck
e180473c73 Added error case for command not found, that will run __gvmtool_help 2013-01-01 23:23:33 +00:00
Jeff Beck
2792c2ebf2 Removed support for script based extensions. 2013-01-01 23:23:33 +00:00
Jeff Beck
a5520af3a6 Added a check for extension functions that are sourced as available commands. 2013-01-01 23:23:33 +00:00
Marco Vermeulen
794b334054 Add robots.txt endpoint. 2012-12-31 16:46:22 +00:00
Marco Vermeulen
d284ecbffd Tweaks to update script. 2012-12-31 11:50:43 +00:00
Marco Vermeulen
0ac6730879 Rename vert.x to vertx on upgrade. 2012-12-31 11:41:21 +00:00