From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id imALECgy42C4ygAAgWs5BA (envelope-from ) for ; Mon, 05 Jul 2021 18:24:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UFkjCygy42A7IQAAB5/wlQ (envelope-from ) for ; Mon, 05 Jul 2021 16:24:08 +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 E100C1C223 for ; Mon, 5 Jul 2021 18:24:07 +0200 (CEST) Received: from localhost ([::1]:52956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0ROA-0007z3-DK for larch@yhetil.org; Mon, 05 Jul 2021 12:24:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0RGM-0004AN-7B for guix-patches@gnu.org; Mon, 05 Jul 2021 12:16:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0RGL-0004ID-T2 for guix-patches@gnu.org; Mon, 05 Jul 2021 12:16:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0RGL-0007m5-Lq for guix-patches@gnu.org; Mon, 05 Jul 2021 12:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49149] [PATCH 0/7] Add deb format for guix pack. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 05 Jul 2021 16:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49149 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 49149@debbugs.gnu.org Received: via spool by 49149-submit@debbugs.gnu.org id=B49149.162550170729797 (code B ref 49149); Mon, 05 Jul 2021 16:16:01 +0000 Received: (at 49149) by debbugs.gnu.org; 5 Jul 2021 16:15:07 +0000 Received: from localhost ([127.0.0.1]:46561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0RFT-0007kX-Cs for submit@debbugs.gnu.org; Mon, 05 Jul 2021 12:15:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0RFR-0007jf-Ia for 49149@debbugs.gnu.org; Mon, 05 Jul 2021 12:15:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43226) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0RFM-0003Ub-Ch; Mon, 05 Jul 2021 12:15:00 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42742 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0RFM-0001zp-1x; Mon, 05 Jul 2021 12:15:00 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210624044049.17906-1-maxim.cournoyer@gmail.com> <20210624044049.17906-4-maxim.cournoyer@gmail.com> <87lf6roe32.fsf_-_@gnu.org> <8735sz42tc.fsf@gmail.com> <87bl7mkvvu.fsf@gnu.org> <87zgv2228u.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= 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: Mon, 05 Jul 2021 18:14:58 +0200 In-Reply-To: <87zgv2228u.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 03 Jul 2021 23:21:05 -0400") Message-ID: <87tul8spod.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1625502248; 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; bh=lJK+QiMEGZXL12yA4IQO279RS6CESQr7+3Us3/5CPqM=; b=XSLi6KeFeHsdGKs6RGYLnuZekTJDI1z5MpNqe6nsOx+PVTbEm8UEUwgalVwNIqwC1NE/5w TLtnOYrPuJSvEkl9skVjuO32Vy+0FFAXOv36H9Em0XigAJH/AVVspHAzfjku6jKRT8hywN tmcdUqphPFOVkaDPNUjCl0/VGqRXnRRH865hQPaPwS+GJXywzhTJ6pXxqkiSdiZBa1svhB cMIuSnKOkzCzETIwKx5/Cd0tNLV15RV9lCPXpWxKvEio7JmhVxFHqqLRkW4FYvsxabVHCs ybMG1eNfDbgr9B//emeiJPamCcHiO4SR2lQdf0dPDuMSxa9W34dZEUtqLm4qbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625502248; a=rsa-sha256; cv=none; b=Rsc9woaSYvHgCH3M3pKcM4SJupEgxSTWz7lHXHRKbLjUuybuDU31xJd6aK3McdThIT7ojv esyoB3vdg8lFeOHTwSaeDK9jq5qLlPx5aO+S4n7pHcyoGZnO96gftaP54G5sx6JzNW/nCq OfJKMBnfxKaMmpgC0gNfY5n26S8K7Uu03Hr2f5WDotctoI3lC8AVH/QQS5SE4oHy4JzPXA CHmM+NIsNRRSJypr4ay1C2mrwQBvFGytlrrT0+4R0D6/ZP+xPJPX+IFWilgKvfhI+LZxon X9LVQyQLEXnfW6GTfUTzG66znDF3ALEDc/1sHtb7OB0ChXfTQ0HTf9pyCLf4Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: E100C1C223 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ykkve8u0UfPW Hello, Maxim Cournoyer skribis: [...] >> It=E2=80=99s a hack specifically written with Docker repository names in= mind, >> and the 40-or-so character limit, for instance. > > The actual name length requirement for a Docker repository name seems to > be that it must be between 2 and 255 characters [0]; the attached patch > ensure that this is respected. > >> To me it=E2=80=99s a case where factorization isn=E2=80=99t beneficial. = Even if there=E2=80=99s >> a similar procedure used in a different context, it=E2=80=99s still a di= fferent >> context with different constraints. My 2=C2=A2! > > It seems to me that with the attached patch we get to share what used to > be a Docker-specific abstraction without any added risk (have our cake > and it eat to!). [...] > From f3dc90213423bf0a087245bd4bfc8c4a828d4df1 Mon Sep 17 00:00:00 2001 > From: Maxim Cournoyer > Date: Sat, 3 Jul 2021 23:08:15 -0400 > Subject: [PATCH] guix: docker: Ensure repository name length limits are m= et. > MIME-Version: 1.0 > Content-Type: text/plain; charset=3DUTF-8 > Content-Transfer-Encoding: 8bit > > * guix/docker.scm (canonicalize-repository-name): Fix typo in doc. Captu= re > repository name length limits and ensure they are met, by either truncati= ng or > padding the normalized name. > > Reported-by: Ludovic Court=C3=A8s LGTM, thank you! Ludo=E2=80=99.