Cycles with %{read:...} can be better documented
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- ocaml
- Domain
- build-system, documentation
Research direction
Start with the documentation for %{read:<path>} and compare its explanation of moving paths with the linked cram test, test/blackbox-tests/test-cases/enabled_if/eif-library-cycle.t. Clarify when a read creates a cycle, including files in the same or parent directory, and update the documentation so the directory guidance is unambiguous.
Written by the indexing model from the issue text.
Description
Expected Behavior
Using %{read:<path>} doesn't cause cycles. At the very least, the documentation for avoiding these cycles can use some clarification on what we mean by "move <path> to a different directory".
Actual Behavior
Currently, we have cycles when the file being read is in the same folder or the parent folder of the library in whose stanza we have the read pform. This behavior is captured in this cram test, for instance. #14946 was an issue reported by a user running into this.
- Dominant language
- OCaml
- Stars
- 1.9k
- Forks
- 500
- Avg merge
- 14h 32m
- Merged PRs (30d)
- 270
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.
More from ocaml/dune
-
cli
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
cli
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
cli
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
describe
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
describe
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#147 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
agentic-workflows cascade-suspected
Difficulty 1/5 Under an hour Newbie friendliness 88/100