1092 Commits

Author SHA1 Message Date
Marco Vermeulen
3870cfb494 Update version of production to 5.5.3 5.5.3 2017-02-17 05:34:50 +00:00
Marco Vermeulen
a8a4cf7457 #515 Update README to make bug reporting process clearer. 2017-01-15 22:20:49 +01:00
Marco Vermeulen
1fbfe657a2 #521 Reverts white fonts back to no colour. 2017-01-11 22:28:58 +00:00
Pol Bassiner
367a0718bd Make upgrade command handle properly multi-upgrade in bash (#524) 2017-01-11 21:30:24 +00:00
Pol Bassiner
8df496b5ae Add zsh completion (#509) 2017-01-07 23:31:30 +00:00
Thomas Rasmussen
a028796c89 Revert "Fix IFS backup bug."
This reverts commit 05bb6d4c4a.

Changing the $IFS causes issues on some systems:
"Yesterday I updated sdkman to 5.3.0+159, and now I can not login to
OS (ubuntu 16.10)"
2016-12-28 19:03:33 +00:00
Marco Vermeulen
4e6ea2aad6 Fix bug in rendering confirmation messages on certain platforms. 2016-12-26 23:15:07 +00:00
Marco Vermeulen
8543191f63 Fix ordering of offline version list. 2016-12-24 14:52:12 +00:00
Marco Vermeulen
5596719682 Border line length updated to 80 chars. 2016-12-24 14:28:46 +00:00
Marco Vermeulen
d835139bb1 Format code: convert all spaces to tabs. 2016-12-24 14:11:42 +00:00
Marco Vermeulen
a38328cdee Fix formatting of help output. 2016-12-24 10:45:55 +00:00
Pol Bassiner
38e0c47826 Rename outdated command to upgrade (#507)
Thanks again for the great work!
2016-12-24 09:27:28 +00:00
Marco Vermeulen
c3c85507f5 Fix compatibility with macosx colours. 2016-12-23 23:20:28 +00:00
Marco Vermeulen
1fdaaf5ee9 Add config for colour console. 2016-12-23 19:36:24 +00:00
Marco Vermeulen
d9ab1260b1 Add colour to the console! 2016-12-23 18:33:58 +00:00
Marco Vermeulen
9f3d0ed506 Refine cuke of sdkman_auto_answer configuration on installation. 2016-12-21 13:55:06 +00:00
Pol Bassiner
3c400cd302 Make first installed candidate version automatically the default one 2016-12-21 13:55:06 +00:00
Marco Vermeulen
53630d2c9d Refine cuke of sdkman_auto_answer configuration on installation. 2016-12-21 08:38:59 +00:00
Marco Vermeulen
f240fd6e2a Further tweaks and improvements to #502 2016-12-20 22:37:14 +00:00
Marco Vermeulen
26abbe6d83 Some minor improvements to outdated command issue #502 2016-12-20 22:27:33 +00:00
Pol Bassiner
a207f97909 Outdated command can update all outdated candidates (#502) 2016-12-20 14:38:00 +00:00
Marco Vermeulen
05bb6d4c4a Fix IFS backup bug. 2016-12-18 16:24:32 +00:00
Marco Vermeulen
b906d06572 No longer blacklist production branch on CI. 2016-12-18 16:24:32 +00:00
Samir Talwar
ab297da811 Don't use the output of which or command -v. (#494)
`which less` has the following output in some versions of Bash:

    less is /usr/bin/less

`command -v less` outputs the path, but unfortunately has non-executable output in the case of aliases:

    $ alias less='my-super-less'
    $ command -v less
    alias less='my-super-less'

In this change, we use the exit code, not the output. (Thanks @halyph.)
2016-12-09 23:11:33 +00:00
Jason Palmer
e00e33b532 Fix bug when trying to use curl to get candidate list. (#498)
Set curl timeout defaults _before_ using curl to get candidates.
2016-12-09 08:10:35 +00:00
Pol Bassiner
decede2354 Change random string generation to be ansible friendly (#496) 2016-12-08 22:07:24 +00:00
Marco Vermeulen
9d7c88a318 Return on no mongo credentials found. 2016-12-08 08:00:55 +00:00
Marco Vermeulen
71584bb966 Automatically publish on upload to bintray. 2016-12-07 22:30:42 +00:00
Marco Vermeulen
d58915e9c5 Update default version from 5.0.0-SNAPSHOT to master. 2016-12-07 08:57:01 +00:00
Marco Vermeulen
03b43c6f2b Propagate platform to list view. 2016-12-01 21:53:36 +00:00
Marco Vermeulen
b5a7b35d02 Tweak initialisation spec. 2016-11-29 20:57:53 +00:00
Marco Vermeulen
d87c211a2c Always get candidate csv from current candidates api. 2016-11-29 18:20:53 +00:00
Marco Vermeulen
d700b2175e No longer mandate JAVA_HOME to be set on initialisation. 2016-11-28 13:50:44 +00:00
Marco Vermeulen
cea39cceee Add scenario for default compatible java version. 2016-11-28 13:30:57 +00:00
Marco Vermeulen
51ddcf5417 Refactor default step definition. 2016-11-28 09:07:35 +00:00
Marco Vermeulen
e9e4574495 Fix default version bug affecting platform specific candidates. 2016-11-28 09:02:17 +00:00
Marco Vermeulen
e37872123d Fix random sequence generation for raw binary name on osx. 2016-11-23 21:38:09 +00:00
Marco Vermeulen
4411444ece Improve version and candidate cache handling, bolster tests. 2016-11-23 21:32:59 +00:00
Marco Vermeulen
4a34f166a1 Add resilience to candidates cache and fix false positives in tests. 2016-11-23 18:19:42 +00:00
Marco Vermeulen
2cc42890a2 Clean code. 2016-11-21 21:52:31 +00:00
Marco Vermeulen
977817ebd8 Cut over to new default candidate endpoint. 2016-11-21 21:52:21 +00:00
Marco Vermeulen
ff2f73a773 Initialise candidates cache in SdkmanBashEnvBuilder. 2016-11-21 18:23:07 +00:00
Marco Vermeulen
1f86833f28 Export beta channel to selfupdate script. 2016-11-19 12:21:11 +00:00
Marco Vermeulen
9811f729ed Tweak logging in installation script. 2016-11-19 11:56:17 +00:00
Marco Vermeulen
7b43c3bf20 Java installation feature specification updated. 2016-11-19 11:11:12 +00:00
Marco Vermeulen
bb01373781 Split multi-platform and hooks features, clean up step defs. 2016-11-18 23:02:46 +00:00
Marco Vermeulen
a0b74de8d4 Improve stubbing of pre/post installation hooks. 2016-11-17 22:44:58 +00:00
Marco Vermeulen
0f8c306d27 Add test for post install hook non-zero return value. 2016-11-17 18:10:12 +00:00
Marco Vermeulen
53eb34242b Makes post-installation hook safer by sourcing implemented function. 2016-11-17 17:58:27 +00:00
Marco Vermeulen
0c965b1017 Makes pre-installation hook safer by sourcing implemented function. 2016-11-17 08:54:15 +00:00