Package: inotify-hookable
Version: 0.09-2
Severity: normal
File: /usr/bin/inotify-hookable

The manpage says:

> **"-i" or "--ignore-paths"**
>   Regexes for files/directories to ignore events for. By default this 
>   is set to regexes for vim and emacs temporary files, "qr{\..*sw.\z}" 
>   and "qr{\.\#[^/]+\z}" respectively.
>
>   The regexes match after any "/" in the path or the beginning of the 
>   string.

I want to ignore files under `.mypy_cache`, `.ruff_cache`, and 
`.pytest_cache`, and so I tried:

```
inotify-hookable -d -w . -i '\..+_cache' -C '.+\.py$=pytest -s'
```

and also every other combination of regexp I could think of, including 
the use of `qr{}` and even just `.*`, but none of these seem to have any 
effect, leading me to believe that `-i` is broken, or very wrongly 
documented.

Thanks for looking into this!

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.25-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages inotify-hookable depends on:
ii  libclass-inspector-perl  1.36-3
ii  libdata-bitmask-perl     1.00-1
ii  liblinux-inotify2-perl   1:2.3-2+b3
ii  liblist-moreutils-perl   0.430-2
ii  libmoose-perl            2.2207-1+b3
ii  libmoosex-getopt-perl    0.78-1
ii  libmoosex-types-perl     0.51-4
ii  libtry-tiny-perl         0.32-1
ii  perl                     5.40.1-3

inotify-hookable recommends no packages.

inotify-hookable suggests no packages.

-- debconf-show failed


-- 
 .''`.   martin f. krafft <madduck@d.o>
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Reply via email to