axodotdev / axodotdev/cargo-dist

installers: config to specify unpacking of other archived files

Open
#307 1 comment 1 reaction 0 assignees View on GitHub
feature request
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

Only applies to script installers (shell, powershell).

When `install-path = "CARGO_HOME"` was the only possible setting it didn't make sense to unpack anything but binaries, but other options like `install-path = "~/.my-app"` would be very reasonable to allow more verbose unpacking of things like READMEs/LICENSES.

The most simplistic design would just be `unpack-all = true`, but there's questions about overlaying old files/dirs (for updates) that might be worth being able to elaborate on.

Need someone to chime in with this as a requirement before I try to design the feature.

Contributor guide

Open the contributing guide

Research direction

The issue names only script installers and the install-path and unpack-all settings; no source file, test, or entry point is identified. Start by clarifying whether unpacking non-binaries is required and how updates should handle overlaid old files and directories. Done would be an agreed feature requirement and design, rather than an implementation patch.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, shell
Domain
release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.