Commit Graph

640 Commits

Author SHA1 Message Date
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
Marco Vermeulen
ab609445c0 Teardown wiremock after with shutdown hook. 2016-06-23 15:40:12 -07:00
Scott Busche
fef2ccf619 Update Path check to include SDKMAN path
This fixes an issue where the entire path was being added for the current
version if the candidate itself was on the path, but not part of SDKMAN
path
2016-06-08 08:47:17 -05:00
Marco Vermeulen
7fd68016d8 Issue #425: Defer candidate initialisation until after source evaluation. 2016-05-19 18:42:11 +01:00
Marco Vermeulen
079ed8cb50 Add some helpful feedback when downloading binaries. 2016-05-11 12:27:52 +01:00
Marco Vermeulen
4752325083 Introduce secure curl wrapper. 2016-05-11 10:20:30 +01:00
Marco Vermeulen
281a25c7b9 Changes default values for curl connect-timeout and max-time settings if no config found. 2016-05-06 08:20:23 +01:00
Marco Vermeulen
b7958804cc Base upgrade version check on cliversion endpoint. 2016-04-01 18:00:34 +01:00
Marco Vermeulen
fdabb8305e Fix broken list candidate version scenario. 2016-03-28 18:20:31 +01:00
Marco Vermeulen
d43215acfd Remove unused platform query param from candidate list call. 2016-03-28 17:55:48 +01:00
Marco Vermeulen
15a2f3d80d Add some output for tests. 2016-03-28 17:30:26 +01:00
Marco Vermeulen
13bc22f198 Remove serverside components + tests to sdkman-candidates. 2016-03-27 23:56:58 +01:00
Marco Vermeulen
f082e18d4b Temporary remove InstallSpec to prevent failure. 2016-03-20 22:59:31 +00:00
Marco Vermeulen
731b28c7bd Revert "Clean up after merge."
This reverts commit 51c877d3ab.
2016-03-10 08:22:53 +00:00
Marco Vermeulen
51c877d3ab Clean up after merge. 2016-03-10 08:06:16 +00:00
Samir Talwar
a45d54a3f4 If less is not present, just output directly.
Sometimes `less` isn't available—for example, in the `java:8` Docker
image. If it's not there and there's no `$PAGER` variable is set, it's
best to just output directly.

Unfortunately, I couldn't figure out a way to test this without renaming
`less` to something else and then renaming it back afterwards, which
seemed… dangerous, so I've left it untested. Ideas are definitely
welcome.
2016-03-05 17:21:12 +00:00
Marco Vermeulen
87c62f3903 FEATURE #392 - Fix logic of alias configuration. 2016-02-05 09:29:15 +00:00
Marco Vermeulen
65a8dbf5be Remove recursive flag in removal of symlink. 2016-01-31 19:48:25 +00:00
Shannon
1e43d55b6b Fixes gh-284. Updated sdkman-use and sdkman-common scripts so that they will be compatible with windows using either cygwin or mingw. 2016-01-31 19:38:56 +00:00
Marco Vermeulen
e9170030db Converts candidate template endpoint into candidate details. 2016-01-31 19:34:52 +00:00
Marco Vermeulen
f4ab46a029 Revert "check for bin dir inside SDKMAN_DIR to check previous installation #282"
This reverts commit 6a5342accf.
2016-01-31 17:28:44 +00:00
Marco Vermeulen
7541a46280 Add status codes to validation endpoint. 2016-01-31 17:23:53 +00:00
Marco Vermeulen
1556abdca1 Add templateUrl endpoint to server. 2016-01-31 17:23:53 +00:00
Kunal Dabir
6a5342accf check for bin dir inside SDKMAN_DIR to check previous installation #282
If you have existing dotfiles setup, `~/.sdkman/etc/config` is already present (as a symlink).
2016-01-13 15:42:50 +05:30
Marco Vermeulen
d4ae86d65c Fix debug logging in selfupdate. 2016-01-11 10:08:55 +00:00
Marco Vermeulen
ea4e474d9a Tweak timeouts for polling conditions in InstallSpec. 2016-01-11 08:20:39 +00:00
Marco Vermeulen
7236d59172 Improve test directory structure using UUIDs. 2016-01-11 08:20:07 +00:00
Marco Vermeulen
e24a89adab Fix race condition in InstallSpec using PollingConditions. 2016-01-06 09:03:39 +00:00