Message ID | aaeae3c3-4ba0-c324-1143-1e1306c75ac7@suse.cz |
---|---|
State | New, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:b5d6:b0:2b9:3548:2db5 with SMTP id v22csp2842541pxt; Tue, 2 Aug 2022 01:52:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5/pTviXQL7ayKqmbeBjKllJrHoekDZ1OHE85lP8fP4bVmjO0rDmTZxf9pCrpf30cc3Z1je X-Received: by 2002:a05:6402:4241:b0:43d:a7c9:8b21 with SMTP id g1-20020a056402424100b0043da7c98b21mr8260725edb.374.1659430348108; Tue, 02 Aug 2022 01:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659430348; cv=none; d=google.com; s=arc-20160816; b=adtdERa2I1pkw1FU34PKIPzrJ/KJWi8L3EDpW1HCLM42UtXoHhI7UrQukmcdO+v3Jd IhxCTYxiFoVPWsLmT1AwxceRlUs4asHswyoRzklMpqHfcLcr0H54NtEICWKqHvoaOKNz PsN0rb3zTOlwkIuUMU7V09lgixZgBd5T5iy8PaCOZuCbMfMeOzJzmZ5QWh3hZKNvrIja lyttcqrhN4Yct4MdSRjlvs090tuII7ImYsBxrYKiQ+CSh5GnqWt9bprE6Zzm89jHX/8f y5flXVXYgCSM55UKZXJLVBgHmTDUEKuTGL7CdbKAU2gqlbqDCLJRJtrqqq5gKqxwQwdp a/Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=S3wiVL/SdyQA4JoWJslCCnLYeKNIpt8Nzby30TIdzBU=; b=YYwAbTvL715heYqxtOf6fm468v890S5F/Uj3MrjRGwN2xqRWc5o1h6ClK2GkH9Y3k8 Q9wEfRmFptx5XarQTTbPac6eCcOVwQJx1vZaIvX1TflqBJCOIMgxoGNjdSK2QY5WEuOT Yg3xgNAW5p56JjYabR8ptgeQ8g9eintVlgtJe+kaU9CzaHY13xiSEuTSqAdQ/lqzir8s 9uaJpsTf3VGwONJR2qqEZOV1rvqSq5R4tJErnURFyrWKT6m2AT3f0eP+6XSRhoAfzI7U nODIk7W7T59XFLZiR7oP4k6yQh6NeYkcLa8rB8AWHgNtkd2sAXm1yE1MoPNp1mbtVlOi iVtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=RtSALzZ7; dkim=neutral (no key) header.i=@suse.cz header.b=X4M8gOxu; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id cb8-20020a170906a44800b0072641df559esi10381102ejb.864.2022.08.02.01.52.27 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Aug 2022 01:52:28 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=RtSALzZ7; dkim=neutral (no key) header.i=@suse.cz header.b=X4M8gOxu; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 01001385AE4F for <ouuuleilei@gmail.com>; Tue, 2 Aug 2022 08:52:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id A5DD7385800D for <gcc-patches@gcc.gnu.org>; Tue, 2 Aug 2022 08:52:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A5DD7385800D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 824AC35079; Tue, 2 Aug 2022 08:51:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1659430319; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S3wiVL/SdyQA4JoWJslCCnLYeKNIpt8Nzby30TIdzBU=; b=RtSALzZ7tl2dJOaGG9H3YFh38J+IHHbniZq1iOv2TlfdComnel1M8MbehV3Jmpu9mQ1nKQ SuLU2UZveEFkzVl2gVaio4iJuSlwdey7HaShplKA+DMrz8nLi4qHwjQRSlwfYKIm5Yl+m5 Ju13vqpmsFWT/+NyreaICmbW6Hf5w5c= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1659430319; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S3wiVL/SdyQA4JoWJslCCnLYeKNIpt8Nzby30TIdzBU=; b=X4M8gOxuy53GqI5x0nggQsUflbg2aDrBX3LS0C6b9q/A+6F8CXr5dljl1MAUlqDi267/py 01/eUEjJ5JAiDTBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6334A1345B; Tue, 2 Aug 2022 08:51:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FsHWFq/l6GLAVgAAMHmgww (envelope-from <mliska@suse.cz>); Tue, 02 Aug 2022 08:51:59 +0000 Message-ID: <aaeae3c3-4ba0-c324-1143-1e1306c75ac7@suse.cz> Date: Tue, 2 Aug 2022 10:51:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= <mliska@suse.cz> Subject: [PATCH][pushed] gcc-changelog: do not run extra deduction To: gcc-patches@gcc.gnu.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Cc: Jonathan Wakely <jwakely.gcc@gmail.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1740038836566593119?= X-GMAIL-MSGID: =?utf-8?q?1740038836566593119?= |
Series |
[pushed] gcc-changelog: do not run extra deduction
|
|
Commit Message
Martin Liška
Aug. 2, 2022, 8:51 a.m. UTC
Do not deduce changelog for root ChangeLog (''). Small cleanup, pushed. @Jonathan: Please update the server hook. Martin contrib/ChangeLog: * gcc-changelog/git_commit.py: Do not deduce changelog for root ChangeLog. --- contrib/gcc-changelog/git_commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Tue, 2 Aug 2022 at 09:51, Martin Liška wrote: > > Do not deduce changelog for root ChangeLog (''). > > Small cleanup, pushed. > > @Jonathan: Please update the server hook. Done. It looks like several recent changes to the hook had not been committed to the gcc-hooks repo, so I've done that now.
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index a6b5ff04f22..7f6ff87ba99 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -626,7 +626,7 @@ class GitCommit: def deduce_changelog_locations(self): for entry in self.changelog_entries: - if not entry.folder: + if entry.folder is None: changelog = None for file in entry.files: location = self.get_file_changelog_location(file)