Commit Graph

402 Commits

Author SHA1 Message Date
Marco Vermeulen
24eb4c41e5 Remove *actual groovy binary* from test resources. Rework dummies and update specs accordingly. 2013-03-28 21:31:36 +00:00
Marco Vermeulen
f61394ff34 Clean up file instantiations. 2013-03-26 13:40:59 +00:00
Marco Vermeulen
61e20520ff Use universal sed switches. OSX specifics removed. 2013-03-25 08:16:04 +00:00
Marco Vermeulen
f7147623ea Perform os specific support checks using subshells. 2013-03-22 08:12:53 +00:00
Marco Vermeulen
abcba473a4 Fix defect: Incorrect usage of uname on OSX. 2013-03-22 08:05:32 +00:00
Marco Vermeulen
8c4466287a Revert source to earlier stable state at 38afc. 2013-03-21 08:32:29 +00:00
Marco Vermeulen
4fd6a84760 Merge pull request #133 from thomasbittermann/master
prevent displaying 'which' error message
2013-03-01 16:04:53 -08:00
T. Bittermann
a903acaf85 prevent displaying which error message '/usr/bin/which: no gvm-init.sh in (...)' 2013-02-14 21:28:03 +01:00
Marco Vermeulen
52d307d063 Merge pull request #128 from dsyer/feature/testoutput
Add stdout from bash processes to test reports
2013-02-09 10:45:07 -08:00
Marco Vermeulen
9b534667a6 Merge branch 'master' of github.com:gvmtool/gvm 2013-02-09 18:39:56 +00:00
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
196761a37d Fix zsh compatibility issue when checking for --flush param on initialisation. 2013-02-09 18:31:32 +00: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
04c775ce3e Add stdout from bash processes to test reports
Its quite hard to debug what went wrong if a test fails
so it would be very helpful to have a record somewhere of
the stdout from bash.  This patch appends it to the test
report.
2013-02-06 14:55:49 +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