gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: taglines vs explicit (was Linus Torvalds <addre


From: Zack Brown
Subject: Re: [Gnu-arch-users] Re: taglines vs explicit (was Linus Torvalds <address@hidden> Re: log-buf-len dynamic)
Date: Fri, 3 Oct 2003 14:56:20 -0700
User-agent: Mutt/1.5.4i

On Fri, Oct 03, 2003 at 11:44:17PM +0200, Robin Farine wrote:
> >>>>> "Davide" == Davide Libenzi <address@hidden> writes:
> 
> [...]
> 
>     Davide> It punctually happened that I fired a commit w/out a make
>     Davide> distclean and a bunch of cr*p (mainly stuff inside
>     Davide> autom4te.cache) went inside the patch. [...] So prefer to
>     Davide> care one order of magnitude less (during move/add/del)
>     Davide> instead of one order of magnitude more (during commits).
> 
> You don't seem to realize that the inventory mechanism involves two
> distinct notions:
> 
> 1) tagline|explicit|name
>    tells arch where to find the unique id (tag) of file system objects
> 
> 2) untagged-source source|precious|backup|junk|unrecognized
>    tells arch how to classify a non-tagged file system object

Yes. Davide, when you use tagline, you should maintain the inventory
regex to allow arch to recognize when it sees files that are not
intended to be committed. Since you control the makefiles, you also know
what patterns of files will be source, and what non-source. Just add
that regex in {arch}, and you don't have to worry about your commit
operating on unwanted files.

For projects that are not amenable to maintaining that regex (perhaps the
kernel), you just set a very restrictive regex that rejects everything. This
way you don't have to maintain a complex regex, and nothing will be added
unless you explicitly add it yourself.

Be well,
Zack

> 
> [...]
> 
> 
> HTH
> 
> -- 
> rnf
> 
> 
> _______________________________________________
> Gnu-arch-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnu-arch-users
> 
> GNU arch home page:
> http://savannah.gnu.org/projects/gnu-arch/

-- 
Zack Brown




reply via email to

[Prev in Thread] Current Thread [Next in Thread]