change: require .SRCINFO only in last commit of a push
We don't really need the .SRCINFO
file to be present in every commit.
It's sufficient when we have it in the last commit of a push.
Currently we're also just parsing/using the metadata from the last commit to update the information in the DB:
https://gitlab.archlinux.org/archlinux/aurweb/-/blob/ed2f85ad047f4659b03f7b3730ff117522feaaa6/aurweb/git/update.py#L407
This would allow migration of git history from a repo package when dropped to the AUR
Feature request: #444 (closed)
Signed-off-by: moson-mo mo-son@mailbox.org