Commit Graph

390 Commits

Author SHA1 Message Date
Marco Vermeulen
158a8ffe2e Merge pull request #131 from dsyer/feature/helpcandidates
Remove hard coded list of candidates from gvm-help
2013-02-09 10:39:10 -08:00
Marco Vermeulen
71c29c7847 Merge pull request #126 from dsyer/bug/defaultpath
Ensure /current/bin is on PATH if a default is set
2013-02-09 10:18:32 -08:00
Dave Syer
6ff47f5f48 Remove hard coded list of candidates from gvm-help 2013-02-08 14:29:40 +00:00
Marco Vermeulen
76ff6f5c83 Fix a typo in javadoc. 2013-02-07 15:14:06 +00:00
Dave Syer
23a8872693 Ensure /current/bin is on PATH if a default is set 2013-02-05 15:43:39 +00:00
Dave Syer
7c9f9b6657 Re-instate /current/bin on PATH 2013-02-04 16:08:59 +00:00
Dave Syer
07a5fd416d Promote gvm-init.sh to be a first class function 2013-02-04 15:48:55 +00:00
Marco Vermeulen
19072c7e16 Merge pull request #117 from dsyer/feature/unhardcode
Remove hard-coded references to candidates
2013-02-04 07:24:20 -08:00
Dave Syer
d316ec7857 Cache candidates per service and add option to flush 2013-02-01 06:44:33 -05:00
Dave Syer
cb0f9aae07 Fix bug in PATH accidentally introduce in previous rebase 2013-01-31 13:47:03 -05:00
Dave Syer
eaf40fd1e0 Move GVM_CANDIDATES building code to init script 2013-01-31 13:47:02 -05:00
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
38afc71f14 Merge pull request #124 from greymeister/fix-readme
Updating vertx install command.
2013-01-31 05:21:34 -08:00
Charles Erwin
ddf4d014ea Updating vertx install command. 2013-01-30 22:27:31 -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
Marco Vermeulen
3d9ad360ad Merge pull request #118 from dsyer/feature/autoinstall
Add gvm_auto_{install,use} in $GVM_DIR/etc/config
2013-01-24 08:51:11 -08: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
Marco Vermeulen
56a94aed7b Merge pull request #119 from dsyer/master
Trivial changes to .gitignore
2013-01-23 05:39:28 -08:00
Dave Syer
8ed83e2d60 Add editor auto-save files to .gitignore 2013-01-23 13:34:10 +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
df6d474122 Updates to 0.9.5 mongo script. 2013-01-22 22:21:02 +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
314f6b4530 Minor tweaks to README.md 2013-01-22 20:02:39 +00:00
Marco Vermeulen
d806733cce Improve instantiation of mongo.json file. 2013-01-22 19:59:24 +00:00
Marco Vermeulen
fa403266cf Merge pull request #114 from dsyer/patch-1
Update README.md
2013-01-22 11:58:40 -08:00
Dave Syer
bfc32ceeac Update README.md
The Mongo instructions did work, but the instructions were
a little bit unclear.  I also noticed that the db directory
has all the scripts needed to re-create the site.  Hopefully
this helps.
2013-01-22 15:10:05 +00:00
Marco Vermeulen
9ebd1ef957 Merge pull request #115 from dsyer/master
Small metadata changes to add eclipse project support if desired
2013-01-22 06:05:05 -08:00
Dave Syer
4a2447def4 Add Eclipse metadata generation 2013-01-22 11:40:13 +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
6dc20cd4f1 Tweak README markdown. 2013-01-21 13:47:32 +00:00
Marco Vermeulen
f20d9aa8aa Updates to README to explain running GVM server locally. 2013-01-21 13:32:43 +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