On Fri, Nov 27, 2026 at 05:11:53PM +0100, Ruediger Pluem via dev wrote: > Thanks. Now I think get your concept better: > > 1. Preallocate numbers with a direct commit to trunk. If I am not sure how > many numbers > I need exactly I could even reserve a few more as holes in the numbers are > not a problem. > I could even use left over numbers of this reservation for another PR. We > only care that > the numbers are unique. They neither need to get in in the same order as > the commits nor > do holes matter. > > 2. Then I create the PR and in each commit I already fill APLOGNO()'s with > one of the preallocated > numbers. I do not do any commits in that PR with an empty APLOGNO(). > This way the commits can pass CI and each of them can be safely > cherry-picked for 2.4.x. > > 3. If by accident I add a commit to the PR with an empty APLOGNO() I fix > this, amend this commit > and force push it to the PR branch to ensure that the commit that gets > merged later is fine. > I do not fix the empty APLOGNO() with a separate commit added to the PR. > > 4. There is no special magic with regards to APLOGNO()'s to be done once a PR > is fine for merging. > It just gets merged. > > 5. Backport PR's do not need any special treatment if 1. - 4. was done. We > probably still want to do > some sanity checking.
Yup, exactly. I think we can have a 2.4.x specific CI job which does a cross-check against trunk to do that sanity checking. Regards, Joe
