Re: [Fedora-packaging] Re: Let's standardize the way to disable tests during RPM build?

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

 



Dne 09. 06. 20 v 12:12 Nicolas Mailhot napsal(a):
> Le mardi 09 juin 2020 à 12:08 +0200, Vít Ondruch a écrit :
>> Just FTR, we have bootstrapping guidelines  
>> https://docs.fedoraproject.org/en-US/packaging-guidelines/#bootstrapping
>>
> Those suffer from
> 1. the horrible bcond logic inversion that trips pretty much everyone
> all the time.


That won't be different for what was the original question here, i.e.
conditionally disable tests. bconds are what we have for better or worse.

And really, this seems about bootstrapping not disabling tests, which
are not completely different, but nobody can objects bootstrapping,
while disabling tests might be good just to improve build speed and
nothing else. That should never happen in production environment IMO.


> 2. the fact you can not ask koji or mock for a bootstrapped build, you
> have to change the spec manually
>

You can set them in modules and I think Koji can set them:

https://pagure.io/koji/issue/416

Not mentioning that there is almost always way to provide some macro
file, e.g. there is no reason for python bootstrapping all the packages
to not ship some macro in `/usr/lib/macros.d/macros.python-bootstrap`.


Vít

_______________________________________________
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




[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