From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A091D15A7D9 for ; Tue, 21 Mar 2023 12:53:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5125E077F; Tue, 21 Mar 2023 12:53:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC429E077F for ; Tue, 21 Mar 2023 12:53:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A28A734121D for ; Tue, 21 Mar 2023 12:53:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E8F6B8BC for ; Tue, 21 Mar 2023 12:53:38 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1679403199.90c19213b31492d3504f56c57ed8d6ad4aea8d2d.flow@gentoo> Subject: [gentoo-commits] data/api:master commit in: files/overlays/ X-VCS-Repository: data/api X-VCS-Files: files/overlays/Makefile X-VCS-Directories: files/overlays/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 90c19213b31492d3504f56c57ed8d6ad4aea8d2d X-VCS-Branch: master Date: Tue, 21 Mar 2023 12:53:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e64c4ba2-fb6f-4f6b-a1dc-914679c89620 X-Archives-Hash: 0a031eceb25aee930d7f075d9b6e2bae commit: 90c19213b31492d3504f56c57ed8d6ad4aea8d2d Author: Florian Schmaus gentoo org> AuthorDate: Tue Mar 21 12:51:18 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Mar 21 12:53:19 2023 +0000 URL: https://gitweb.gentoo.org/data/api.git/commit/?id=90c19213 overlays: add 'format' make target Closes: https://github.com/gentoo/api-gentoo-org/pull/588 Signed-off-by: Florian Schmaus gentoo.org> files/overlays/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/overlays/Makefile b/files/overlays/Makefile index e06d4c7..6e5e430 100644 --- a/files/overlays/Makefile +++ b/files/overlays/Makefile @@ -32,6 +32,10 @@ endif ../../bin/repositories-checker.py - $^ touch $@ +.PHONY: format +format: .repositories-expected-format.xml + cmp -s repositories.xml $^ || cp $^ repositories.xml + .repositories-expected-format.xml: repositories.xml xmlstarlet fo $^ > $@