Re: Debugging fun (wrt C modernization change)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2024-05-17 at 10:32 +0200, Michael J Gruber wrote:
> Kevin Kofler via devel venit, vidit, dixit 2024-05-16 22:39:00:
> > Panu Matilainen wrote:
> > > Patch and source numbers start from zero, that goes for automatically
> > > numbered patches too. So there's an off by one in the application, and
> > > the latter %autopatch which is supposed to apply patches >= 2 simply has
> > > nothing to do, and falls through silently. That's a bug of course in
> > > itself, filed now:
> > > https://github.com/rpm-software-management/rpm/issues/3093
> > 
> > And then they say the automagic is a good idea because it prevents people 
> > from accidentally forgetting to apply a patch, LOL.
> 
> This would not have happened with autosetup. If you overwrite
> automatisms (using invidual patch numbers and flags) you need to know
> what you are doing. So this is a very weak argument:
>  
> > %patchlist and %auto* should just go away, or at least banned from Fedora by 
> > a git hook rejecting such specfiles.
> 
> We also have unnumbered patch source definition lines, don't we?

Yes, and every package should absolutely use them unless it really
needs to refer to individual patches for some reason (e.g. applying
them at specific times or not applying them on certain arches).
-- 
Adam Williamson (he/him/his)
Fedora QA
Fedora Chat: @adamwill:fedora.im | Mastodon: @adamw@xxxxxxxxxxxxx
https://www.happyassassin.net



--
_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux