bug#81520: Add pre-receive hook to Savannah to reject LLM-encumbered commits
Sean Whitton <[email protected]>
| Newsgroups | gmane.emacs.bugs |
|---|---|
| Message-ID | <[email protected]> |
Jim Porter [08/Aug 6:45pm -07] wrote: > Sean/Eli: Before I go too far changing things, I wanted to check your > thoughts on how to structure this. We already have both a commit-msg > hook (which does some style checks on the commit message) and a pre-push > hook (which checks that the files listed in the commit message are > correct[1]). > > While I could do the LLM-attribution checks in the middle of these > existing checks, I think it would be clearer to do it in a separate > pass. That way, we're not mixing messages about long commit message > lines or misspelled file names with messages that we detected possible > LLM usage. > > Does that sound ok? (If not, it would be harder to share the code for > the LLM checks in both the commit-msg and pre-push hooks.) Fine with me, if I'm understanding you correctly. -- Sean Whitton