Dear Daniel, On Fri, Jun 2, 2023 at 4:57 PM Daniel P. Berrangé <berrange@xxxxxxxxxx> wrote: > > On Fri, Jun 02, 2023 at 04:27:37PM +0200, Dmitry Belyavskiy wrote: > > Dear colleagues, > > > > I maintain OpenSSH that has a lot of heavy-interfering downstream > > patches. I’d like to reduce the burden of rebase by combining some of > > them. > > Trying to reduce the burden by combining patches won't help IMHO, and > if anything make life worse, as any patch failing to apply will leave > a bigger conflict mess to resolve. I always favour a larger number of > small patches, over a small number of big patches. I can easily identify some patches that would definitely better be combined. I'd prefer to do it more or less automagically. But of course, there are also ones that should stay separate. > > So I wonder if there is software checking for cross-dependencies > > between patches to see what are the natural candidates for combining? > > > > I’m aware of quilt and git-absorb but it looks like they don’t help me much. > > Are you primarily using dist-git and managing the patches manually ? > It looks like it, since the paches I see in openssh.git aren't git > commit exports. > > If so, I'd highly recommend switching to using a src-git model instead, > where you manage a Fedora branch of commits directly against the upstream > git repo. This lets you exploit the full power of git for rebasing and > cherry-picking patches and resolving conflicts. dist-git largely becomes > an export of patches from the src-git branch which is largely automatable. > I'm not saying src-git is a magic bullet, just that it is much less painful > that directly working on dist-git. I consider it as an option for future. -- Dmitry Belyavskiy _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue