luarocks / luarocks/luarocks

How to override version of dependency of dependency

Open
#1,165 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In the rockspec, you specify a version of a luarock you wish to install. What if the version of two luarocks you specify have a common dependency of different versions? How can you override the second luarock to use the newer dependency version, or override the first luarock to use the older dependency version?

I understand the creators of luarocks should have a range of applicable versions in its rockspec - but in case they don't (not everyone is perfect)...

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

The issue names no files, tests, or entry points. Begin by locating dependency resolution and rockspec version handling, then determine whether an override mechanism is intended and define its behavior for conflicting dependency versions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.