FYI: git-hooks update on sourceware.org

Simon Marchi simark@simark.ca
Fri Aug 7 16:00:22 GMT 2020


On 2020-08-07 11:50 a.m., Joel Brobecker wrote:
>> These changes have been extensively tested, and we've been using
>> the same version at AdaCore for over a week, now; but do let me
>> know if you have any issues.
> 
> Well, that didn't take long. Simon just emailed me about an error.
> Apparently, the Python installed on sourceware.org doesn't have
> the enum module installed.

What version of Python are you using, is it really old?  All the reasonably recent
and supported Python versions ship with the enum module.

> I will revert the update, and ask overseers to install it.

See the attached file, it's a very simple script to reject commits with the author
name/email munged by the mailing list.  I don't think it will produce too many false
positives.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reject-via-ml.py
Type: text/x-python
Size: 512 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20200807/348cf83d/attachment.py>


More information about the Gdb-patches mailing list