(Not) Merging fixes into next
(Not) Merging fixes into next
Posted Jan 17, 2025 12:34 UTC (Fri) by geert (subscriber, #98403)Parent article: The many names of commit 55039832f98c
Not doing this regularly is my main gripe with drm-next.
When merging drm-next and other for-next trees into the latest upstream release, conflicts can be expected, because e.g. a common structure was changed in a different subsystem, or an API was changed, and a new user still expecting the old API popped up. However, in my experience, most of the time when merging drm-next, the conflict is not such an expected conflict, but a conflict with the DRM fixes that had just gone upstream.
Merging their own fixes branch into their own for-next branch before sending a fixes pull request would avoid such conflicts. In the absence of such a merge, every single person who wants to merge drm-next into the latest upstream release has to resolve these conflicts, and has to spend time investigating changes to drivers and/or a subsystem they may not be familiar with.
Fortunately (for me), Stephen Rothwell lives in an earlier time zone, so by the time I start creating a renesas-drivers release, he usually has already created a linux-next release, and thus has already resolved these conflicts himself ;-) Thanks Stephen!
Posted Jan 17, 2025 20:38 UTC (Fri)
by sima (subscriber, #160698)
[Link] (3 responses)
We've also imposed resolving new conflicts onto each individual committer (they tend to know best) and then everyone else just reuses the merge resolutions, which is why we're scaling to pretty ridiculous amounts of inter-tree conflicts.
At a ks years ago I think I was discussing with Stephen whether there's any interesting in sharing these in a standardized format, but there was no interest apparently.
Posted Jan 19, 2025 10:29 UTC (Sun)
by geert (subscriber, #98403)
[Link] (2 responses)
Thanks a lot!
I had heard DRM committers have access to shared rerere-resolutions, but didn't know the details (and didn't find it appropriate to ask for DRM commit access just for that ;-) How do you make git consider that branch for resolutions? Is having it as a remote sufficiently, or do you need extra setup or magic? The drm-tip and dim documentation do not describe how it works (not using dim).
I didn't know about drm-tip.
> At a ks years ago I think I was discussing with Stephen whether there's any interesting in sharing these in a standardized format, but there was no interest apparently.
Not everybody is at the Kernel Summit. And even if they are, they might miss that session/information...
Posted Jan 20, 2025 9:00 UTC (Mon)
by sima (subscriber, #160698)
[Link]
Posted Jan 20, 2025 9:09 UTC (Mon)
by sima (subscriber, #160698)
[Link]
(Not) Merging fixes into next
(Not) Merging fixes into next
Will give it a try for next renesas-drivers release.
(Not) Merging fixes into next
(Not) Merging fixes into next