Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#76748 - [libbluray] Do not touch global git config

Attached to Project: Arch Linux
Opened by Siegfried Metz (NiceGuy) - Monday, 05 December 2022, 17:06 GMT
Last edited by Toolybird (Toolybird) - Monday, 05 December 2022, 20:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Maxime Gauduin (Alucryd)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


-1.3.4libbluray incorporated changes which should be avoided. As can be seen with an example of gnome-settings-daemon commit [1], global git config modification should be avoided within a PKGBUILD.

"git -c protocol.file.allow=always submodule update" like documented in the official VSC guide [2] should be used, or something similar. This avoids touching users git config global settings.


Additional info:
* libbluray-1.3.4

Steps to reproduce:
Just a minor glitch in the matrix ;)
git changed behavior for security, in order to use submodules, protocol.file.allow=always has to be used,
but should be taken care of not to use --global scope.
This task depends upon

Comment by Toolybird (Toolybird) - Monday, 05 December 2022, 20:53 GMT
It could be argued that this doesn't matter much because official Arch pkgs are built inside a clean chroot.
Comment by Siegfried Metz (NiceGuy) - Monday, 05 December 2022, 22:04 GMT
Well, then it could be that heftig is just cautious.
I see your point. Then again, maybe it was just overlooked. My intent was to point out how it's officially documented.
Somehow it is set for other PGKBUILDs this way. Either way, I'm ok with it. I really wish it is uniformly handled, that's all. :)