Commit Graph

1009 Commits

Author SHA1 Message Date
Marco Vermeulen
6d2bcda8bb Consider native version in selfupdate, fix tests and add coverage. 2023-03-19 23:02:31 +00:00
Marco Vermeulen
c7374b7a5d Preparation for considering native version in selfupdate. 2023-03-19 23:02:31 +00:00
Marco Vermeulen
8a8c69de2d Fix selfupdate.
Compare local and remote versions on selfupdate.
2023-03-19 23:02:31 +00:00
Marco Vermeulen
40d3c2f293 Removes version cache refresh. 2023-03-19 23:02:31 +00:00
Oliver Weiler
65402771ee chore: Improve sdk env error handling (#1193) 2023-03-19 13:54:09 +01:00
Marco Vermeulen
4b172a6d87 Remove auto-update feature. 2023-03-04 11:32:19 +00:00
Marco Vermeulen
a89a8cc774 Strip out the broadcast id and rename to healthcheck where needed. 2023-03-04 11:32:19 +00:00
Marco Vermeulen
010736e899 Simplify parameter propagation in the main sdk function. 2023-03-04 11:32:19 +00:00
Marco Vermeulen
00538c253c Remove broadcast command. 2023-02-21 11:45:51 -05:00
Marco Vermeulen
3215879fdc Simplify native command invocation 2023-02-11 10:31:36 -06:00
Marco Vermeulen
b5ed8477a8 Give precedence to native home command
* falls back to scripted legacy command
* propagate up to 10 params to native command
2023-02-11 10:31:36 -06:00
Marco Vermeulen
e4fc02024a Display native help, falling back to legacy help 2023-02-11 10:31:36 -06:00
Marco Vermeulen
bb119b8e59 Remove legacy completion command workaround 2023-02-11 10:31:36 -06:00
Marco Vermeulen
c37a9fd7ff Remove home command hack 2023-02-11 10:31:36 -06:00
Hector Geraldino
65b95fb8e1 Fix test failures in OSX/Intel when inferring the platform (#1141) 2022-12-19 17:37:35 -05:00
Marco Vermeulen
f26c25056e Accommodate platform in selfupdate stub. 2022-08-06 16:50:10 +01:00
Marco Vermeulen
8adeaf9312 Pass platform identifier to selfupdate stable script. 2022-08-06 16:39:14 +01:00
Mariusz Wyszomierski
0906561e02 #1087 Fix sdkman_auto_env when PROMPT_COMMAND ends with space (#1088)
Trim PROMPT_COMMAND
Without this fix there may be a message with double semicolon:
bash: PROMPT_COMMAND: line 0: `history -a; history -n; ;sdkman_auto_env'
2022-04-21 09:11:25 +02:00
Marco Vermeulen
469f83b2b8 Pass platform identifier to selfupdate beta script. 2022-04-18 13:51:24 +01:00
Oliver Weiler
c8fec735df Improve Homebrew README (#1084) 2022-04-07 12:56:55 +02:00
Hector Geraldino
535e3c9b92 Remove local caching of candidates (#1077) 2022-04-03 14:28:05 +01:00
Oliver Weiler
31d2765073 Replace template tag with version (#1079) 2022-03-26 10:06:43 +01:00
Marco Vermeulen
06fd0436a6 Fix broken tests to do with platform inference. 2022-03-20 17:26:20 +00:00
Marco Vermeulen
08e7402a7d Check zip integrity before checksum. 2022-03-20 17:26:20 +00:00
Marco Vermeulen
19eeef809d Code tweak in install source. 2022-03-20 17:26:18 +00:00
Johannes Bechberger
87b8176ebf Fix test 2022-03-20 17:25:00 +00:00
Johannes Bechberger
282e11fe3a Update test and init 2022-03-20 17:25:00 +00:00
Johannes Bechberger
1e59a342f0 Consider unsupported platforms as exotic
Only fall back on Linuxx64 on platforms not mentioned in
5bfc75d92e/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py (L56)
(excluding the i*86 platforms)
2022-03-20 17:25:00 +00:00
Oliver Weiler
17d70f06fb Run jreleaserFullRelease to create files required by Homebrew (#1071) 2022-03-17 20:39:35 +01:00
Marco Vermeulen
fd2ed04a4e Fix selfupdate bug. 2022-03-09 21:46:14 +00:00
Oliver Weiler
f61702c006 Add Homebrew support (#1042)
* Add Homebrew formula template
* Add brew packager
* Remove selfupdate functionality when installed via Homebrew
* Configure JRELEASER_HOMEBREW_GITHUB_TOKEN
* Order configuration alphabetically
2022-03-07 22:29:39 +00:00
Marco Vermeulen
65ee538d57 Sanitise noise from metadata headers file.
Only records lines starting the `X-Sdkman`
2022-02-22 08:38:16 +00:00
Hector Geraldino
77fe23a758 "sdkman_checksum_enable" feature flag 2022-01-21 08:46:32 +00:00
Marco Vermeulen
f4b21c1fb1 Improve stdout for checksum verification 2022-01-19 22:02:35 +00:00
Frank Delporte
9f5d5cd4cf Change Linux version for ARMv6 2022-01-08 13:45:31 +00:00
Frank Delporte
8e70002033 Align test met changes for ARMv6 2022-01-08 13:35:39 +00:00
Hector Geraldino
b75b211793 Add /usr/local/bin to default PATH, so user-installed utils (like md5sum in OSX) are picked up during tests 2021-12-06 17:45:51 +00:00
Andres Almiray
ec1edb8c34 Update JReleaser configuration.
Remove placeholder text from changelog template
Changelog generation pulls full history
2021-11-05 21:47:37 +00:00
Hector Geraldino
ab8219fe09 commit 2021-11-05 13:55:10 +00:00
Hector Geraldino
5669dbc080 Fix bug when reinstalling a candidate (checksums for cached archives) 2021-11-05 13:55:10 +00:00
Andres Almiray
43232f96c9 Configure JReleaser 2021-11-01 22:24:38 +00:00
Marco Vermeulen
f7ffc9c2e6 Allow qualification of help command.
This allows the help command to provide help on subcommands.
2021-10-26 20:09:21 +01:00
Marco Vermeulen
5f3c1528cf More robust handling of native command parameters. 2021-10-26 20:09:21 +01:00
Oliver Weiler
bc7fd662dc Unify Bash's and zsh's programmable completion (#1002)
* Unify Bash's and zsh's programmable completion

* Perform autocompletion for short options

* Use SDKMAN_CANDIDATES for resolving candidates

* Handle `read` edge case
2021-10-25 13:35:30 +02:00
Hector
4bf5b70f8a Fix test errors after commit 8c889a5 (bash completion w/posix) (#1001) 2021-10-17 10:24:00 +01:00
Oliver Weiler
f473322276 Add tests for Bash programmable completion (#998)
* Add tests for Bash completion
* Fix broken uname stub setup
* Let test task depend on prepareContrib
* Quote array expansion
2021-10-16 16:41:58 +01:00
Marco Vermeulen
d81181cc88 Enable native binary support.
Looks for native binaries in the libexec folder.
2021-10-15 23:55:29 +01:00
Marco Vermeulen
c10cf22565 Fix broken test fixture. 2021-10-10 21:50:48 +01:00
Marco Vermeulen
b02a937d8a Bring back improved archive composition.
This reverts commit dc95e2dbaa.
2021-10-10 21:24:07 +01:00
Marco Vermeulen
755cba0a07 Drop beta query parameter for selfupdate. 2021-10-07 23:20:21 +01:00