From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kNXsG0MMH2NohwAAbAwnHQ (envelope-from ) for ; Mon, 12 Sep 2022 12:38:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6OIYHEMMH2MDBAAA9RJhRA (envelope-from ) for ; Mon, 12 Sep 2022 12:38:59 +0200 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 2D172382F8 for ; Mon, 12 Sep 2022 12:38:59 +0200 (CEST) Received: from localhost ([::1]:37602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXgq6-0000Jl-SW for larch@yhetil.org; Mon, 12 Sep 2022 06:38:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXgoI-0000FI-PE for guix-patches@gnu.org; Mon, 12 Sep 2022 06:37:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55518) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXgoI-00014K-F1 for guix-patches@gnu.org; Mon, 12 Sep 2022 06:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXgoI-0007q6-BP for guix-patches@gnu.org; Mon, 12 Sep 2022 06:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57646] [PATCH] etc: teams: Add regular expression support to scopes. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Sep 2022 10:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57646 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 57646@debbugs.gnu.org, Liliana Marie Prikler Received: via spool by 57646-submit@debbugs.gnu.org id=B57646.166297901730118 (code B ref 57646); Mon, 12 Sep 2022 10:37:02 +0000 Received: (at 57646) by debbugs.gnu.org; 12 Sep 2022 10:36:57 +0000 Received: from localhost ([127.0.0.1]:44216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXgoD-0007pi-96 for submit@debbugs.gnu.org; Mon, 12 Sep 2022 06:36:57 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXgoB-0007pY-I9 for 57646@debbugs.gnu.org; Mon, 12 Sep 2022 06:36:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1662979008; cv=none; d=zohomail.com; s=zohoarc; b=VOoMl8h3QSwwOJhcnSeMaCFAR5j/JwnwoRfCspY3a7Qx6bKnm53ptCxL+u1YA5Z6p78imgVBzPsiW46n633mspBna7of9MimjNcC5mvM/NE7C0KFEoTQDWg+KiuTcChIfTW6t5bZtDGbV4DHtf/MlniPDCI3xJoGOWK3iWzxrJw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662979008; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3SYDGKUKIzA6AWbuWdnUsHSYD3Tp3G+q6yQ1shuIpaU=; b=Pkwze6RKhKchvWlF8mNj3sdGYENuxiQOvglsjMzFw+uy9OPUXPK0Dqfg1MOX3jn407Js+1StWP6MZ9a1SfZTdDQQzdrsedGKA74wUOktzC6xJ9vQdYGK4fOYBe7R7YSkaT1tPnZYIJecW/UbhADdpGEZ2+6QA4/k3xHIfK8SnuU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1662979008; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=3SYDGKUKIzA6AWbuWdnUsHSYD3Tp3G+q6yQ1shuIpaU=; b=jKRMfNaQLfbuui6g+Oy4sid5eT1bBdoYMHx8fptE0TKFLPDafFdIIKYAUaTETwge o87xvyzoFdNb3Lntz8wPID79r+4IPEQfnGXGMwNYWLvAOWXeYiWIWI9vlF7L1l+CkIB oGXcSfR9pc3xcF1XUsBEZwXdbnrVq+TMf97EEIhg= Received: from localhost (253-111-142-46.pool.kielnet.net [46.142.111.253]) by mx.zohomail.com with SMTPS id 166297900703548.52216052085839; Mon, 12 Sep 2022 03:36:47 -0700 (PDT) References: <34c99df65a63bafd7868ad025a85ebb3a4457ac2.camel@gmail.com> <87leqpsw9q.fsf@gnu.org> User-agent: mu4e 1.8.7; emacs 28.1 From: Ricardo Wurmus Date: Mon, 12 Sep 2022 12:30:35 +0200 In-reply-to: <87leqpsw9q.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87a674nakk.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662979139; 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: content-transfer-encoding:content-transfer-encoding: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=3SYDGKUKIzA6AWbuWdnUsHSYD3Tp3G+q6yQ1shuIpaU=; b=hRFsva42JGSxvYmumfpsHbF+/jZPkG+0Dz+pvTRZrSJ0lthdmzK2tS7A/gkOj/K2vqd8MN ZR/yIYwVbUWbkcJyC1w4xYbzrUHN3+9KMtFh3zISB9FQE97upvS/34HhMZhD7PjYjTofAa 8VD5IHI9+U2qvebv09I+UaO2jt0aGROBdjmj47gz9abONAUFKu1eRFG0EmcTofFpshNvsk 8LtwTi92mfM8sAtF052lwDDKdt0sCYTrcZLKfHKyhKpjdCH0KIrmMvGiLKJJnfbO3GjrBa efgUztGFCXeRuNP5jEJ1dmwp3UMkUFHTxpieJoMwPSQRZl4WcnVTBsCp/41vHg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1662979139; a=rsa-sha256; cv=fail; b=q5rzxDMBltEW2urLPsRH/CfzEx0WVB2xhA4+NO7ObUjPzTsIE+JXBoZXIu4HfMrYnW3NYS KZLv8qg0k+TTsLGOAF+TeNJvAFPo0o6XWDHapsicIhDdI0TEOaw9HMv4IbXUZ8MaxlLtY8 fhls7/8yArpeJi2x3PZLt+pY9luCxvQe4VAAKyXNEpfJxAzGclhaTC+nD0VhhqKyAUpx/J uDZ0qxVOMKsXIGdLeQ52TDOscCKh1entNtxSqhdkYDrFzlJGT9IbSUICzjM5SOWJA46dQX K1VmLzovOG1ChPAanYW1DE4vxtKmbn6yevYh65dmlYuJk//TXo21/+Awek53ag== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=jKRMfNaQ; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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: 2.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=jKRMfNaQ; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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: 2D172382F8 X-Spam-Score: 2.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: rmePdmvRtJZ+ Hi Mathieu, > Thanks for the improvement :) Ricardo, any thoughts on this series? This looks like a good idea to me, thanks! Just three comments: * the dependency on Guile-Git means that the script must be run inside a suitable environment now, whereas previously it had no dependencies other than Guile. If we can assume that people use Guix perhaps we should do what doc/build.scm does and use Guix to arrange for dependencies to be available. * I don=E2=80=99t like the =E2=80=9Cif=E2=80=9D + =E2=80=9Cnull?=E2=80=9D p= attern: + (if (not (null? (team-scope team))) + (format #f "scope: ~{~s ~}~%" (team-scope team)) + "")) I=E2=80=99d prefer using match: (match (team-scope team) (() "") (scope (format #f "scope: ~{~s ~}~%" scope) * With Liliana=E2=80=99s added support for regexes, the previous patch to r= ecord scopes for the installer etc should be adjusted. --=20 Ricardo