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 ms9.migadu.com with LMTPS id SGGhMvnLUmRB4gAASxT56A (envelope-from ) for ; Wed, 03 May 2023 23:02:49 +0200 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 IHWDMvnLUmSqPgEAauVa8A (envelope-from ) for ; Wed, 03 May 2023 23:02:49 +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 9630CB16E for ; Wed, 3 May 2023 23:02:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puJcI-0002WD-I5; Wed, 03 May 2023 17:02:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puJcE-0002Ul-1q for guix-devel@gnu.org; Wed, 03 May 2023 17:02:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puJcC-0000jF-Rm; Wed, 03 May 2023 17:02:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=1OaeLgOZeR/7dL/RvrovT18yu7IH/Df7KULzTDH5Lwg=; b=FBcvLeP0HgxFVwlliPwz 117XDLnu3gIFsO/sqFhaI8MUDYiNxxSRLWqLPqmxCsXhEcmJ8S2F4CHs5iFP0DvFgSJZVg0GeOvE0 5CRAYBiRjpIIH8J9cN69oYcV8sraj1pOmVJjg/EZblFcHdJWj8z/wOozPuGvYpffHl3PzFl1R0BLj mzx0ktVxkEmhlzSAcv+YZlXZpWfXyfxyDDHEGESHXxaglq5XGzbpuRTCNsgzq3p/QmzHmlActpUNk 0lFbrSNpMf1OQYDAybq/sXY2bilcB+HYwj8pgvu4qu/VV2UxvyPvY6QTkoyeI9LjTwCluA4/IGWFZ KOZ9OMLgjRqfpw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puJc8-0006tj-SM; Wed, 03 May 2023 17:02:19 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Cc: guix-devel@gnu.org Subject: Re: Trailing whitespace in /etc/guix/acl References: <87y1miro2h.fsf@wireframe> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 =?utf-8?Q?Flor=C3=A9al?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du =?utf-8?Q?Cham=C3=A9risier?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 03 May 2023 23:02:15 +0200 In-Reply-To: <87y1miro2h.fsf@wireframe> (Vagrant Cascadian's message of "Sun, 23 Apr 2023 19:50:14 -0700") Message-ID: <87ttwtw2lk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683147769; a=rsa-sha256; cv=none; b=QcUL5as01nerzyxolJ5gwfZ5fTtBLzvHwLMVNVmaf2KwrHOCDygH/cKhZiVybumVgRYuds oxSmJjl6NQIaC0G9dns793p8wCLMzoO0ud1hZSDmh1Vi9RZzGPlEXmzodrqMECg0l+yt+c I2e65OCyFzXBnZNgjXhXAMVZf6RdLmMhHZdQObWIDTcKDd6WMe/nOe/m2pPUYdhxRNqtJd NmrAh/6YVcwtU32W0vqQtjlANjkHHqiBD+hcxb/56gvsNV7aJJoNhGdAcrpuzCj/jw8Zz9 117Bm2jbmxUIa2YsSYedKLO9o2IbII2jexAy0EZVpj7E9HueRAk69m4lpLlo+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=FBcvLeP0; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683147769; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=1OaeLgOZeR/7dL/RvrovT18yu7IH/Df7KULzTDH5Lwg=; b=V5vUydEAl9z0xpfqEf5Kw0qcPE1LvW22sK597ta4Ig2lp+rabF6ob7xn81Cv1wPmQy6V2R JmOazv7tEO9gWYOU+gQ0yuzevo88a+KsNKyz9bfYoONd+i6OQMEnsiCLjc4FypEkHq+eUr xuNAG3y18OX3Z8wVLVIb+w9T26sQxA8hG0dF5ELl8yMlCrkqG/mBAhL3d8GL70saNkBNsh dSgpDOsZE8vPdUI/JMSwklnJiHaddBWsVlKHWKdh/rPQ418g+ZLaxuNhAiyn6vXQLAVn/f QA4Rwoxy1C2zUjn0ZknDVxQ1F02wecjgmTYphWWOL0pS6F1/tUAgt3c2F0pfwA== X-Migadu-Spam-Score: -6.11 X-Spam-Score: -6.11 X-Migadu-Queue-Id: 9630CB16E X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=FBcvLeP0; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-TUID: Hw+Ao34CDR5V Hi, Vagrant Cascadian skribis: > I've noticed there is some trailing whitespace in /etc/guix/acl ... some > of it comes from the keys in etc/substitutes/ci.guix.gnu.org.pub ... but > some of it comes from whatever code assembles /etc/guix/acl (or rather, > whatever the symlink points to in /gnu/store). > > I noticed this by trying to add the bordeaux substitute server for the > Debian package, and swear in the past I was able to do it > bit-for-bit-identical... but now with the inconsistent whitespace > differences, while they do not make it impossible, make it needlessly > more difficult than it needs to be, having to match the extraneous > whitespace exactly... > > I have not figured out where in the code to look for all this stray > whitespace... maybe someone could take a peek? Maybe the lazy approach > might be to strip all trailing whitespace from the file after generating > it? The =E2=80=9Ccanonical sexps=E2=80=9D in /etc/guix/acl are serialized by co= de in=E2=80=A6 Libgcrypt! See (gcrypt pk-crypto) in Guile-Gcrypt. Good luck! :-) Ludo=E2=80=99.