-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Mon, 2018-01-22 at 12:31 +0100, Miroslav Suchý wrote:
Dne 20.1.2018 v 12:27 Igor Gnatenko napsal(a):
> Why I'm writing this? I want to hear from you if you think it would be good
> to
> prohibit (or advise, or whatever mechanism would work) usage if
> conditionals in
> (at least) master branch to allow us to develop features faster. Thoughts?
-1
If this were ever approved, I would orphan a lot of packages because I will
not have time to maintain them.
> Given all these, it is very hard to get any new feature in "production"
> because
> everyone wants to support 10 years old thing (even if they don't think so).
Can you give a specific example? Everything you mentioned can be easily
conditionalized on RHEL7+.
For me (as an upstream author who maintains the spec file as well) the
conditionals are useful. When I see something like:
%if 0%{?rhel} < 6
then I know I can wipe it now and **remove the relevant code** in the
application as well.
Maintaining 3 spec files for Fedora and 1-2 spec files for EPEL is much much
bigger overhead. Especially when they are
mostly identical and differ only in few lines.
Better to introduce bugs?
mock-core-config now requires yum on Fedora because you made wrong if in
spec...
https://bugzilla.redhat.com/show_bug.cgi?id=1537193
- --
- -Igor Gnatenko
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlpmEF0ACgkQaVcUvRu8
X0wXKA//cycdU9rYq1Zxd8+x+CqorZQVgIJcdppOWP8V6QCXHyoNz7ejnhUb395S
vcWI9cpmzZ1BficgP37f9drSxSr3H/GRXKOEwt7aeAO3ApPwVFPpTKswnfun53Jn
5sFHkLzRISb4fXQurbrdUP2zx3POOkT0GvlTgq4Q30zjWkYvpKmcMdQUvBJYuH2E
Jtl0f1x0nwcS1XUrPVwV9AmB/AdzqwCX02zVHhzudJ/nbeXqWokqA/Ojl3LM1A+1
BRMsIc4CgB5TjiEPtwUHAH4q8/XFcLSVQk+92S9zAhiG2LYz22SG2z6NbRihOlpe
mO83nkaTngqgVo9W9y5xos6Hev5HHCcddI7bhfMaimabtHBry6lYFcUKyApQcFCO
yatsu2MRfjepNdI+53gbQGUag5uFR69jPXGe4b4OxgJV8wWpfOXWJQfGeTL3+Zpt
OittwnKohzBaFbyuQN/b0ogpOdC1YBCzU9C2CAE7PTKZ0a0F8kFBhRCt/CFVz1lG
VWY1df9w3kW0X3s3TjXQhOX9TU2k0e06GdtPNbrKPDkGihvHoiCIHOaHnYcmaL7C
tNwy9XZBp1I+5dmEmHqTXsihrOiZWnzOPRnmcPAs1iirj4aNvPwdyzGm3Tf6b/a2
fIMFt1unknb+qojOQI+LCoGF8KUB4H4q5IUsE4gENAygBgwNAoc=
=WMFv
-----END PGP SIGNATURE-----