How to deal with interdependent dlang PRs?

Quirin Schroll qs.il.paperinik at gmail.com
Thu May 25 15:37:00 UTC 2023


I have 2 PRs, [one on 
dlang/dlang.org](https://github.com/dlang/dlang.org/pull/3446) 
and [one on dlang/dmd](https://github.com/dlang/dmd/pull/15245). 
The latter fails a test because an example on the (current) 
dlang.org fails. The dlang.org PR changes the example, and fails 
likewise it’s based on the changes in the dmd PR.

One measure I could think of:
1. Create a new dlang.org PR that (temporarily) removes the 
offending example; that one should not fail tests.
2. When it has been merged, the dmd PR will not fail anymore and 
can be merged.
3. The original dlang.org PR "reintroduces" the example with 
appropriate changes. It won’t fail because the compiler has been 
changed.

This seems a little convoluted. Is there a process? I can’t be 
the first one running into this.


More information about the Digitalmars-d-learn mailing list