From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id DCF2A3851C39; Fri, 7 Aug 2020 16:28:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DCF2A3851C39 Received: by mail-il1-x129.google.com with SMTP id p13so2270480ilh.4; Fri, 07 Aug 2020 09:28:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4OUt5A9voryWTiFbPIy1DweoM8ge6pgv1CL+rXxX9KI=; b=o13x34mo1xxfH/7xLIU/oC9gQWR9fOjj8YWcJQge4VFJyo2PsRPqLz+9i3QrG6QXQF li9FzdmJkLXeY5wLE39gY8ZXL7ZMhA7WpGU6fOw9wotYWaXSMo+NkIss4BYkcMIOM1d+ V9aCegHB3F0N7RdA7wpV/zhi0NEd0WfdrP5eudurrP2HiRVBDX5/TZ7Z9UaK2cRno/Xw yPhpW0UyM2XoGBmbSFPwEJdp8648ICmydJHI/a5d2oINKCKRLeBTrSo96bQcuC/nypWR WGuyhDpLScTxr76A4XhcX6STwa9u+vWbZIdvlyrLyK8HfFlRZSXRzgNAtomjp4Nirt5n 03YA== X-Gm-Message-State: AOAM530dibh+8s7LCFjadnFxtM4kvBADPdFEopdvz3JgvnJdoXTDzC8N nXr8XMX1aveieWNWbM3NC/qOFOGA1sTCIqN6M8QcdOIH X-Google-Smtp-Source: ABdhPJxy2aRuHmRVlDZghJagPX7RfdbB3TyVOIdbSrU08NL/doe/fpXW9YdQdK0ISfYJ9eR6EV5UxWbN6fbgANQwwQA= X-Received: by 2002:a92:874a:: with SMTP id d10mr5286201ilm.273.1596817712352; Fri, 07 Aug 2020 09:28:32 -0700 (PDT) MIME-Version: 1.0 References: <20200807154423.GB3362@adacore.com> <20200807155017.GC3362@adacore.com> <31207ab5-403b-180f-e74f-9b6e8d1dc5a4@simark.ca> <19669201-5e6f-99ce-a5ba-c91c78616fce@simark.ca> <20200807162118.GF3362@adacore.com> In-Reply-To: <20200807162118.GF3362@adacore.com> From: "H.J. Lu" Date: Fri, 7 Aug 2020 09:27:56 -0700 Message-ID: Subject: Re: FYI: git-hooks update on sourceware.org To: Joel Brobecker Cc: Simon Marchi , Binutils , GDB Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 16:28:34 -0000 On Fri, Aug 7, 2020 at 9:21 AM Joel Brobecker wrote: > > > > What version of Python are you using, is it really old? All the > > > reasonably recent and supported Python versions ship with the enum > > > module. > > > > Ah nevermind, I thought it was available in 2.7, but no. So I presume > > you use 2.7. > > Overseers just got it installed for us. So I've re-done the update. > > > Or, making sure you use python3 on the server could just be easier. > > This is in my TODO, but I'm still busy finishing up on the enhancement > requests made by the GCC community. Once that's done, I'll start working > on the transition to Python 3.x. I expect it to be a lot of work, not > necessarily because the code might need a lot of transformation (it's > possible, but my experience with the style_checker regarding that has > been that it's fairly limited), but because I have to redo the testsuite > framework, and then transition every testcase (all 200 of them). Since > I do all that work during a few hours each weekend, I don't expect this > to be done before end of this year at best. I look forward to being > able to use all the new Python features brought by the latest Python > though! > > I will install your script on Monday (I have more chances to be at > my desk if something goes wrong). The current hook ignores the commit subject when scanning for PR/BZ #. It causes that glibc commit no longer updates glibc bug report when BZ # is only mentioned in the commit subject. -- H.J.