Commit Graph

1220 Commits

Author SHA1 Message Date
Oliver Weiler
94dc2f3495 Revert error message 2020-04-05 19:55:46 +01:00
Oliver Weiler
4302f4178d Improve error message for malformed candidate entry 2020-04-05 19:55:46 +01:00
Oliver Weiler
20ace978d7 Add Spock specifications for testing newline handling and candidate entry check 2020-04-05 19:55:46 +01:00
Oliver Weiler
13a46509c6 Move handling of lines without newlines to while loop 2020-04-05 19:55:46 +01:00
Oliver Weiler
02c371d519 Move handling of lines without newline into while-loop 2020-04-05 19:55:46 +01:00
Oliver Weiler
9e9a97fc7a Fix wrong os.name for Mac OS X 2020-04-05 19:55:46 +01:00
Oliver Weiler
d3db71cae0 Revert change to UnixUtils 2020-04-05 19:55:46 +01:00
Oliver Weiler
ff80e2819b Add sdk env command to allow per-project configuration 2020-04-05 19:55:46 +01:00
Marco Vermeulen
ef168ab022 Remove offending character from home.feature. 2020-03-13 09:19:35 +00:00
Marco Vermeulen
e79826e136 Move home comments out of source into feature file. 2020-03-13 08:31:06 +00:00
Erik Zivkovic
0c7168a1a5 Home dir: Fix broken mnemonic test case 2020-03-13 08:26:40 +00:00
Erik Zivkovic
377c66910f Home dir: use h mnemonic for home instead of help 2020-03-13 08:26:40 +00:00
Erik Zivkovic
e1da905871 Home dir: Move documentation comment into home src 2020-03-13 08:26:40 +00:00
Erik Zivkovic
d284d98918 Add a command to print the home path of an installed SDK 2020-03-13 08:26:40 +00:00
yujiorama
641cf68dd1 change sed delimiter to safe character 2020-03-10 07:24:27 +00:00
Marco Vermeulen
28f4190406 Remove all cookie remnants of Oracle JDK from codebase. 2019-11-22 17:04:06 +00:00
Marco Vermeulen
e3ac77f413 Remove obsolete version flush code branch. 2019-11-22 15:07:41 +00:00
Marco Vermeulen
960fa918ec Code formatting. 2019-11-22 14:42:01 +00:00
Marco Vermeulen
788a6b0a56 Remove erroneous failing spec. 2019-11-22 14:41:35 +00:00
Marco Vermeulen
3644186f07 Upgrade to latest library versions. 2019-11-22 14:40:42 +00:00
Marco Vermeulen
9c03510d3c Simplification and improvements to use command.
* For version explicit version in use command
* Do not offer to install version on use command
2019-10-27 18:33:20 +00:00
Marco Vermeulen
52a706adcd Improve wording for cache updates. 2019-10-22 08:15:28 +01:00
Marco Vermeulen
2af13c7cfe #717: Use deterministic name for binary download to enable curl continuation. 2019-10-17 16:09:01 +02:00
Marco Vermeulen
776bfb7ee4 Add curl verbose logging when in debug mode. 2019-10-17 15:55:01 +02:00
Marco Vermeulen
1fe19fefae Tighten up return code on candidate installation. 2019-10-17 15:55:01 +02:00
Marco Vermeulen
5a59bb1db5 Upgrade to Gradle 5.5.1 2019-10-17 15:55:01 +02:00
Marco Vermeulen
1bbf28c3c1 Update ISSUE_TEMPLATE.md 2019-06-21 13:35:09 +01:00
Marco Vermeulen
fefa4a597f Update PULL_REQUEST_TEMPLATE.md 2019-06-21 07:35:17 +01:00
Marco Vermeulen
259af02cf4 Update ISSUE_TEMPLATE.md 2019-06-21 07:33:27 +01:00
Marco Vermeulen
a18fe3cf78 Update CONTRIBUTING.md 2019-06-21 07:30:42 +01:00
Marco Vermeulen
7fcfaac38c Updates to Github templates for accommodating slack. 2019-06-08 18:59:31 +01:00
Marco Vermeulen
e482975439 Introduce travis notifications for slack. 2019-05-20 15:46:51 +01:00
Marco Vermeulen
4a8a5abac0 Replace Gitter with Slack badge in README. 2019-05-19 12:06:33 +01:00
Marco Vermeulen
935f8e1503 Upgrade docker image to openjdk:11 2019-04-21 22:12:11 +01:00
Marco Vermeulen
7bf5d62f34 Remove emoji from README. 2019-04-21 22:07:25 +01:00
Jess
8b60b567d1 Added backers and sponsors on the README 2019-04-21 22:06:12 +01:00
Marco Vermeulen
b63ee15c88 Further tweak help output. 2019-01-22 11:39:24 +00:00
Marco Vermeulen
01da9b43b3 Refine help for local installation. 2019-01-22 10:17:03 +00:00
Tom Hicks
22c172e8de Update help script with local installation path argument. 2019-01-22 10:09:36 +00:00
Marco Vermeulen
1388c4d07d Reorder sdkman-init script. 2018-12-10 17:48:40 +00:00
Marco Vermeulen
d62dfe7ee3 Fix digital binary upload on travis. 2018-09-16 16:16:23 +01:00
Marco Vermeulen
1fe9a91907 Upload archive to digitalocean space. 2018-09-16 15:54:38 +01:00
Kai Weber
45886e93cf Use 'tee' to write status files
Replace the redirect operator >| with tee.
2018-09-14 13:33:31 +01:00
Kai Weber
5c49a42448 Use '>|' to write var/ status files
Setting 'noclobber' in bash or zsh prevents writing to an existing
regular file when using > as redirecting operator. Setting 'noclobber' allows
users of interactive shells to prevent accidential overwriting of
existing files.

bash and zsh allow to use >| as redirection operator so that the
redirection is attempted.

Because the write to the status files is required and not by accident
the >| is used in those cases.
2018-09-14 13:33:31 +01:00
qudongfang
21e1e73174 change 'sdkman_curl_continue_automatically' option to 'sdkman_curl_continue' 2018-08-24 07:38:16 +02:00
qudongfang
df6bdc278e download with retry 2018-08-24 07:38:16 +02:00
Elliot Weiser
fb820f2f8b Return non-zero exit code on failure
Failed installations should return an appropriate error code to
indicate in some way to the shell (other than just stdout) that
something went wrong.
2018-08-18 22:18:44 +01:00
Marco Vermeulen
dd5a4122b9 Issue #664: Fixes bug in length validation of local version install. 2018-07-27 16:30:08 +01:00
Marco Vermeulen
2bca60be9d Fix broadcast flush issue. 2018-07-19 08:38:47 +01:00
Marco Vermeulen
4a5ca28f87 Rename current to candidates api. 2018-07-14 17:37:36 +01:00