From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wFeIKPiFO2FxVwAAgWs5BA (envelope-from ) for ; Fri, 10 Sep 2021 18:21:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eJIwJPiFO2EOTgAAbx9fmQ (envelope-from ) for ; Fri, 10 Sep 2021 16:21:12 +0000 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 6B86019B18 for ; Fri, 10 Sep 2021 18:21:12 +0200 (CEST) Received: from localhost ([::1]:36344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOjH5-0002ws-H2 for larch@yhetil.org; Fri, 10 Sep 2021 12:21:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOjGw-0002vu-6W for guix-patches@gnu.org; Fri, 10 Sep 2021 12:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55743) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOjGv-0004tO-TB for guix-patches@gnu.org; Fri, 10 Sep 2021 12:21:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOjGv-0005ZM-PT for guix-patches@gnu.org; Fri, 10 Sep 2021 12:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50359] [PATCH 0/3] Add 'generic-git' updater. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Sep 2021 16:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50359 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50359@debbugs.gnu.org Received: via spool by 50359-submit@debbugs.gnu.org id=B50359.163129083721350 (code B ref 50359); Fri, 10 Sep 2021 16:21:01 +0000 Received: (at 50359) by debbugs.gnu.org; 10 Sep 2021 16:20:37 +0000 Received: from localhost ([127.0.0.1]:39056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOjGW-0005YI-Tu for submit@debbugs.gnu.org; Fri, 10 Sep 2021 12:20:37 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:37004 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOjGU-0005Y3-Q4 for 50359@debbugs.gnu.org; Fri, 10 Sep 2021 12:20:35 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1631290825; bh=uT6ySe8o8ok3i8wheFT5owmUIcivPHnPmsMQpTOrNPU=; h=From:To:Subject:In-Reply-To:References:Date; b=cUWTgaHAeCQhBsIa+3dcc0F7MaGTJoTFuY8ldZgE8sQ9wusEe6E+oqWx+5AieRfYS /kTE19At5wznCfdBRbfAEa/skDb9+IGBrn/r3Tyv+2XZqFHVC9/14R7/ehS5/fWc8R gETl5RNU9d72UJzllf/kEIkaiTGefKAU+GdHFK/M= In-Reply-To: References: Message-Id: Date: Fri, 10 Sep 2021 18:20:23 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631290872; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=PMIyRNlh9Kf7pGEulEuimgABe9oPyNrjtdSr2t8BeDo=; b=j3lbAZD6g9QnC3/qUeWsQcqMp5YRuv21BYqyBXFx722Bm343Lx2aZ+GAWvLyFUQx5PpLRF 5pIJyQd7UrvMVIOOuKXfzf/luZ1Kkwa9bZkqN3pFDkjHAPbxXXoCy83kZyCXvJKvvVd4U9 L+aFJrRazWSJ9hDWmG8g88wcOe0+uFpeoq/MDpmuLirrCaJE2jznucoL6oQcYb2ItSLpym GSn0xVXsdUxmirBR91dPaTCpK3gzJwPdhG+DRDQgZXGY/gtWGqsu/qzgGOkPm84QCFFbu0 1mpH16Heoal7rYhHLhqeKhVmPnB8FNFO2RHbl10GU3x1QCJe/407BwgQitkmJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631290872; a=rsa-sha256; cv=none; b=NF+mrbV/YY9ZmU+UztVAfpRNmsK7MQEUhPtSY3C1VmySwsKkqdWJPNKtvYmWP6QJQxF36x L06vmGmREwGb6xYNXgn7ak8STrxoLKor88dRDSH4c8jLLWcbw1ZskPsVEHud6MkURdCbum 1Zax0jNHmiCVULJp8ViWtDcv2Huy/9tAKUot0MGFK6lgtGnbvEiqaVWAMXfAhQPNiJiP0/ rC3VGm8BBe82ncSGjPCOhHlarYChHi2lOyPvn1U4IFLG0ZyE8s+nlKPO7oCNCz3mnta9Kj v07U3RUzPqj/5tLKyOnn91yu1LKVs2VC15rvWiR+ZNuYsJc/teHy2WWKyHGYCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=cUWTgaHA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=cUWTgaHA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 6B86019B18 X-Spam-Score: -0.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: I2NdbWkebFYv --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Changes since v1: * Add =E2=80=98remote-refs=E2=80=99 procedure to (guix git) (written by Sar= ah Morgensen). Add tests for it too. * Make the updater try to guess the delimiter if none was provided (also written by Sarah). * Honor the =E2=80=98accept-pre-releases?=E2=80=99 property to include pre-= releases when looking for tags. * Various regexp improvements. * Add tests for the updater. * Some fixes to (guix tests git). Xinglu Chen (3): tests: git: Don't read from the users global Git config file. tests: git: Make 'tag' directive non-interactive. import: Add 'generic-git' updater. Makefile.am | 2 + doc/guix.texi | 32 +++++++ guix/git.scm | 37 ++++++++ guix/import/git.scm | 218 +++++++++++++++++++++++++++++++++++++++++++ guix/tests/git.scm | 6 +- tests/git.scm | 26 ++++++ tests/import-git.scm | 204 ++++++++++++++++++++++++++++++++++++++++ 7 files changed, 523 insertions(+), 2 deletions(-) create mode 100644 guix/import/git.scm create mode 100644 tests/import-git.scm base-commit: 9875f9bca3976bf3576eab9be42164fde454597e =2D-=20 2.33.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmE7hccVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5fKwP/ilcewnTalQmrsgdluSaqBHUIReu PparJfqAWqkKbrwgQOxxo7Y9Qm+qqc6OPpp97IGJ2lciWtnnF5Dz9UOi37hfuNdi xJDWedHesXVOPx4UlHN71c0679MxW/kbmpnRBrmS64/dvzgBk5LYj3W9BxhJSSKa lm90431vkZrdn9yf7CCaF2yuYCJQ37Z1OD4EXbvJlwOj+urdJJPL2+bXMxOQK37b SOO/lRH0+d1/M2TOcKEnYTvak/3VkhNvLI3y4NYJj0OkEJnkYBMXiKQ8ualH/f17 UX7BAcZTg1Dm9G7/i0vafa9AjepHrzYTCJnjrXiU53ERi+8kwhO08ocFB47N8W+q 04DiWGtxCwIwEWvHHsdi4bn2+K3cVc3wFUiVcXaXpLOYeG31fQ2826Sj0Gl3BpCd vlG9uqQvYks2/REFJtL2D7ue7G0S16NdpjIayP6kL6r8INvMdwYNIoeIePpg/OsB ou/bMHhXGShnRon10Gx5O+1N4k+5o6OSZe/3/Bkx3Bt5YeazHaZSyTJHaCSYRPUn gBI6KAvUG62lfCATPgGLhUfvYiMgu079K9xQIvjYDhHiLCsGVudJVcywY8RGBeRe PK+dgpxreG7TEHPUH1g122UpK58r4LNx8o7DYp122uEqjzDYt5fOWh+ewMxKNW7y CEZsJ+Xc9rtMxTN/ =KcN9 -----END PGP SIGNATURE----- --=-=-=--