From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aJmyFLIKZmWO+QAA9RJhRA:P1 (envelope-from ) for ; Tue, 28 Nov 2023 16:43:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aJmyFLIKZmWO+QAA9RJhRA (envelope-from ) for ; Tue, 28 Nov 2023 16:43:46 +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 4022F444CF for ; Tue, 28 Nov 2023 16:43:46 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZT4cLJKJ; dmarc=pass (policy=none) header.from=gmail.com; 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-Seal: i=1; s=key1; d=yhetil.org; t=1701186226; a=rsa-sha256; cv=none; b=MsekcFX85gVLo2l1VNC13mSvc8kfSG7nO6dkaRRlDXDGFmnfI4xgUoh/TJVRhuv6/KyJB8 IRTF9sBlxejgL1qEz5pgYGIrvRTI84EjtepFa6VDGqzALaeOWuV2Kzn3wAEIenk9gk6fE4 EoSlEcz3GrBcM5X0vHnbUlJvtM7qXAmMlQ2GF6ADHD2ZFepnNWcMmLaTVsY5TkjVs7K9Fj MwaGf36fkQ+HLbxuvMaH1DcqZBdmS8fP1hBRoIYZyDZD67NT2y7gRELWhdrZVrRBd/o+et qYQsk51txwBNHCy2ZU6izDdg0w7Zvem8oHPzJV/CAI/2YETx14VKpSnCoGK9+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=ZT4cLJKJ; dmarc=pass (policy=none) header.from=gmail.com; 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=1701186226; 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=RQTLV6pPJxsUdbKxa8mwlyLUYqm0Nu+N/c22E8uUj7U=; b=bzaPRb4Zx2Mn/cI1eIxg3+kvl+P7HvGYrU3SL+JJugoJQT3pWYNhkemSq0EkvFcQwF7blQ R9j7SyorGI8SQ+j3TdKE77sWe0cplzOTix49AuuPrTgwR7y3HGbTqlQNTNFuIHtOwtjdMn bfVXXL8/2eGA9dLvtFXiqkqCk9zdJ+coluEtJU/5NKb67W856h8i1p2LJszO4FE0FdLRzK HCnsztPcDOwPjdJuShQvHzmHjNT7jKOc5k0ZAKbnSGBmR8eFYCpHZF9UtVUJMZ2jrnMKCx vQaZadCGV+abDC718627VY3qRIC2lO+vlrhqF2mvY+O+gxYgJPKZdkxG1rbBXw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r80Ep-0001yd-Np; Tue, 28 Nov 2023 10:43:03 -0500 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 1r80En-0001xb-HO for guix-devel@gnu.org; Tue, 28 Nov 2023 10:43:01 -0500 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r80El-00065L-Mv; Tue, 28 Nov 2023 10:43:01 -0500 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2c9ba170c89so537211fa.0; Tue, 28 Nov 2023 07:42:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701186177; x=1701790977; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=RQTLV6pPJxsUdbKxa8mwlyLUYqm0Nu+N/c22E8uUj7U=; b=ZT4cLJKJux88zdKg2iS/72CMXjWu+pEfMxBSiHfvhH9aNdBKB3XqXrVNCBQ7/DHk1/ 09jbnsCIWNt2JZX92WM08mM16utjA1xfSm/TtqjlNYCJLdSbp5+Sqyez4Da6m+otKorh 97aEhcxk16gorPkCbhMuqIM2NIb6GJKaB97X+ubhJDuykeHg4GvSCjND201DHv81UYEj O3ySJRiHQIIOOeQsZirUi7UHtrSBMrH0WIwVvyYj0UahT09sZwjsNzAF/956MWeaW/Wj XXLr5j2kGopHlqzioq+uNb2SF7l/AwsPQ4dMa3dxwEQaT6JA0Pq9iOX1CHYBjHJ4UTtk a3XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701186177; x=1701790977; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RQTLV6pPJxsUdbKxa8mwlyLUYqm0Nu+N/c22E8uUj7U=; b=HOdiT2EkPevaIImFawtJc0m4vCydaKRkUyjf5UI3J+5yLTU6J4lDv4lvIy6w1/gD+/ VVhsYWUMWh+xUzRxIl8Q2rUdCTxFIH3ivaF7UTotKcJtKIK1cp3AnwN9M+UOyxT92Wz9 xSMj4qjkigWQV8Mnzti/szh/Jwr3j6Dc7EJXJkeobQsCn3wttKEjhbbkGO4gJfMCUt2V AVOaoknC6gB/lGkVcmmKKBLEgRfbTGlWN6f+wXEiqlbrE3AW3IxaaEKKhXc9HF3gsfyX ko3M43PDd1yW+akteCIVeZ6LYUCSfwWEKBQtW3H++M4rtF0KzDXkfMEv94MuRc4x4jp+ Sc+w== X-Gm-Message-State: AOJu0Yyl7QbvxlSPAZB2zUKO8KJ+UAx1bSpvrTowjcHgwRfVOea9N6I1 /UGUoimG+85eMoxTxxPX96BsfIqQxps= X-Google-Smtp-Source: AGHT+IEEMLorfGpdRnVTBzn0ZgcubdrVWwYOieEji7rhTAKljCUatFPz3NlRne82txBRtQIGvnrnxg== X-Received: by 2002:a2e:2f16:0:b0:2be:5485:4a99 with SMTP id v22-20020a2e2f16000000b002be54854a99mr8328201ljv.4.1701186177311; Tue, 28 Nov 2023 07:42:57 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id u17-20020a05600c211100b0040b3dbb5c93sm318653wml.1.2023.11.28.07.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 07:42:56 -0800 (PST) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix Devel Subject: Re: [maintenance] Compressed JSON files and served file extension? In-Reply-To: <87jzqhwyl9.fsf@gnu.org> References: <861qe03rtj.fsf@gmail.com> <87jzqhwyl9.fsf@gnu.org> Date: Tue, 28 Nov 2023 14:48:05 +0100 Message-ID: <87ttp69ega.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=zimon.toutoune@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.24 X-Spam-Score: -8.24 X-Migadu-Queue-Id: 4022F444CF X-TUID: oFpk8x5T2Bwu Hi Ludo, On Thu, 16 Nov 2023 at 15:40, Ludovic Court=C3=A8s wrote: > That said, if you become aware of actual breakage, we can revisit this! The actual breakage is my own interaction with this file. :-) Again, it happened to me yesterday. By habits, I do: $ wget https://guix.gnu.org/sources.json $ cat sources.json | jq | head Then, --8<---------------cut here---------------start------------->8--- parse error: Invalid numeric literal at line 1, column 16 cat: write error: Broken pipe --8<---------------cut here---------------end--------------->8--- Well, we are 6 days later my last message, 12 days after your message and more than one month after my report; and again the same mistake. That=E2=80=99s mistake because it does not jump to my eyes that the file is compressed. Yeah, I could do many on my side as change my habits, as use curl, as have a smarter cat, as write a note, as have a better memory, as =E2=80=A6 However, the simplest still appears to me to have the extension reflecting the format of the file. Similarly as it is =E2=80=99sources.jso= n=E2=80=99 and not just =E2=80=99sources=E2=80=99. Cheers, simon