Re: regexprops-generic propagation

Bernhard Voelker <[email protected]> Thu, 10 Jul 2025 08:49:10 +0200
Newsgroups gmane.comp.gnu.findutils.bugs,gmane.comp.lib.gnulib.bugs
Message-ID <[email protected]>
On 7/10/25 07:56, Bruno Haible wrote:
> Bernhard Voelker wrote:
>> * [PATCH 2/3] regexprops: sort regex_map alphabetically
>>     https://cgit.git.sv.gnu.org/cgit/findutils.git/commit/?id=c9c2c511759
>>
>> * [PATCH 3/3] doc: regenerate regexprops.texi
>>     https://cgit.git.sv.gnu.org/cgit/findutils.git/commit/?id=facc27e1804
>>
>> 2. Commit (to be pushed) to gnulib - see attachment.
> 
> This regeneration and propagation from findutils to gnulib is manual
> each time. Which means, it costs developer time and can be forgotten.

It was this time, sigh.

> How about making it automatic?

good idea.

>    1) Have the findutils developers commit the regenerated
>       regexprops-generic.texi in their git repository (next to
>       regexprops.texi, which is also regenerated).

easy.

>    2) Have Karl's autoupdate mechanism, that propagates some files from
>       texinfo and automake to gnulib, be extended to also copy
>       findutils/doc/regexprops-generic.texi to gnulib/doc/regexprops-generic.texi
>       ?

I don't know about this autoupdate mechanism, but I guess a simple
diff in a new syntax-check would be sufficient.

There's still the timely gap: sure, findutils regularly updates gnulib
to latest, still it can take some months sometimes from a change in regex.h
until updating the gnulib submodule in findutils ... at which point we'd
now have the automated sync for 'regexprops-generic.texi'.
If that is acceptable, then I will go forward with the above.

Have a nice day,
Berny