Hi,
When using %autosetup -S git, it expands to auto add all files to the git index, but if the user like me set a global excludesfile, some files may be excluded, and it will fail to build if those excluded files need to be patched.
May be we can change the macro bellow: %{__git} add . to %{__git} add -f . or %{__git} -c core.excludesfile= add . to force add all files?
Regards, Xiaofeng
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On Tue, 2020-06-02 at 12:44 +0800, xiaofeng wrote:
Hi,
When using %autosetup -S git, it expands to auto add all files to the git index, but if the user like me set a global excludesfile, some files may be excluded, and it will fail to build if those excluded files need to be patched.
May be we can change the macro bellow: %{__git} add . to %{__git} add -f . or %{__git} -c core.excludesfile= add . to force add all files?
It makes sense to me. Could you send pull request at https://github.com/rpm-software-management/rpm
Regards, Xiaofeng
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.org 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/packaging@lists.fedoraproject....
- -- Igor Raits ignatenkobrain@fedoraproject.org
Hi,
Pull request created at https://github.com/rpm-software-management/rpm/pull/1246.
On Tue, Jun 2, 2020 at 1:22 PM Igor Raits ignatenkobrain@fedoraproject.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On Tue, 2020-06-02 at 12:44 +0800, xiaofeng wrote:
Hi,
When using %autosetup -S git, it expands to auto add all files to the git index, but if the user like me set a global excludesfile, some files may be excluded, and it will fail to build if those excluded files need to be patched.
May be we can change the macro bellow: %{__git} add . to %{__git} add -f . or %{__git} -c core.excludesfile= add . to force add all files?
It makes sense to me. Could you send pull request at https://github.com/rpm-software-management/rpm
Regards, Xiaofeng
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.org 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/packaging@lists.fedoraproject....
Igor Raits ignatenkobrain@fedoraproject.org -----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEcwgJ58gsbV5f5dMcEV1auJxcHh4FAl7V4e0ACgkQEV1auJxc Hh7g0g/+KAnxqMoisheEqi/BP9gn/g0IOUGamPrwXsLdiLXKfnN/khz0uanN3Ivn NqRlaHzhcYbBOEiYIM13LHsGJO46z9TFkt/T92eSXOa2NiWgZR6K4V3fApj3ZVe+ 2bmY1NgKTvSjKqVV+VAOjarFTHn5K26wruN+M6DIQXsaFMnlPJJxkUt5fx7SZfUF syGXKXZ0BJJNdBIXESiNgb1QLeuE/TjSfCO8X0qTS2/aoXMcW7jKnux2n7BVDGM3 rZxDU/wAUbl5NLhkduLEWzxg98KYQHqm3cnxtCbnVvl5Ao0K/Kslp4E+5MsYLMNZ JuKyZeXwEFO3lhmR0iHKbwbW7OlaihtZqvKmdADyVLuYqPzaKnBTQ+hEVrDHfJkb r0hvwKiSzZLLvVugEIFr4DzJ42EweThBP4/W88/BAx9u4tKO1xFfU+McOtezjpRJ DdMr/UbHPiA+Z5oDAP2WbQ+5ZJ1HKfCaqDgmRzh4Kp1h1VzqGcR0w8ygjL4mZ0r1 f6quEeAfRcnCR9iY/5Ivjp1S4E9sqGcGzN1Ii240SupC3u1kYKqRFm1w8TBvFyKe duuHGQc3B19jG3KnmlPWc14zXZSLhCxsXGdFOTuBNhH76O3MRFdbpPlyaPfhJVpy Zx1eCd7N6E1S9iALb4Lklw9DyWHHe+l0ye77VhITOZIWcIbT6gw= =jU4R -----END PGP SIGNATURE----- _______________________________________________ packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.org 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/packaging@lists.fedoraproject....
packaging@lists.fedoraproject.org