On 8/22/24 02:06, Bastien Roucariès wrote:
Le mercredi 21 août 2024, 11:07:17 UTC Niels Thykier a écrit :
On Tue, 20 Aug 2024 18:50:20 +0000 Bastien =?ISO-8859-1?Q?Roucari=E8s?=
<ro...@debian.org> wrote:
Package: devscripts
Version: 2.23.7
Severity: minor
Dear Maintainer,
I do not find the syntax of the regex used by Files-Excluded.
I suppose it is POSIX RE.
It should be documented if it is the case
If it is not PCRE could be possible to add a Files-Excluded-PCRE field ? It
will greatly help to remove all directory except one
in case of JS monorep
Rouca
Drive by remark, it uses the DEP-5 `Files` semantics (that is, not a
regex at all). For the use-case you have, I think you want to combine
`Files-Excluded` with `Files-Included`.
That was what I had for this bug.
No it is does not work:
- Files-Included is not documented
- Does not work with component
For components, use "Files-Excluded-componentname"
Files-Included-PCRE per component may be better I believe
Best regards,
Niels