asdf-vm / asdf-vm/asdf

Support plugin install giturl#gitref

Open
#1,201 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
25.6k
Forks
941
Avg merge
9h 24m
Merged PRs (30d)
3

Description

### Is your feature request related to a problem? Please describe

i'm always frustrated with i have to fill these things out.

lets support installing asdf plugins from a git repo with a gitref (tag, branch, commit)

### Describe the proposed solution

```
asdf plugin install https://github.com/heliumbrain/asdf-just#6cc5790
```

### Describe similar `asdf` features and why they are not sufficient

1. cajole broken plugin author into fixing their code
2. get stonewalled there
3. fork the broken plugin repo
4. fix the code
5. remove old broken plugin
6. point at different repo

lets say the author fixes their code, but then later on decides to change things...

the only way i can guard the onboarding process of my team is to fork every asdf plugin and use those repos instead.

### Describe other workarounds you've considered

crying.

Contributor guide

Open the contributing guide

Research direction

Start at the `asdf plugin install` command entry point and trace how a plugin repository URL is parsed and fetched. Verify how a `#gitref` suffix should select a tag, branch, or commit, and confirm completion by installing the example repository at the requested ref without requiring a fork.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.