Commit Graph

967 Commits

Author SHA1 Message Date
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
Marco Vermeulen
d4c8ec99b0 Clean code. 2016-11-16 19:04:48 +00:00
Marco Vermeulen
fabeda3efd Better differentiation between legacy and current apis in tests. 2016-11-16 09:11:21 +00:00
Marco Vermeulen
743975dcaa Use new candidates/all endpoint for candidate cache in beta channel. 2016-11-16 09:07:31 +00:00
Marco Vermeulen
676fe1a7ce Always expire candidate cache after a day. 2016-11-16 08:40:03 +00:00
Marco Vermeulen
e5c3643bd8 Install zip on travis. 2016-11-14 20:57:09 +00:00
Marco Vermeulen
fecb443a2a Consolidate cukes for multi-platform binaries. 2016-11-14 13:35:18 +00:00
Marco Vermeulen
9fa1d26d6e Move test post-hooks into resources, accommodate universal and platform specific hooks. 2016-11-14 13:22:23 +00:00
Marco Vermeulen
69b87ecf0d Place test pre-hook in sane location. 2016-11-14 13:10:09 +00:00
Marco Vermeulen
366982d8b5 Move test pre installation hook into resources. 2016-11-14 13:04:25 +00:00
Marco Vermeulen
0f6c6f5b55 Java installation on Linux passing test. 2016-11-14 08:36:25 +00:00
Marco Vermeulen
5e6c99987e Bring back beta features after 5.1.7 release.
This reverts commit 1ee578ee72.
2016-11-09 20:55:03 +00:00
Marco Vermeulen
10c6112bf8 Bug fix on beta channel propagating beta flag to selfupdate. 2016-11-09 08:35:15 +00:00
Marco Vermeulen
1ee578ee72 Temporary revert all beta channel work. 2016-11-09 08:26:17 +00:00
Marco Vermeulen
714c4a8bb8 Always refresh candidates for beta channel. 2016-11-04 20:55:30 +00:00
Marco Vermeulen
782cd3a61a Allows faster release of beta channel. 2016-11-04 18:25:07 +00:00
Marco Vermeulen
36788730b0 Cut validation over to new candidate validation endpoint. 2016-11-04 18:11:28 +00:00
Marco Vermeulen
1dd522172e Fix failing tests. 2016-10-28 15:55:26 +01:00
Marco Vermeulen
528dfe75a6 Implement post hook on download. 2016-10-28 15:40:08 +01:00
Marco Vermeulen
4e83aeb2fe Make sdkman_debug_mode configurable. 2016-10-28 15:02:28 +01:00
Marco Vermeulen
6e8f2af8ee Integrate CurlStub into SdkmanBashEnvBuilder. 2016-10-28 14:33:05 +01:00
Marco Vermeulen
04c34cd1e0 Improve wording for multi-platform validation failure. 2016-10-28 14:08:29 +01:00
Marco Vermeulen
4be6b085de Introduce first pass of multi-platform functionality. 2016-10-28 13:38:16 +01:00
Marco Vermeulen
2d4b3c05f2 Tweak debug text on binary move. 2016-10-27 14:40:01 +01:00
Marco Vermeulen
857826a5b0 Download binary temporarily stored in bin format. 2016-10-27 14:24:42 +01:00
Marco Vermeulen
c05cde2893 Rename version endpoint to stable. 2016-10-25 16:06:53 +01:00
Marco Vermeulen
e9580bf29b Introduce beta channel. 2016-10-25 16:01:34 +01:00
Marco Vermeulen
f4fb476d36 Remove redundant test fixture. 2016-10-25 15:20:16 +01:00
Marco Vermeulen
72757cccd7 Drop version endpoint down to /app/version of candidates-legacy api. 2016-10-25 15:17:04 +01:00
Marco Vermeulen
75a1c55722 Drop candidates cache daily. 2016-10-25 11:46:04 +01:00
Marco Vermeulen
7969755b83 Clean code. 2016-10-25 11:45:06 +01:00
Marco Vermeulen
ce7c0614fb Rename BootstrapSpec.groovy to VersionFileBootstrapSpec 2016-10-25 11:11:22 +01:00
Marco Vermeulen
f4d96ace10 Rename token to file. 2016-10-25 10:33:43 +01:00
Marco Vermeulen
d03cd23460 Make legacy API explicit in bootstrap spec. 2016-10-25 10:08:02 +01:00
Rahul Somasunderam
13d907b4a1 Remove akka from list of candidates in help (#469)
* Remove akka from list of candidates in help

The help lists akka as one of the candidates, which is weird, because it is not.
This change fixes that by replacing with gradle.

If there is a list of most popular things installed using sdkman, I can replace the list with things from that.

* Replace gradle with kotlin

* Bring back gradle
2016-09-13 07:03:11 +01:00
Scott Busche
abc19ee1d0 Revert "Fix creating symlinks in cygwin (#302)" (#468)
This reverts commit e3a4d46918.

This fixes issue #467. Cygwin can be configured to do what this commit did
by setting the following `export CYGWIN=winsymlinks:native`
2016-09-08 17:40:31 +01:00
Marco Vermeulen
de0b5b12e2 Fix bootstrap spec testing cliversion check. 2016-09-06 17:13:57 +01:00
Marco Vermeulen
80134fcbf6 Fix cliversion in init script. 2016-09-06 17:01:56 +01:00
Marco Vermeulen
5c4cf12e8b Revert "Revert to SDKMAN_SERVICE environment variable for selupdate backward compatibility."
This reverts commit b3417ef4ac.
2016-09-04 02:10:50 +01:00
Marco Vermeulen
b3417ef4ac Revert to SDKMAN_SERVICE environment variable for selupdate backward compatibility. 2016-09-04 01:27:01 +01:00
Marco Vermeulen
c535c60961 Consume new nginx mappings, new broker API. 2016-09-03 23:53:16 +01:00
Scott Busche
e3a4d46918 Fix creating symlinks in cygwin (#302)
mklink function from: http://stackoverflow.com/questions/3343988/accessing-a-cygwin-symlink-from-windows/11166347#11166347
2016-07-05 23:16:07 +01:00
Marco Vermeulen
5e0aa7c01a Change download in progress message. 2016-06-28 07:40:29 -07:00
Marco Vermeulen
5ff91647e8 Implement semantic versioning. 2016-06-25 11:46:25 -07:00
Marco Vermeulen
99045c6ee0 Consolidate deployed scripts, remove prepareTestScripts task. 2016-06-25 06:46:31 -07:00
Marco Vermeulen
1b9280d17e Add progress bar for downloads. 2016-06-23 16:14:30 -07:00