FS#72198 - [makepkg] make VCS update errors fatal

Attached to Project: Pacman
Opened by Emil (xexaxo) - Tuesday, 21 September 2021, 17:06 GMT
Task Type Bug Report
Category makepkg
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 6.0.0
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Summary and Info:

Please make vcs update errors, such as git fetch, fatal. Currently it produces a warning, which is trivial to miss amongst the hundreds of lines of output produced during package building.

I don't have a strong optinion of the new behaviour should be the default or behind some makepkg --fatal-vcs-updates like flag.

Steps to Reproduce:
1. Create PKGBUILD which has a git repo in its sources array
2. Build the package
3. Add extra changes to the upstream git repo
4. Make the git repo inaccessible (your connection suddenly drops, rename the upstream repo, etc)
5. Rebuild the package - try and find the WARNING show up, while the build churns
This task depends upon

Loading...