Commit Graph

1166 Commits

Author SHA1 Message Date
Marco Vermeulen
53b574de2c Further tweaks to update command output. 2018-07-04 00:36:44 +01:00
Marco Vermeulen
057997b678 Convert spaces to tabs. 2018-07-04 00:03:01 +01:00
Marco Vermeulen
b4e400e2b1 Fix substring bug on update. 2018-07-03 23:58:48 +01:00
Marco Vermeulen
96e4d7d051 Rename local diff variable. 2018-07-03 23:25:08 +01:00
Marco Vermeulen
35328ea944 Improve bash version handling. 2018-07-03 11:58:55 +01:00
Marco Vermeulen
227b48d647 Upgrade to gradle 4.8 2018-06-17 22:40:53 +01:00
Marco Vermeulen
14a760ba58 Remove build scan plugin. 2018-06-17 22:40:53 +01:00
Marco Vermeulen
a3ea00b280 Remove obsolete help for flush command. 2018-06-17 22:40:53 +01:00
Marco Vermeulen
d7991f3dd9 Update README.md 2018-06-02 15:00:35 +01:00
Marco Vermeulen
e0b95001d3 Improve error message for version not found. 2018-05-27 23:54:07 +01:00
Giuseppe Ricupero
addf0e9d67 Refine bash major version check
The previous bash version check, `bash --version | grep ... `, may not work when the output is not in English (for example, it didn't work when the output was in Italian). For the same reason, I've modified also the line 113, to output the first command output of `bash --version` without checking for the content.
2018-05-22 13:05:12 +01:00
Marco Vermeulen
8e0ac4eaaf Tweak bash warning messages. 2018-04-06 14:01:32 +01:00
Marco Vermeulen
1f04e33eeb Add bash 3.x workaround for update command. 2018-04-06 13:47:09 +01:00
Marco Vermeulen
6778824084 Revert "Rename root project to sdkman-cli"
This reverts commit 61de6bc0e4.
2018-04-06 13:14:26 +01:00
Marco Vermeulen
3dc04555fd Rename root project to sdkman-cli 2018-04-06 12:59:35 +01:00
Marco Vermeulen
dcb98336ad Remove obsolete flush command. 2018-04-06 11:25:54 +01:00
Marco Vermeulen
61de6bc0e4 Rename root project to sdkman-cli 2018-04-06 11:07:29 +01:00
jjlin
c1189339e4 sdkman-init.sh: various optimizations and cleanup (#625)
In my tests, this reduces execution time by about 50% with `bash`,
and 40% with `zsh`. Most of the speedup is from removing calls to
external commands like `basename` and `cat`.
2018-02-26 21:28:13 +00:00
Marco Vermeulen
8d41092427 Touch the candidate cache on update. 2018-01-30 19:57:33 +01:00
Marco Vermeulen
1763a01c6f Improve wording and colours for cache update messages. 2018-01-30 19:57:33 +01:00
Albert Serrallé Ríos
21d738994d Fix zsh plugin readme (#566) 2018-01-30 18:11:08 +00:00
Marco Vermeulen
090675d2a2 Move all cache functions into dedicated script. 2017-12-22 09:19:01 +00:00
Marco Vermeulen
85a7c8eecf Remove deprecated outdated alias and mnemonic. 2017-12-22 08:43:17 +00:00
Marco Vermeulen
cc97303dff Fix timed out tests. 2017-12-22 08:38:38 +00:00
Marco Vermeulen
b7a00f683d Defer version cache check to command invocation. 2017-12-21 08:47:47 +00:00
Marcus Fihlon
3c3044bda6 🐛 Linux find is somewhat sensitive to the order of the parameters. #163 (#617) 2017-12-13 10:47:12 +00:00
Marcus Fihlon
039c32eef7 Skip all files in versions listing #163 (#616)
* 🐛 Skip all files in versions listing #163

* 🐛 We need to accept sumbolic links, too #163
2017-12-12 22:15:46 +00:00
Marco Vermeulen
2d5a8813ab Make tweaks to presentation of update command. 2017-12-06 08:56:40 +00:00
Marco Vermeulen
733d7d38c3 Allow update command if candidates cache has expired. 2017-12-05 18:29:30 +00:00
Marco Vermeulen
1056d27c53 Minor tweaks and cleanup. 2017-12-05 18:04:58 +00:00
Marco Vermeulen
c438dfef3e Perform candidate cache check in main function. 2017-12-05 18:04:58 +00:00
Marco Vermeulen
6836ecf170 Remove obsolete step defs. 2017-12-05 18:04:58 +00:00
Marco Vermeulen
661d3dbf7d Dump environment information when building bash env. 2017-12-05 18:04:58 +00:00
Marco Vermeulen
d097ee7b6b Introduce new update feature. 2017-12-05 18:04:58 +00:00
Marco Vermeulen
c2dc5540f8 Update copyright message. 2017-12-05 18:04:58 +00:00
Marco Vermeulen
228d0c1488 Remove stray references to activator. 2017-12-05 18:04:58 +00:00
Michal Bernhard
839e01c313 Update formatting of confirm text
Normalize confirm question with other confirm questions in project. Ie. using colon and space after

Before
Would you like to upgrade now? (Y/n)y

After:
Would you like to upgrade now? (Y/n) : y
2017-11-12 16:37:10 +00:00
Marco Vermeulen
18be82c445 Update release script. 2017-10-31 09:37:48 +00:00
Marco Vermeulen
0161d8e1d5 Cut over to use new stable/beta version endpoints. 2017-10-30 21:28:27 +00:00
techgaun
58f77b3897 get rid of gvm alias all together 2017-10-08 14:25:35 +01:00
Marco Vermeulen
193d3fb669 Fixes merge conflict for #598. 2017-09-06 21:56:56 +01:00
Marco Vermeulen
f0b55640b8 Merge remote-tracking branch 'origin/master' 2017-09-06 18:10:42 +01:00
Marco Vermeulen
c25b3d87bb Fixes #598: Offline mode candidate cache issue. 2017-09-06 18:10:26 +01:00
Alexei Zakharov
8b22e68ed7 Properly evaluate command from PAGER string
PAGER may contain arguments.  See `man 1 man` for details.  See `man bash` for the explanation of `eval`.
2017-08-31 21:57:04 +01:00
Marco Vermeulen
9754f6e2ba Cut over from legacy selfupdate endpoint. 2017-08-28 21:41:54 +01:00
Marco Vermeulen
7ee2c51f6c Further tweaks to contribution guidelines and templates. 2017-08-26 13:13:04 +01:00
Marco Vermeulen
5a94055adf Add pull request template. 2017-08-26 12:25:30 +01:00
Marco Vermeulen
bef8974c2d Add Issue template. 2017-08-26 11:51:44 +01:00
Marco Vermeulen
743ae61b5a Add Contributions section to README. 2017-08-26 10:21:42 +01:00
mkr
a424c3a6bc fix for 598 2017-08-21 11:34:54 +02:00