Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-02-16 Thread Jeremy Linton
On 1/19/23 04:52, Michal Schorm wrote: Hello, While playing around with Sourcegraph, which indexed all Fedora package repositories, I was able to craft a query listing all '%if' conditionals referencing Fedora releases that reached EOL.

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Gary Buhrmaster
On Thu, Jan 19, 2023 at 10:52 AM Michal Schorm wrote: > Would you see a value in e.g. some kind of a robot reminding > maintainers of such obsolete code? (e.g. new RPMinspect or ZUUL CI > check) "Reminding" is another term for nagging. Fedora should not be a nag when there may be reasons for

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Miroslav Suchý
Dne 19. 01. 23 v 16:13 Michal Schorm napsal(a): I'd just add that the same may apply to the %{rhel} macros too - Is there any need to check for*EOLed* RHEL releases? Sometimes yes. I have seen people still using RHEL 5 and building packages for RHEL 5. It is not needed to be present in

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Ben Beasley
I personally very much prefer to keep stale conditionals out of the spec files I work on, but I also concur that it is reasonable to want to leave this to maintainer discretion. On Thu, Jan 19, 2023, at 11:14 AM, Robbie Harwood wrote: > Michal Schorm writes: > >> On Thu, Jan 19, 2023 at 3:36

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Björn Persson
Michal Schorm wrote: > I'd like to learn why people would (not) like such a check or reminder. The maintainer sees the conditional every time they update the spec. They can remove it whenever it's convenient to them. There's no need to pester people about such non-urgent maintenance. It's not

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Robbie Harwood
Michal Schorm writes: > On Thu, Jan 19, 2023 at 3:36 PM Robbie Harwood wrote: >>> Would you see a value in e.g. some kind of a robot reminding >>> maintainers of such obsolete code? (e.g. new RPMinspect or ZUUL CI >>> check) >> >> Please don't. > > Would you mind expanding your answer a bit,

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Ewoud Kohl van Wijngaarden
On Thu, Jan 19, 2023 at 04:13:02PM +0100, Michal Schorm wrote: On Thu, Jan 19, 2023 at 4:04 PM Ewoud Kohl van Wijngaarden wrote: >Do you agree it would be safe to remove such conditionals and the code >they hold ? Only if they're purely for Fedora. In many examples you also see a rhel

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Michal Schorm
On Thu, Jan 19, 2023 at 4:04 PM Ewoud Kohl van Wijngaarden wrote: > >Do you agree it would be safe to remove such conditionals and the code > >they hold ? > > Only if they're purely for Fedora. In many examples you also see a rhel > conditional and that could be used for EPEL. A good number of

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Ewoud Kohl van Wijngaarden
On Thu, Jan 19, 2023 at 11:52:04AM +0100, Michal Schorm wrote: While playing around with Sourcegraph, which indexed all Fedora package repositories, I was able to craft a query listing all '%if' conditionals referencing Fedora releases that reached EOL.

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Richard Shaw
On Thu, Jan 19, 2023 at 8:55 AM Michal Schorm wrote: > On Thu, Jan 19, 2023 at 3:36 PM Robbie Harwood > wrote: > > > Would you see a value in e.g. some kind of a robot reminding > > > maintainers of such obsolete code? (e.g. new RPMinspect or ZUUL CI > > > check) > > > > Please don't. > > Would

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Michal Schorm
On Thu, Jan 19, 2023 at 3:36 PM Robbie Harwood wrote: > > Would you see a value in e.g. some kind of a robot reminding > > maintainers of such obsolete code? (e.g. new RPMinspect or ZUUL CI > > check) > > Please don't. Would you mind expanding your answer a bit, please? I'd like to learn why

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Robbie Harwood
Michal Schorm writes: > While playing around with Sourcegraph, which indexed all Fedora > package repositories, I was able to craft a query listing all '%if' > conditionals referencing Fedora releases that reached EOL. > > Do you agree it would be safe to remove such conditionals and the code >

Re: SPECfiles - conditionals with EOLed Fedora releases - any value in keeping them ?

2023-01-19 Thread Jonathan Wakely
On Thu, 19 Jan 2023 at 10:52, Michal Schorm wrote: > > Hello, > While playing around with Sourcegraph, which indexed all Fedora > package repositories, I was able to craft a query listing all '%if' > conditionals referencing Fedora releases that reached EOL. > >