FS#79179 - [flatpak-builder] submodule URLs are not set correctly in the PKGBUILD

Attached to Project: Arch Linux
Opened by Ivan Shapovalov (intelfx) - Sunday, 23 July 2023, 17:14 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 24 July 2023, 04:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Invoking `git submodule set-url` has no effect after `git submodule init`. Consequently, the submodules are cloned from their upstream URLs rather than from the locations in $srcdir.

Additional info:
* flatpak-builder main (d4e5221)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 24 July 2023, 04:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in main; thanks.
Comment by Jan Alexander Steffens (heftig) - Monday, 24 July 2023, 03:24 GMT
Are you sure about this? The manpage states "it will automatically synchronize the submodule’s new remote URL configuration".
Comment by Jan Alexander Steffens (heftig) - Monday, 24 July 2023, 04:22 GMT
Seems we're hitting a git bug where set-url does not sync properly if the submodule name is not its path. I've added a workaround.

Loading...