Less of "very time consuming" and more of "occasional annoyance": "fedpkg 
commit" could inspect the .spec file and ensure that every Source has a 
matching entry in the sources file, and that every Patch has a corresponding 
file in the repo. Every now and then I do a local build, it works, I commit 
forgetting to run "fedpkg new-sources" and then the koji build fails. 

I know that I could avoid this by using "fedpkg mockbuild" instead of "fedpkg 
local", but still, I believe that adding extra checks to reduce the possibility 
of human error is a good thing.

Alternatively, this could be done server-side in a hook, rejecting any pushes 
that have missing files.

A.FI.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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/devel@lists.fedoraproject.org

Reply via email to