Findlib library `requires` for non-empty predicates
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 41
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Currently findlib library dependencies are looked up with the empty predicates list, but other possibilities may exist:
- https://sourcegraph.com/search?q=context%3Aglobal+file%3A%5EMETA%24+requires%28&patternType=standard&case=yes&groupBy=repo
- https://cs.github.com/?scopeName=All+repos&scope=&q=path%3A%2F%5EMETA%24%2F+%22requires%28%22
To get a complete listing for all predicates, the META files need to be manually traversed: http://projects.camlcity.org/projects/dl/findlib-1.9.6/doc/ref-html/lib/Fl_metascanner.html#TYPEpkg_definition.
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
Start by reading the linked findlib Fl_metascanner documentation and inspect how odep currently looks up library dependencies with an empty predicate list. Trace how META definitions are traversed, then verify that dependencies requiring non-empty predicates are included in the complete listing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100