Re: [Fedora-packing] Problem with __scm_setup_git if global excludesfile is defined

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

 



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@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to
> packaging-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/packaging@xxxxxxxxxxxxxxxxxxxxxxx
- --
Igor Raits <ignatenkobrain@xxxxxxxxxxxxxxxxx>
-----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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-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/packaging@xxxxxxxxxxxxxxxxxxxxxxx


--
xiaofeng

--
gpg key fingerprint:
2048R/5E63005B
C84F 671F 70B7 7330 4726  5EC8 02BC CBA2 5E63 005B

--
trans-zh_cn mailing list
trans-zh_cn@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/trans-zh_cn
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-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/packaging@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux