uutils / uutils/coreutils

cargo only install (drop GNU make)

Open
#8,152 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

At least for Arch Linux, offline build and splitting packaging process is recommended. i.e.

cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" # Download crates needed for build
cargo build --frozen --release --all-features # offline build
cargo install --no-track --frozen --all-features --root "$pkgdir/usr/" --path . # packaging

However, the step to install everything is provided only by GNU make and manual installation of manpages,etc... needs many steps. I know cargo fetch before make is possible, but difficult to understand it.

Consider supporting to install them by cargo install --all-features.
Consider also dropping support of GNU make since it internally calls cargo too many times already.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing GNU make installation path and the cargo commands used for packaging. Compare the requested cargo install --all-features flow with the current installation of binaries and manpages; done means the documented packaging process works without GNU make and covers those installed artifacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.