On 2026-03-17 15:00, Simon Josefsson wrote:
> The corner-case I'm thinking of something like this:
> 
> Files-Excluded: foo/*
> Files-Included: foo/bar*

At the risk of side-tracking this, I'd like to point to #1106232l, where
mk-origtargz currently, IMO, appears to apply Files-Included too broadly.

Given:

  Files-Excluded: foo/* /baz*
  Files-Included: foo/bar*

The Files-Included would also include a /baz/foo/bar, should it exist,
even though /baz* is excluded.

(This doesn't look like much of a problem in the example above, but
substitute foo|bar|baz with more common patterns, like 'src' and 'c.*')

So one would need to consider the Policy's stance on this: should the
current (IMO buggy) behaviour be confirmed as Policy, or would the
Policy mandate a change of this.

It's entirely possible that this is by design, hence all the IMOs.

Best,
Christian

Reply via email to