Kamontat Chantrachirathumrong
221507f1c0
fix: when download path got removed, it should use -f to force delete the download files ( #1746 )
...
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2024-12-17 14:53:15 -05:00
Trevor Brown
15571a2d28
feat(golang-rewrite): remove asdf update
command to prepare for Go version ( #1806 )
2024-12-16 15:38:02 -05:00
Victor LEFEBVRE
f5a1f3a0a8
fix: make plugin-test work on alpine linux ( #1778 )
...
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2024-12-16 14:39:03 -05:00
Ben Blank
44f3efb63b
fix: Only display the "can't keep downloads" warning when asked to keep downloads ( #1756 )
2024-08-15 10:08:49 -04:00
mattyo161
b6b8074914
perf: only create dirs if they do not already exist ( #1566 )
...
Co-authored-by: Matt Ouellette <mouellette@cainc.com>
2024-01-11 00:10:30 +11:00
Edwin Kofler
19515eda3b
fix: warn if plugin does not support keeping downloads if configured ( #1644 )
2024-01-10 00:06:35 +11:00
Javier Garea
6d8cf9d44b
fix: plugin test
git-ref to use plugin repo default branch ( #1694 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
2024-01-09 23:47:27 +11:00
Edwin Kofler
d7e0740461
refactor: prefer grep --quiet
over standard output redirection ( #1655 )
2024-01-09 23:39:18 +11:00
Edvard
36c7024baa
feat: add plugin location when update the plugin ( #1602 )
2023-09-11 00:43:39 +10:00
Edwin Kofler
624604a862
fix: no longer write temporary files to home directory ( #1592 )
2023-07-26 21:57:06 +10:00
Edwin Kofler
a029c00750
fix!: plugin list
exit code 0 when no plugins are installed ( #1597 )
2023-07-26 21:51:54 +10:00
Edwin Kofler
4dd190466a
fix!: 0 exit code for success when adding an existing plugin ( #1598 )
2023-07-26 21:42:08 +10:00
Paweł Rozlach
d6185a2120
fix: create install directory with mkdir -p
( #1563 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
2023-05-31 18:39:55 +10:00
Edwin Kofler
097f7733d6
fix: warn if .tool-versions
or asdfrc contains carriage returns ( #1561 )
2023-05-28 23:36:53 +10:00
Edwin Kofler
684f4f058f
feat: Support configurable ASDF_CONCURRENCY
( #1532 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
2023-04-19 13:45:51 +00:00
Edwin Kofler
f273612155
fix: improve readability of the non-set nullglob
guard ( #1545 )
2023-04-17 04:51:06 +00:00
Edwin Kofler
b36ec73386
fix: rename internal function asdf_tool_versions_filename
( #1544 )
2023-04-17 04:47:09 +00:00
James Hegedus
5367f1f090
fix: rename internal plugin repository functions ( #1537 )
2023-04-12 03:01:32 +00:00
Edwin Kofler
1bc205e8aa
fix: enforce consistent shell redirection format ( #1533 )
2023-04-11 03:12:08 +00:00
Edwin Kofler
213aa22378
feat: Support PowerShell Core ( #1522 )
2023-04-01 04:12:20 +00:00
Edwin Kofler
00fee78423
fix!: Remove files containing only asdf
wrapper functions ( #1525 )
2023-04-01 03:22:24 +00:00
Edwin Kofler
8919f4009e
fix!: align Fish entrypoint behaviour with other shells ( #1524 )
2023-03-30 07:27:23 +00:00
Edwin Kofler
86477ee8de
fix: assign default values to all internal variables ( #1518 )
2023-03-27 00:24:16 +00:00
Edwin Kofler
a1b5eeec1c
fix: asdf info
show BASH_VERSION & all asdf envs ( #1513 )
2023-03-26 22:28:16 +00:00
Edwin Kofler
bbcbddcdd4
fix: Better handling with paths that include spaces ( #1485 )
2023-03-24 12:37:23 +00:00
Andrea Jemmett
9363fb2f72
fix: Nushell plugin list --urls ( #1507 )
2023-03-23 01:23:53 +00:00
Edwin Kofler
3379af845e
fix!: rework POSIX entrypoint for greater shell support ( #1480 )
2023-03-21 05:06:57 +00:00
Edwin Kofler
e0fd7a7be8
fix: enforce & use consistent function definitions ( #1464 )
2023-01-29 14:52:22 +11:00
Edwin Kofler
d81b81f9de
fix: Remove ==
inside [
( #1421 )
...
* lint(checkstyle): Miscellaneous tweaks
* lint(checkstyle): Add 'no-double-equals' rule
* lint: Remove double equals from `[`
* chore: Remove final double equals
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2023-01-14 08:18:44 -05:00
Edwin Kofler
670c96d1a6
fix: Allow path:
versions to use ~
( #1403 )
2023-01-06 07:08:48 -05:00
Trevor Brown
4125d2b556
fix: correct order of checks in conditional for adding a missing newline ( #1418 )
...
We need to add trailing newlines to .tool-versions file before appending
a new version to the file. The order of the checks was wrong here as the
first check assumed the file existed, and the second checked if it did.
Switching them fixes the issue.
This fix was provided by @h3y6e
Fixes #1417
2023-01-05 09:39:53 -05:00
Trevor Brown
8aa060ade9
Merge branch 'master' into improve-pwd
2023-01-04 09:49:11 -05:00
Edwin Kofler
dd37b6f0c0
fix: Do not use pwd
2022-12-30 01:57:49 -08:00
Edwin Kofler
f522ab9879
fix: Remove usage of $(pwd)
in favor of $PWD
2022-12-30 01:57:35 -08:00
James Hegedus
ea26947c0e
chore: bump dev deps ( #1398 )
...
* chore: bump dev deps
* chore: fix shellcheck warnings
Co-authored-by: Trevor Brown <admin@stratus3d.com>
2022-12-29 15:24:24 -05:00
Edwin Kofler
196a05b2dc
fix: force lwrcase plugin name fix capitalization mismatch errs ( #1400 )
...
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
Closes https://github.com/asdf-vm/asdf/issues/816
2022-12-29 13:12:47 +11:00
Edwin Kofler
3492043241
fix: lint errors from scripts/checkstyle.py
( #1385 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
2022-12-23 20:53:22 +11:00
James Hegedus
ea18e96bc0
ci: explicitly set shell in lint & format scripts ( #1391 )
2022-12-23 20:40:11 +11:00
James Hegedus
ab9d4b126a
chore: remove unused var in lib/functions/installs.bash
( #1389 )
2022-12-22 08:54:05 +11:00
Dylan Chong
5af7625769
fix: reshim
did not rewrite executable path ( #1311 )
...
Co-authored-by: James Hegedus <jthegedus@hey.com>
Fixes https://github.com/asdf-vm/asdf/issues/1115
Fixes https://github.com/asdf-vm/asdf/issues/1231
Fixes https://github.com/asdf-vm/asdf/issues/1286
2022-12-21 08:25:34 +11:00
Edwin Kofler
15faf93a0d
fix: Remove unecessary backslashes ( #1384 )
2022-12-20 15:54:00 -05:00
Edwin Kofler
ec972cbdf0
fix: Ban use of 'test' ( #1383 )
2022-12-19 08:08:38 -05:00
Lorenzo Gallucci
5334d1db3d
fix: excludes "milestone" releases in "latest" command ( #1307 )
...
Fixes #1306
2022-07-25 16:05:09 -04:00
Trevor Brown
eb7dac3a2b
fix: append trailing newline to .tool-versions files when missing ( #1310 )
...
If a .tool-versions file did not end with a newline new tools and
versions would get appended to the same line rather than properly
added on a new line in the file
Fixes #1299
2022-07-25 09:23:43 -04:00
Josh Soref
eaf2215cb8
chore: Fix spelling ( #1289 )
...
chore: Fix spelling
2022-07-05 09:40:33 -04:00
Jonathan Beverly (jrbeverly)
18caea3eb7
feat: Disable short-name repository with config value ( #1227 )
...
Co-authored-by: jthegedus <jthegedus@hey.com>
2022-06-28 09:47:49 +10:00
botp
5ea67953be
feat: mark current resolved versions in asdf list
output ( #762 )
...
Co-authored-by: botp <botpena@example.com>
Co-authored-by: James Hegedus <jthegedus@hey.com>
2022-06-21 22:54:02 +10:00
Kimiaki Kuno
b9962f7156
fix: get invalid ASDF_DATA_DIR when exec asdf shims by non-shell ( #1154 )
...
* fix: get invalid ASDF_DATA_DIR when exec asdf shims by non-shell
asdf_data_dir function inits ASDF_DATA_DIR with HOME when value is empty.
HOME may replace to empty string when asdf shims called by non-shell program.
this makes invalid value of ASDF_DATA_DIR.
2022-06-08 12:54:53 -04:00
Trevor Brown
92d005dacd
fix: update plugin-add regex to support other languages ( #1241 )
...
[:alpha:] and [:digit:] character classes support characters from other
languages whereas ranges like a-z and 0-9 may not.
Fixes #1237
2022-06-07 08:43:02 -04:00
Trevor Brown
711ad99104
fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present ( #1238 )
...
* fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present
* fix: correct version command unit tests for ASDF_DEFAULT_TOOL_VERSIONS_FILENAME
Fixes #1082
2022-05-27 07:50:04 -04:00