luarocks / luarocks/luarocks-site

Warnings about name collision of modules

Open
#19 3 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

I think it would be convinient to be able check if this module name already used in some library.
E.g. LuaSocket library uses not only `socket` module name but also `mime` and `ltn12`.
But some libraries may use same base module name (e.g. `LuaCov` and `LuaCov-coveralls`) libraryes use same namespace `luacov`.
So I think `luarocks upload` and web UI should get warning if some one try create new library that contein modules with such names.

@hishamhm ping.

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 reviewing the `luarocks upload` flow and the web UI for creating libraries, since the issue names both entry points. Determine how module names are collected and compared, then consider the work complete when both surfaces warn about module-name collisions before a library is created.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli, web-dev
Issue type
Feature
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.