Commit Graph

1562 Commits

Author SHA1 Message Date
Hector Geraldino
ab8219fe09 commit 5.13.1 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
cd4a3aae80 Update release workflow 2021-11-01 22:24:38 +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) 5.13.0 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
Ches Martin
acd00b20a3 Fix bash completion of candidates for install (#993)
The `read` built-in uses IFS for word delimiters, and `-d` for
delimiting _where to stop reading_. We are parsing CSV, so the
combination of `IFS= -d,` results in only the first word.

Further, `read -a` fills an array variable so we don't need a loop.
2021-10-13 10:52:09 +02:00
Marco Vermeulen
1129b07d71 Fix bug: replace tokens in init script. 2021-10-10 22:09:43 +01:00
Marco Vermeulen
c10cf22565 Fix broken test fixture. 2021-10-10 21:50:48 +01:00
Marco Vermeulen
4eea32c580 Use sdkmanVersion as component of stage directory for archive. 2021-10-10 21:24:47 +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
Marco Vermeulen
be0a726cb0 Pass release channel from GitHub actions to build as env parameter. 2021-10-07 23:20:21 +01:00
Marco Vermeulen
dc95e2dbaa This reverts sdk refactor of binary archive. 2021-10-07 23:04:18 +01:00
Frank Delporte
448d3c00eb Extended detection of platform on Raspberry Pi (#991)
Added split between LinuxARM32SF and LinuxARM32HF as checked on multiple Raspberry Pi boards.
2021-10-07 20:07:37 +01:00
Marco Vermeulen
5f5b3d1e10 Fix broken md5 checksum test. 2021-10-06 22:54:56 +01:00
Marco Vermeulen
8d92a864cf Some minor improvements to the checksum feature file. 2021-10-06 22:42:08 +01:00
Marco Vermeulen
ba21c19de5 Silence noisy logs. 2021-10-06 22:23:55 +01:00
Marco Vermeulen
3f90d5823b Add test task dependency on script prep tasks. 2021-10-06 22:23:55 +01:00
Marco Vermeulen
e27dd14052 Prepare and consume files in new stage build folder. 2021-10-06 22:23:55 +01:00
Marco Vermeulen
d97ec21e46 Bring back extraction of custom archive tasks to gradle folder.
This reverts commit 14c86590f2.
2021-10-06 22:23:55 +01:00
Hector Geraldino
f7638f31c8 SHA checksums 2021-10-04 23:03:43 +01:00
Oliver Weiler
8c889a5ee4 Make Bash completion work with POSIX mode (#978)
* Make Bask completion work with POSIX mode

* Fix broken assignment
2021-09-19 15:45:14 +02:00
Daniel Dietrich
bff371fc0e Considering env var ZSH_DISABLE_COMPFIX during initialization 5.12.4 2021-09-05 12:25:43 +01:00
Hector Geraldino
3ca8f77230 PR feedback 2021-09-04 13:15:32 +01:00
Hector Geraldino
970ab3188f Save HTTP response headers under ${SDKMAN}/var/metadata 2021-09-04 13:15:32 +01:00
Marco Vermeulen
14c86590f2 Revert "Extract custom archive tasks to gradle folder."
This reverts commit ee6a5e23f3.
5.12.3
2021-08-22 11:34:38 +01:00
Marco Vermeulen
b138bcbb37 Simplify java setup in gh actions. 2021-08-22 11:33:03 +01:00
Marco Vermeulen
ee6a5e23f3 Extract custom archive tasks to gradle folder. 2021-08-21 17:35:26 +01:00
Marco Vermeulen
510a801d1a Fix bad formatting in release workflow. 2021-08-21 16:15:31 +01:00
Marco Vermeulen
20d564a2ca Use sdkman GH action to setup Java in beta and release workflows. 2021-08-21 15:57:47 +01:00
Marco Vermeulen
0800fe7f7f Only run beta and release workflows on main repo. 2021-08-21 15:48:41 +01:00
Marco Vermeulen
9ed5725171 Only run beta and release workflows on main repo. 2021-08-21 15:36:38 +01:00
Marco Vermeulen
86e1097384 Upgrade some versions:
* wiremock: 2.27.2
* junit: 4.13.2
* groovy: 2.4.21
* slf4j: 1.7.32
2021-08-21 15:21:04 +01:00
Marco Vermeulen
eb25e2b164 Add sdkmanrc descriptor. 2021-08-21 15:01:58 +01:00
Marco Vermeulen
8e25edad57 Use sdkman GH action for Java in PRs. 2021-08-21 15:00:56 +01:00
Marco Vermeulen
b7a7032550 Add paging behaviour to version list. 2021-08-21 14:50:40 +01:00
Andrew Rembrandt
597cda1d0e Prevent Re-initialization of zsh completion system
* Resolves issue with gcloud sdk completions not working
2021-08-11 09:04:01 +01:00
Marco Vermeulen
4b4822dfc9 Update bug_report.md
Update the GH bug report template.
2021-08-07 10:59:48 +01:00
Szymon Siwek
8d7d101eec fix for bash-4 (sdkman#923)
bash-4 does not support process substitution.
Another occurence.
5.12.2
2021-07-19 21:11:56 +01:00
Marco Vermeulen
3d6c27e20b Change order of get-release in github release action. 5.12.1 2021-07-18 18:11:28 +01:00
Marco Vermeulen
b433c834fa Add Twitter integration for releases. 2021-07-18 18:05:27 +01:00
Felipe Santos
e557c9a22a Add selfupdate_enable config and respect auto_answer when auto updating
This also deprecates the auto_selfupdate config.
5.12.0
2021-07-12 22:24:02 +01:00
Marco Vermeulen
cc1358baa7 Run PR checks against feature branch head. 5.11.7 2021-07-12 20:36:45 +01:00
Marco Vermeulen
164b0acbc7 Code formatting. 2021-07-04 16:51:28 +01:00
Szymon Siwek
e47441db64 fix for bash-4 (#923)
bash-4 does not support process substitution
2021-06-24 17:13:07 +01:00