From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IHmtHYhu1WGHUgEAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 11:10:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id T9RxFohu1WHiPwAAG6o9tA (envelope-from ) for ; Wed, 05 Jan 2022 11:10:16 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EDED9F34F for ; Wed, 5 Jan 2022 11:10:15 +0100 (CET) Received: from localhost ([::1]:32906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n53FH-00051b-3m for larch@yhetil.org; Wed, 05 Jan 2022 05:10:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n53F4-00051S-PC for guix-patches@gnu.org; Wed, 05 Jan 2022 05:10:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n53F4-00029f-FR for guix-patches@gnu.org; Wed, 05 Jan 2022 05:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n53F4-0004YD-5s for guix-patches@gnu.org; Wed, 05 Jan 2022 05:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50072] [PATCH WIP 0/4] Add upstream updater for git-fetch origins. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jan 2022 10:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50072 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun Cc: Sarah Morgensen , 50072@debbugs.gnu.org Received: via spool by 50072-submit@debbugs.gnu.org id=B50072.164137736617433 (code B ref 50072); Wed, 05 Jan 2022 10:10:02 +0000 Received: (at 50072) by debbugs.gnu.org; 5 Jan 2022 10:09:26 +0000 Received: from localhost ([127.0.0.1]:39621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n53ET-0004X7-SC for submit@debbugs.gnu.org; Wed, 05 Jan 2022 05:09:26 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:60572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n53ES-0004Wz-AA for 50072@debbugs.gnu.org; Wed, 05 Jan 2022 05:09:24 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id ey9N2600Y4UW6Th01y9Nox; Wed, 05 Jan 2022 11:09:23 +0100 Message-ID: <919c1eeba549b11de04d30629b2deaef3bac048e.camel@telenet.be> From: Maxime Devos Date: Wed, 05 Jan 2022 11:09:22 +0100 In-Reply-To: <867dbfcf9n.fsf_-_@gmail.com> References: <20220104200643.43374-1-maximedevos@telenet.be> <20220104200643.43374-2-maximedevos@telenet.be> <867dbfcf9n.fsf_-_@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-BnVNWIvfuBQ+1ngsRfti" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1641377363; bh=neJwRnF79Vhs/aAq333497EIQqTsqTJJSj0GniitDjk=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=YQa0dvkZTU7Ur6ONoHZFj+jgJfxTfB67cvmfIpPRQ2MOJHOKYtS0iyZDa5tXZV76y PYqq1mkKqWKn/lvyZVeV8OLBAjpLSSOr2l7Glgrp44gHCvikFbH1pNWmnw2AYjPsbp bssYNSNtPIzefepmP/40/jh0VlCF+P78zEFBQqA9XkOx4HMWwKlYLcA/Pzla3mBvYV S7wGh98ru4dMTNbbB6L8ELufS/Gn8KDJ3DiBYiQvCi6zUv+kQFflm6S3fOORtCWIFC Kd3eyihRnqoIWuZWxs9XTgkWo2UGmY2LrL8BOPFK+LExWVKqcaCLfzQW1iRvMaNWvC QunIzOINM7Lkg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641377416; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=neJwRnF79Vhs/aAq333497EIQqTsqTJJSj0GniitDjk=; b=BzAevYYSbTDdWzzUrBhtld421Xh1ZcW85EH7nDMmYC83MV2VORsaV9x065WpSNUf4eG9A5 OXvngjeCHM/ocYgE5q7h351qYjO6rNudkZzI+v7YkcJCggt055wcYl+2nP0v7a0zhj6Ybt rYt3zYT6V8I3JIylEPQ55DSW68S+qcet6yt1gEwFBihjkWtnJtpfdy/ndQ50E5l+YqeH7W uKHB4UM7GYj05Pu46mR51cr1suDJ1q36C/6q8YYXpiOUIQoG7Glr4dJKX5SCt5bAD034Fk d7TjxF/afZCqplTzcBEGQ/IbuGTxcrxMezVzJmLzETnuRsw0nv0DAGgfwVEUfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641377416; a=rsa-sha256; cv=none; b=sZflXYY5oyaR0B2Xt5Uy7vYfmFHhYckvAhHzJr2AXhaNQlnOJwRXQH97nSoJC+xoe+RaB7 ngUNfhuVyJM5G3Fc3iaFrkKWviJ20XduY2zLTmHdLBy/unUd240Xp+Zv/l2+aQzzupFjlY xzEo2k5YMja2aDZaww9nrLZHNVe9mboHNkSMmCREQw7uQXEiQmJReoHg8FTR2KYU8bTXku i67QkeX2T2ClXG8+A3hvact4hHqy0cQQv9EsXT6k/6dQJZwJ8IpO5+E4ZoOPDoMqLDqVVu inaWEIbhXAz6nW8FLenmNDaDm5MhOuLLHyqQGSGhMvpj4V1Z0slsztg0MjBvvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=YQa0dvkZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=YQa0dvkZ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EDED9F34F X-Spam-Score: -4.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: KfUdMPZ+dTlM --=-BnVNWIvfuBQ+1ngsRfti Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable zimoun schreef op di 04-01-2022 om 23:22 [+0100]: > > +(define (vcs-file? file stat) > > +=C2=A0 "Returns true if FILE is a version control system file." > > +=C2=A0 (case (stat:type stat) > > +=C2=A0=C2=A0=C2=A0 ((directory) > > +=C2=A0=C2=A0=C2=A0=C2=A0 (member (basename file) '(".bzr" ".git" ".hg"= ".svn" "CVS"))) > > +=C2=A0=C2=A0=C2=A0 ((regular) > > +=C2=A0=C2=A0=C2=A0=C2=A0 ;; Git sub-modules have a '.git' file that is= a regular text > > file. > > +=C2=A0=C2=A0=C2=A0=C2=A0 (string=3D? (basename file) ".git")) > > +=C2=A0=C2=A0=C2=A0 (else > > +=C2=A0=C2=A0=C2=A0=C2=A0 #f))) >=20 > 1) Why =E2=80=99vcs-file?=E2=80=99 requires to be exported?=C2=A0 Is it u= sed elsewhere? It is used in (guix scripts hash): (select? (if (assq-ref opts 'exclude-vcs?) (negate vcs-file?) (const #t))) Greetings, Maxime. --=-BnVNWIvfuBQ+1ngsRfti Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYdVuUhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7lnGAQDcrnBJvZcsGyDFuXW3WEycH4Qc fdcvUNF5O1AZag719wEA4JHIo3ibZ/ZWM9Q6X04c/3mzu1duWKhMK/o4z9/hiAU= =9Wpl -----END PGP SIGNATURE----- --=-BnVNWIvfuBQ+1ngsRfti--