GithubHelp home page GithubHelp logo

luizm / asdf-shellcheck Goto Github PK

View Code? Open in Web Editor NEW
22.0 22.0 7.0 33 KB

shellcheck plugin for asdf version manager https://github.com/asdf-vm/asdf

License: MIT License

Shell 100.00%
asdf asdf-shellcheck shell-script shellcheck

asdf-shellcheck's Introduction

Luizm's GitHub stats

asdf-shellcheck's People

Contributors

dependabot[bot] avatar ggilmore avatar jdx avatar kachick avatar lhriley avatar luizm avatar mathew-fleisch avatar mimikun avatar salasrod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

asdf-shellcheck's Issues

Shellcheck fails to install under non-root user's home directory

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.