luarocks / luarocks/luarocks

luarocks search --all too long to be usable

Open
#1,462 0 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

I am using lua on windows 10.

Current luarocks search -all on terminar produces a large output which could be improved.

```
colormap
1.1-2 (rockspec) - https://luarocks.org
1.1-1 (rockspec) - https://luarocks.org
1.1-0 (rockspec) - https://luarocks.org
```

I see that this format is intended to be readable, however is too large to be.
I would propose to stick to 1 line per package:
- or just a coma separated list of all packages, as most packagenames are autodescriptive or could be web-searched.

```
color , 1.1-1 , rockspec , Description
colorise , 1.0-1 , rockspec , Description
colormap , 1.1-2 , rockspec , Description
```

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 locating the LuaRocks implementation for the `search --all` command and how it formats package results. Compare the current multi-line output with the proposed one-line-per-package format; done means the output is substantially shorter while still showing the package name, version, type, and description.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.