On Thu, 26 Aug 2010 08:39:54 +0900, Charles Plessy wrote: > > * Are find -name/-path globs a better idea than .gitignore? > > * Are shell-style globs the right idea? Should we use Perl regular > > expressions on the entire pathname instead?
> I think that we can, and should, keep the rest of the syntax simple by using > only the shell wildcards ‘?’ and ‘*’. I have not worked on any package where a > more complex syntax would be needed. I agree that shell globs are probably the easiest way both to write (without checking pattern rules) and test (with a simple `ls'). [0] When I look at gitignore(5) I find in the example: # ignore objects and archives, anywhere in the tree. *.[oa] I don't think the "anywhere in the tree" part is desirable for debian/copyright. > Adding an exclusion syntax with ‘!’ has some use, but it would be to the > expense of being able to paste the field's value, and between the two I prefer > being able to paste. I haven't missed the exclusions so far, but I don't mind them either. Cheers, gregor [0] I've fact I've written shell-style patterns free-handedly so far and hoped that they would also be valid for `find' :) -- .''`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Canti Sociali: Bandiera rossa
signature.asc
Description: Digital signature