luarocks / luarocks/luarocks-site
cannot upload a rock
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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