Commit Graph

352 Commits

Author SHA1 Message Date
Augusto Borges de Moura
b38dda3594
Merge pull request #214 from augustobmoura/feature/add-asdf-vm-install-docs
Refine the install section in README
2021-04-12 15:53:43 -03:00
Augusto Moura
d56626aadd Merge branch 'blimmer-blimmer-patch-1' 2021-04-09 13:41:15 -03:00
Sora Morimoto
33be686716 Fix path priority for global npm (#212)
* Fix path priority for global npm

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* Remove bin/exec-path

Signed-off-by: Sora Morimoto <sora@morimoto.io>
2021-04-09 13:41:07 -03:00
Yaroslav Rogov
e0f49386c9 feat: Implement index tab cache (#219)
* feat: Implement index tab cache
* feat: Switch to etag-based caching
* Update lib/utils.sh

Co-authored-by: Augusto Borges de Moura <augusto.borgesm@gmail.com>
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2021-04-09 13:41:07 -03:00
Yaroslav Rogov
b87aca1b9a Fix tac on OSX if coreutils are linked in path (#216)
* Fix tac on osx if coreutils are linked in path
* Change fallback condition for `tac`. Provide space-safe implementation
2021-04-09 13:41:07 -03:00
john r. durand
96989eb127 Remove delcared coreutils dependency, correct macOS. 2021-04-09 13:41:07 -03:00
john r. durand
6778954108 Fix use of tac on macOS. 2021-04-09 13:41:07 -03:00
Dave Ashby
9a093d4be5 tweak automatic key import 2021-04-09 13:41:07 -03:00
Dave Ashby
c87a52c5c2 Update README to reflect automatic import of keys 2021-04-09 13:41:07 -03:00
Dave Ashby
e0f170fc52 tweak gpg check and add automatic key installation 2021-04-09 13:41:07 -03:00
Dave Ashby
addbaaa751 Add check to see if key already exists locally before querying keyservers 2021-04-09 13:41:07 -03:00
Michael Cho
b1dfaa2eb7 replace Bash 4+ lowercase logic with POSIX alternative using 'tr' 2021-04-09 13:41:07 -03:00
Augusto Moura
260927f62a remove dependency on bash 4 associative arrays 2021-04-09 13:41:07 -03:00
Augusto Moura
c3c219ab9d fix: remove hashbang front utils 2021-04-09 13:41:07 -03:00
Augusto Moura
a82ac52b05 use pure bash to filter version candidates
instead of awk
2021-04-09 13:41:07 -03:00
Augusto Moura
e6ace0fca5 separate install functions between alias and canon 2021-04-09 13:41:07 -03:00
Augusto Moura
6b287904e4 install alias as symlinks to real versions 2021-04-09 13:41:07 -03:00
Augusto Moura
f46bfa8a17 fix lts/ breaking asdf dir versioning 2021-04-09 13:41:06 -03:00
Augusto Moura
753b4a7b26 add better formatting and commentaries 2021-04-09 13:41:06 -03:00
Augusto Moura
465cff44aa fix typo in the filter versions function
I forgot to commit the change in name on the list_all script
2021-04-09 13:41:06 -03:00
Augusto Moura
d5d2ea6ce9 refactor list all to use the official index.tab
also add support for lts aliases, giving it's trivial to implement after
processing the tab

also get better error messages for missing versions
2021-04-09 13:41:06 -03:00
gfyoung
e832fd0f12 Sync NodeJS gpg keys 2021-04-09 13:41:06 -03:00
Adam Hawkins
6cd8bc40b2 fix(bin): add --yes to confirm GPG overwrite 2021-04-09 13:41:06 -03:00
Adam Hawkins
2abce68edc fix(bin): close #165
This file may already exist. It's unclear why this happens though.
2021-04-09 13:41:06 -03:00
Brian van Burken
3bff0719af Support non-default default-npm-packages location. 2021-04-09 13:41:06 -03:00
Trevor Brown
adb47b8bc9 Add comment on individual uname -m clause 2021-04-09 13:41:06 -03:00
Nicolas Caille
cc7c7d20ae add 'amd64' in install script function get_nodejs_machine_hardware_name for FreeBSD 2021-04-09 13:41:06 -03:00
Ben Limmer
f0cc64c799
Update bin/install
Co-authored-by: Augusto Borges de Moura <augusto.borgesm@gmail.com>
2021-04-09 10:18:04 -06:00
Sora Morimoto
04d124ea31
Fix path priority for global npm (#212)
* Fix path priority for global npm

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* Remove bin/exec-path

Signed-off-by: Sora Morimoto <sora@morimoto.io>
2021-04-08 09:05:57 -04:00
Yaroslav Rogov
373c38e447
feat: Implement index tab cache (#219)
* feat: Implement index tab cache
* feat: Switch to etag-based caching
* Update lib/utils.sh

Co-authored-by: Augusto Borges de Moura <augusto.borgesm@gmail.com>
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
2021-04-07 10:56:03 -04:00
Yaroslav Rogov
39fd2d03e1
Fix tac on OSX if coreutils are linked in path (#216)
* Fix tac on osx if coreutils are linked in path
* Change fallback condition for `tac`. Provide space-safe implementation
2021-03-24 08:52:33 -04:00
Augusto Moura
b23bbd9857 docs: refine the install section in README 2021-03-15 13:00:02 -03:00
Trevor Brown
3f4950047b
Merge pull request #210 from mortax/macostac
`list-all` no longer works on macOS
2021-03-12 14:37:33 -05:00
john r. durand
a0bb93cf40 Remove delcared coreutils dependency, correct macOS. 2021-03-12 11:05:39 -08:00
Trevor Brown
a0ce61aed4
Merge pull request #209 from vadave/fix-keyring-import
Add check to see if key already exists locally before querying keyservers
2021-03-10 19:10:52 -05:00
Dave Ashby
3974f06a1a tweak automatic key import 2021-03-10 10:45:41 -05:00
Dave Ashby
431010c33c Update README to reflect automatic import of keys 2021-03-09 12:27:10 -05:00
Dave Ashby
39e3e8de71 tweak gpg check and add automatic key installation 2021-03-09 11:45:33 -05:00
Trevor Brown
d1fd892d8e
Merge pull request #211 from cho-m/posix-lowercase-logic
Replace Bash 4+ lowercase logic with POSIX alternative using 'tr'
2021-03-08 08:44:35 -05:00
Michael Cho
2d33055f17 replace Bash 4+ lowercase logic with POSIX alternative using 'tr' 2021-03-06 22:43:35 -08:00
john r. durand
6667b3165f Fix use of tac on macOS. 2021-03-06 08:28:38 -08:00
Dave Ashby
429232faab Add check to see if key already exists locally before querying keyservers 2021-03-05 08:43:37 -05:00
Trevor Brown
5a46614ec2
Merge pull request #200 from augustobmoura/fix/remove-associative-arrays-dependencies
Remove associative arrays dependencies
2021-02-03 09:19:05 -05:00
Augusto Moura
c592c7e694 remove dependency on bash 4 associative arrays 2021-02-02 13:47:13 -03:00
Trevor Brown
1bf79e3681
Merge pull request #195 from augustobmoura/refactore/bash-version-candidates
Use pure bash to filter version candidates
2021-01-22 22:06:39 -05:00
Augusto Moura
d921791123 fix: remove hashbang front utils 2021-01-22 17:19:02 -03:00
Sora Morimoto
38b023f35d Remove .travis.yml
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2021-01-22 05:55:06 +09:00
Sora Morimoto
6b8e63ec04 Add GitHub Actions workflow
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2021-01-22 05:51:26 +09:00
Augusto Moura
9e4d196781 use pure bash to filter version candidates
instead of awk
2021-01-21 17:37:23 -03:00
Trevor Brown
1624799560
Merge pull request #176 from augustobmoura/feature/oficial-versions-list
Refactor list all to use the official index.tab
2021-01-19 13:57:07 -05:00