info-gnu
[Top][All Lists]
Advanced

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

direvent-5.3 released [stable]


From: Sergey Poznyakoff
Subject: direvent-5.3 released [stable]
Date: Thu, 30 Dec 2021 11:50:12 +0100
User-agent: MH (GNU Mailutils 3.13.90)

Hello,

This is to inform you that GNU direvent version 5.3 is available
for download.  See the end of this message for a list of changes.

GNU direvent is a directory content watcher daemon.  It monitors a set
of directories on the file system and runs external programs when
their content changes.

Here are the compressed sources and a GPG detached signature[*]:
  https://ftp.gnu.org/gnu/direvent/direvent-5.3.tar.gz
  https://ftp.gnu.org/gnu/direvent/direvent-5.3.tar.gz.sig

Use a mirror for higher download bandwidth:
  https://ftpmirror.gnu.org/direvent/direvent-5.3.tar.gz
  https://ftpmirror.gnu.org/direvent/direvent-5.3.tar.gz.sig

Here are the MD5 and SHA1 checksums:

2204828f660af8f642b60a0b8b2ad2df  direvent-5.3.tar.gz
b6a645da9a686e3d39de036b878ebede059967f6  direvent-5.3.tar.gz

[*] Use a .sig file to verify that the corresponding file (without the
.sig suffix) is intact.  First, be sure to download both the .sig file
and the corresponding tarball.  Then, run a command like this:

  gpg --verify direvent-5.3.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver keyserver.ubuntu.com --recv-keys 3602B07F55D0C732

and rerun the 'gpg --verify' command.

Noteworthy changes in this release:

* New event: change

The "change" event is delivered when a file was modified and closed.
It is implemented on GNU/Linux, FreeBSD and NetBSD.

* New configuration statement for manipulating the environment

The "environ" statement is now a compound statement. It can contain
five kinds of substatements: "clear" to clear the environment, "keep"
to retain certain variables while clearing the environment, "set" to
set a variable, "unset" to unset a variable or variables, and "eval"
to evaluate a variable reference for side effects.

Both "keep" and "unset" can take globbing pattern as their argument,
in which case they affect all variables matching that pattern. 

The "environ" block can appear in global context as well.  In this
case it applies to all watchers.

The support for the old one-line "environ" syntax is retained for
backward compatibility.

* Variable expansion in arguments to some configuration statements

Both macro and environment variables are expanded in arguments to all
substatements of the new "environ" block statement and in the argument
to the "command" statement.  In the latter case, expansion of the
environment variables is controlled by the "shell" option.  If the
option is set, the variable will be expanded by the shell.  Otherwise,
they are expanded by direvent prior to invoking the command.

* Rewrite the recursive watching support

In particular, this fixes the bug where recursive watchers silently
assumed that the "create" generic event was configured for the
watcher.

* Change interface for bulk closing of file descriptors

To speed up launching of the user commands, system-dependent
interfaces for closing the file descriptors above the given one are
used, if available.

Best regards,
Sergey




reply via email to

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