luizm / asdf-shellcheck Goto Github PK
View Code? Open in Web Editor NEWshellcheck plugin for asdf version manager https://github.com/asdf-vm/asdf
License: MIT License
shellcheck plugin for asdf version manager https://github.com/asdf-vm/asdf
License: MIT License
Plugin fails to install due to permission denied
in tar
command.
This might be due to a change in asdf-plugin
requirements sine this plugin was last updated (https://asdf-vm.com/plugins/create.html#required-scripts).
This is running within a docker container with a non-root user. As you can see in the following example, tar
is unable to create the expected directories:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"
$ asdf plugin add shellcheck && asdf install shellcheck latest
OS:
Linux 35c88af67a5e 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
SHELL:
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
ASDF VERSION:
v0.10.0-77fd510
ASDF ENVIRONMENT VARIABLES:
ASDF_DIR=/home/myuser/.asdf
No plugins installed
ASDF INSTALLED PLUGINS:
initializing plugin repository...Cloning into '/home/myuser/.asdf/repository'...
Downloading shellcheck from https://github.com/koalaman/shellcheck/releases/download/v0.8.0/shellcheck-v0.8.0.linux.x86_64.tar.xz
tar: shellcheck-v0.8.0: Cannot mkdir: Permission denied
tar: shellcheck-v0.8.0/LICENSE.txt: Cannot open: No such file or directory
tar: shellcheck-v0.8.0: Cannot mkdir: Permission denied
tar: shellcheck-v0.8.0/README.txt: Cannot open: No such file or directory
tar: shellcheck-v0.8.0: Cannot mkdir: Permission denied
tar: shellcheck-v0.8.0/shellcheck: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.