On Mon, Jan 24, 2022 at 12:28:53PM +0100, Martin Liška wrote: > The patch is about FORBIDDEN_FILES that we don't want to be commited. > So far we have $root/Makefile.am and $root/build.log. > > Do you have any other candidates?
I think it shouldn't be about blacklisting all the mistakes from the past. Instead, I think we should reject any new file additions to the toplevel unless they are clearly mentioned in the entry for the toplevel ChangeLog file (and as toplevel Changes are rare, we could be more strict for that and require that one actually uses a syntax that makes it clear it is for toplevel. So that when one does: date name email * foo.xyz: New file. and means to add file in say gcc/ dir and adds it also or just in the toplevel instead, we catch it. ChangeLog: is certainly one explicit syntax for toplevel dir, dunno if we have others. Jakub