luarocks / luarocks/luarocks-site

cannot upload a rock

Open
#172 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MoonScript
Stars
201
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Using the GUI I can only upload a rockspec, the rock upload fails.

If I add a `rockspec` and a `rock` to the GUI, only the `rockspec` is uploaded and added. If I only add a `rock` I get "Errors: missing file".

I tried with both `.src.rock` and `.all.rock`.

(what's the difference between the two formats? I managed to upload a `.all.rock` using curl, but then a `luarocks install` would not find it.)

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 with the GUI upload flow and reproduce the failure using both .src.rock and .all.rock files, comparing it with the reported curl behavior. Trace why a rock-only upload reports a missing file and verify that successfully uploaded packages can be found by luarocks install; clarify the format distinction as part of the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
backend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.