luarocks / luarocks/luarocks

'verify' stage

Open
#915 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Lua
Stars
3.7k
Forks
479
PR merge metrics
No merged PRs in 30d

Description

Between downloading and installing we should support a 'verify' phase.

Initial concept:
- Add `verify_command` to config file (perhaps this should be a lua module??)
This command would be passed the downloaded file and the location it was retrieved from.
- Add `--no-verify` or similar argument to `install`

Contributor guide

No contributing guide indexed for this repository

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 tracing the install flow between downloading and installing, then review how the config file and install arguments are handled. Define the verify phase around a command receiving the downloaded file and retrieval location, including the proposed --no-verify behavior; done requires an agreed design and coverage of these cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.