From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wB6iBu+j6WGRVwEAgWs5BA (envelope-from ) for ; Thu, 20 Jan 2022 19:03:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4GN3A++j6WHeAwEAauVa8A (envelope-from ) for ; Thu, 20 Jan 2022 19:03:27 +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 A25CA43C9F for ; Thu, 20 Jan 2022 19:03:26 +0100 (CET) Received: from localhost ([::1]:42634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAbmO-0007Rg-VE for larch@yhetil.org; Thu, 20 Jan 2022 13:03:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAXAZ-0003Q4-K1 for bug-guix@gnu.org; Thu, 20 Jan 2022 08:08:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35531) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAXAY-00018l-2i for bug-guix@gnu.org; Thu, 20 Jan 2022 08:08:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAXAX-0004nW-OV for bug-guix@gnu.org; Thu, 20 Jan 2022 08:08:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53368: .guix-authorizations 'version' field documentation Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 20 Jan 2022 13:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53368 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Rodriguez , 53368@debbugs.gnu.org Received: via spool by 53368-submit@debbugs.gnu.org id=B53368.164268407818433 (code B ref 53368); Thu, 20 Jan 2022 13:08:01 +0000 Received: (at 53368) by debbugs.gnu.org; 20 Jan 2022 13:07:58 +0000 Received: from localhost ([127.0.0.1]:56667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAXAT-0004nF-PS for submit@debbugs.gnu.org; Thu, 20 Jan 2022 08:07:58 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:59454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAXAO-0004n1-N6 for 53368@debbugs.gnu.org; Thu, 20 Jan 2022 08:07:56 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id l17q2600M4UW6Th0117qz8; Thu, 20 Jan 2022 14:07:51 +0100 Message-ID: <9ad77607fe114f55cc6a0d23e31882faa63f3def.camel@telenet.be> From: Maxime Devos Date: Thu, 20 Jan 2022 14:07:50 +0100 In-Reply-To: <99e271fa-7b0e-30f6-0613-57e7942826a3@gmail.com> References: <99e271fa-7b0e-30f6-0613-57e7942826a3@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-4FYcl6ZHu3ujB7yx8s9F" 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=1642684071; bh=TfSYx1g+MFgd8WZNAoSSwQbDsIFOfhhy8bJfeqNEVeY=; h=Subject:From:To:Date:In-Reply-To:References; b=ExLv/cl5cgN1qspwhL3SvLiNvzAZDhbHvIf1s5OfCdkMZ/q7ZW+ilDopdxLeqCGzf ItFCVJza78NHOZ7SxONhQTli7Rz917bUztqDPpG/Uchgg8kgRRjugsVQRd6xcuLfQo 1Oi15JaiB8DHt99kHfQfO6OfBKCgToA/x/ICxblfiZhVv2jIAzK4zxdVFFDqBWUM+1 Ocx4gssrdClWHKCqCwY3qLjaXxmJOY9R7ARbo0RUKL11/rIHx9Grj80ExwOZN+OdcI eBHwzI3Tsc0zgnavp7/uA5KX/yZuBAXyfrCgS91D06NO/WQhSfCTB3TuB/U1YNqRrl HmmII6f662hIQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1642701806; 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=TfSYx1g+MFgd8WZNAoSSwQbDsIFOfhhy8bJfeqNEVeY=; b=qrPm+MgWdVNGX3LmbNBoiWX5C+7zx+5TWopaj7xesyI/nZ29wJ1e/HJ171fFGlQby3as3C 5mgjHjUOak6ZfJJATdsWLEh/6BZOS8p/8wq5nsDiEfxfbJvpY5HWE56yBCGrRV+/6RgXTV axt2OUfk2iJYWOeMnUJs+REAXR+txXpOY75fqZMb+GWIdqg59Cuc24OwwGl6ZGpgJ8dMic eo1uRCFLyd9HzcUd3UjMgbBFiuVBZTljGDpuyC3/1eBopQOK3mzEjUnU9X57+V/ZAYS8h/ L6DTGrBxJuE/MSm+dWO3Kb3RgiAb15To2A83MYTyOltz2zhhNPUztARpH+2jlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642701806; a=rsa-sha256; cv=none; b=WLcVwle9MMu+MSVOlY0WVIgCXsD7sGufO2pCanzxHxrz799aDEf8HXES7HPR3b1cJRlu6J Kn5vQs8v821CM691owgdUaJmzrK96CuOfYe4j6nDTlTtLWPOwr0kMGoRp2++E6hp9tVU2x gzHtESnwE3khwQm9icNynR3UlrIu63QeKX3LoHDWANy492a6f+2Qfp5UyxGqo4uoGOnqf2 AaPAcmLvRdZ5jQ1oNHWdJ6ZhjWMN6rWbXWU2BJhzIhum/m+c3vkibnMyZu8rJ49JTesogt 1JSlcs1O1wSz2mh+4sOkptHi/iCBGPB1V6dXzMGicVZQqwjgn2qYXMf1i5MI8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="ExLv/cl5"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="ExLv/cl5"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A25CA43C9F X-Spam-Score: -5.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: Va1AT4/93D+R --=-4FYcl6ZHu3ujB7yx8s9F Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Christopher Rodriguez schreef op wo 19-01-2022 om 09:40 [-0500]: > Hey all, >=20 > I've just been able to clone my authenticated personal repository for > the first time in a few weeks because I was confusing the `version` > field of `(authorizations =E2=80=A6` to be a file version field as oppose= d to > the version of the API being used. >=20 > For clarity, I'm working on a patch that will edit the section of the > manual to clearly specify that this is the API version (will submit > soon). It currently has a comment in the example source that reads > "current file format version", which lead me to this mistake. Nowhere > else in the text is the `version` field mentioned. >=20 > However, as a Lisper, I feel as though the symbol itself could easily > be more descriptive by using `api-version` or something similar rather > than just a generic `version`. It would help prevent other newcomers > from going through the confusion I've just had. >=20 > What do You think? 'version' does denote a file format version. Calling it an API version is somewhat inaccurate, because it is not a application _programming_ interface -- you can't write Scheme code in .guix-authorizations, only S-exps that match the file format. While it is the version of the file format, it is not the version of the file, which I believe is were the confusion came from? Also, changing 'version' to 'api-version' would probably prevent old versions of Guix (that only recognise 'version') from pulling new versions of Guix (that would have an 'api-version' in their .guix-authorizations) (untested). Greetings, Maxime. --=-4FYcl6ZHu3ujB7yx8s9F 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+4iGRcl7gUCYelephccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kaBAQDxNZHjCRKixz+I3vAayKrqDOtg EWytSEBN2wMDqX2qdgEA7+ELR5/LwUc97fUSKu/MsedH3QeD9AC8BphC7LHowA0= =Orm4 -----END PGP SIGNATURE----- --=-4FYcl6ZHu3ujB7yx8s9F--