How to override version of dependency of dependency
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
- 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
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