Commit Graph

967 Commits

Author SHA1 Message Date
Marco Vermeulen
b4ea5e684c Remove obsolete mongodb js resources. 2015-12-28 14:37:00 +00:00
Marco Vermeulen
8ee7bf84bd Move Cukes into groovy test folder structure. 2015-12-28 14:35:54 +00:00
Marco Vermeulen
9876ad5ad9 Renames SdkManBashEnvBuilder to SdkmanBashEnvBuilder. 2015-12-28 11:38:39 +00:00
Marco Vermeulen
a0d0bd46f8 Centralise creation of SdkManBashEnvBuilder in SdkmanEnvSpecification. 2015-12-28 11:36:08 +00:00
Marco Vermeulen
a0ca1f16be Introduce separation between bash and sdkman environments in specs. 2015-12-28 11:22:54 +00:00
Marco Vermeulen
da8a3cbae2 Introduce BashSpecification base class, cuts over all bash specs. 2015-12-27 17:08:49 +00:00
Marco Vermeulen
65139f129b Rename utils package to support. 2015-12-27 12:39:48 +00:00
Marco Vermeulen
56e2e30812 IMPROVEMENT - Add cleanup method to stop bash processes in InstallSpec. 2015-12-26 23:56:47 +00:00
Felipe Fernandez
6e528ec29f FEATURE #388 - Add more specs for install script. 2015-12-25 13:50:37 +01:00
Marco Vermeulen
2d2e74306f Tweaks to InstallSpec, assertions performed with Groovy File API. 2015-12-09 19:09:31 +00:00
Marco Vermeulen
63ef47e269 FEATURE #392 - Make gvm alias configurable. 2015-12-09 19:03:50 +00:00
Felipe Fernandez
881704f1a3 IMPROVEMENT - Apply comments from PR #391. 2015-11-30 19:10:49 +00:00
Felipe Fernandez
b68a86cece FEATURE #388 - Use byte arrays instead of actual files when using Wiremock. 2015-11-28 09:31:05 +00:00
Felipe Fernandez
66020ef86f FEATURE #388 - First spec for install script. 2015-11-23 15:01:22 +00:00
Marco Vermeulen
8199ef0b05 IMPROVEMENT - Clean up nested logic in sdkman-init.sh 2015-11-20 19:41:46 +00:00
Marco Vermeulen
e7da3e8372 FIX - Broken tests repaired after SDK bin folder changes. 2015-11-20 13:37:29 +00:00
Marco Vermeulen
282799ce2c IMPROVEMENT #390 - Allow SDKs that do not have a bin folder. 2015-11-20 13:37:29 +00:00
Stefan Armbruster
609117eeca fixing similar issue to #232 unset i
the missing `unset i` causes issues in zsh if you use the variable `i`
in your own code outside sdkman
2015-11-09 12:14:42 +01:00
Marco Vermeulen
cbf177820b Improve archive extraction and moving of sdk folder. 2015-10-28 18:28:44 +00:00
Marco Vermeulen
631f383794 Merge pull request #381 from ataylor284/master
Allow other pagers besides "less" to be used.
2015-10-28 13:51:38 +00:00
Marco Vermeulen
b233936eb0 Merge pull request #383 from ligun/fix-to-work-with-cygwin
Fix "not valid in thes context" when working with Cygwin
2015-10-28 11:26:28 +00:00
ligun
108eefbaff add double quotation to the path 2015-10-27 12:43:33 +09:00
Yasuharu Nakano
3b741bdab9 Fix "find: xxx: No such file or directory" error when using 'outdated' command 2015-10-27 11:05:01 +09:00
Andrew Taylor
c833cb0b4f Respect the PAGER environment variable to allow other pagers besides "less" to be used. 2015-10-26 14:55:00 -06:00
Marco Vermeulen
4a8cbc0bc2 FIX - Check if directory is a symlink when performing candidate upgrade. 2015-10-26 20:36:37 +00:00
Marco Vermeulen
b9bc27e33c FIX - Re-create current links in moved candidate folders. 2015-10-26 18:44:06 +00:00
Marco Vermeulen
335ac8b690 FIX - Fix rmdir selfupdate bug on OSX
Removes obsolete  --ignore-fail-on-non-empty for rmdir command on OSX.
2015-10-25 22:16:46 +00:00
Felipe
c323cbf449 FIX - Init always SDKMAN_CANDIDATES_DIR variable. 2015-10-22 14:00:31 +01:00
Felipe
aa4469bf6a FEATURE #374 - Fix logic around migrating candidates in selfupdate script. 2015-10-22 13:49:08 +01:00
Felipe
b7a723fad9 FEATURE #374 - Adding logging for moving and symlinking in the selfupdate script. 2015-10-22 13:37:20 +01:00
Felipe
c9bc061a91 FEATURE #374 - Moving and symlinking candidates into new location. 2015-10-22 13:31:06 +01:00
Felipe
f001120f6a FEATURE #374 - Prime sdkman_candidates global var in sdkman-init.sh instead of install.sh. 2015-10-22 13:07:47 +01:00
Felipe
557806c049 FEATURE #374 - Move candidates into dedicated candidates folder. 2015-10-22 13:04:18 +01:00
Marco Vermeulen
d691ca18ca IMPROVEMENT - Add back preparation of candidate list. Remove obsolete empty candidate folders. 2015-10-19 18:54:42 +01:00
Marco Vermeulen
0169f9c9d2 IMPROVEMENT - Tidy up selfupdate and install shell scripts. 2015-10-19 18:44:32 +01:00
Marco Vermeulen
5ca95c4088 FEATURE #371 - Cache candidate list on serverside. 2015-10-16 13:59:56 +03:00
Marco Vermeulen
480abb1036 IMPROVEMENT - Add test to check for duplicate path entries and tweaks init script. 2015-10-13 18:21:59 +03:00
Dylan Cali
ea2df582d5 Dynamically reinitialize sdkman
Check whether a candidate is on the path each time sdkman_init.sh is
sourced. If the candidate is not on the path prefix it, otherwise do
nothing.

This should resolve #251 and resolve #299

Since the path is dynamically checked now the SDKMAN_INIT flag and test
are no longer necessary
2015-10-13 18:21:59 +03:00
Dylan Cali
b83c551995 add test for reinitializing after reset PATH 2015-10-13 18:21:59 +03:00
Marco Vermeulen
3bd5333835 IMPROVEMENT - Improves text in help command. 2015-10-13 16:26:06 +03:00
Marco Vermeulen
c9e6de1ad0 FEATURE #371 - Update help page to show candidate optional on list command. 2015-10-13 12:33:43 +03:00
Marco Vermeulen
64e053eac2 IMPROVEMENT - Add less keyboard shortcut hints to candidate list view. 2015-10-13 11:48:41 +03:00
Marco Vermeulen
e317feec55 IMPROVEMENT - Remove obsolete legacy templates. 2015-10-13 11:40:36 +03:00
Marco Vermeulen
2755c3b3da IMPROVEMENT - Use less instead of more for candidate list command. 2015-10-13 11:32:46 +03:00
Marco Vermeulen
8307d22050 IMPROVEMENT - Clean code of server candidate list implementation. 2015-10-13 11:25:56 +03:00
Marco Vermeulen
c8b3ae2030 IMPROVEMENT - Reformat candidate list view server code. 2015-10-13 11:12:09 +03:00
Marco Vermeulen
ceca6900ea FEATURE #371 - Implement serverside functionality for Candidate List. 2015-10-10 23:38:24 +03:00
Marco Vermeulen
67238be220 FIX - Pipes output of list candidates to more. 2015-10-07 13:48:10 +01:00
Marco Vermeulen
8dd4a5808b FEATURE #371 - Render Candidate List with less. [MV|FF] 2015-10-07 13:39:05 +01:00
Marco Vermeulen
06eda9ae8b FEATURE #371 - Introduce list candidates command line functionality. [MV|FF] 2015-10-07 13:35:35 +01:00