From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id 33B0D3858D33 for ; Thu, 16 Feb 2023 17:24:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 33B0D3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="97256488" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 16 Feb 2023 09:23:59 -0800 IronPort-SDR: zhoXSwHgRm3U7+mfYIy0Tjx2S4DXoXuxdNa3GoNOJ++xvg1uXpGafNIACcDcRWAU52NZOUfD/z 1esviadTO/IvrMDTD+DrpBPDevYWXd/ANi5kA6smZgvtwxgqcLQh7ASbLtIxuJrlrsFJrVRCc2 7KK13M8vIjtR7HkcZmwKDCwvEqFfoD5OhzPEhrq/37NpXNNSNv41/OBkHaTzUXuKGy1eHiYa6R Sgz4q9ldJmj5E6auk5Qxq/PJUzbYF0DIahuMC8rqP+jKNiwvdQqEHAOQ44MUDMgGWVaUOzVI48 G6Q= Date: Thu, 16 Feb 2023 17:23:54 +0000 From: Joseph Myers To: =?ISO-8859-15?Q?Martin_Li=A8ka?= CC: Thomas Schwinge , Subject: Re: Git 'hooks/post_receive.py': UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 2766: invalid start byte In-Reply-To: <7223a5d4-9310-ec99-af07-59dc38dcd806@suse.cz> Message-ID: <554099bd-3e93-b5a6-1c4c-34d4953490e4@codesourcery.com> References: <878rgx94pq.fsf@euler.schwinge.homeip.net> <7223a5d4-9310-ec99-af07-59dc38dcd806@suse.cz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-1152306461-1574413016-1676568234=:523435" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-3108.3 required=5.0 tests=BAYES_00,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: ---1152306461-1574413016-1676568234=:523435 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT On Thu, 16 Feb 2023, Martin Liška wrote: > Well, the https://github.com/AdaCore/git-hooks were ported to Python 3 > some time ago and I thought we've been using the updated version. But it > seems we're still on python2.7 :(( > > Joseph, can we update it, please? If someone wishes to update them I'd encourage doing so (this particular error might be https://github.com/AdaCore/git-hooks/issues/19). The update would need testing first (using the gcc-reposurgeon-8 repository which we've used for such test purposes) and there would need to be a check for any changes to configuration semantics or defaults since the version we're using that indicate a need to update refs/meta/config:project.config. -- Joseph S. Myers joseph@codesourcery.com ---1152306461-1574413016-1676568234=:523435--