From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: Replace 'pp' with 'prin1' to generate ELPA archive-contents Date: Wed, 26 Oct 2022 06:43:20 +0000 Message-ID: <878rl3rson.fsf@posteo.net> References: <87fsfgp1tx.fsf@posteo.net> <87pmejsxt4.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Kangas , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 26 08:45:27 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1onaAJ-00034g-MF for ged-emacs-devel@m.gmane-mx.org; Wed, 26 Oct 2022 08:45:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ona8Y-0006yN-08; Wed, 26 Oct 2022 02:43:38 -0400 Original-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 1ona8L-0006fd-6n for emacs-devel@gnu.org; Wed, 26 Oct 2022 02:43:27 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ona8J-0001PS-In for emacs-devel@gnu.org; Wed, 26 Oct 2022 02:43:24 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id C3790240107 for ; Wed, 26 Oct 2022 08:43:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666766601; bh=onxJp0aBsIuS/FjUYtJ+t6a+wfAyEK/26EfqVxEKrGE=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=BPeVPotmL/72PUFAsMTNphO24OPOSGq47Ek/An3Z/9UTL2B63s0ua90WuX6lL4iA/ 0SQ9gxs6uDXwDPPb2T7xpIoPN1TcxEZajYmZAWhbouVgh5qpsWKdWK5w7FT+mnCn8b LaTomGOb+J0yYmkV8+tys0BKZSJ3+jKOcHA6jJCVdvvo8hGSqG9CcRP5gHI4yS/ImB bZZWsS9i3xXJJMxVG/0EfMed6f/YmRMPswGsrqEWiBWuGnJul2BtmLkzc2tYkJGHu2 znQgO61N2ejPcqItflG3BqS/qNhSgfjabVPkLLUYCiO1kONLrO6v4oznrhoL7X+KWO cW28bdwx1Ay9w== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mxzlr5wVPz9rxB; Wed, 26 Oct 2022 08:43:20 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Tue, 25 Oct 2022 15:28:22 -0400") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:298517 Archived-At: Stefan Monnier writes: >>> AFAIK it's pretty easy to add support to Apache to auto-generate the >>> `.gz` files on the fly. I tried setting up the server to do the >>> opposite (automatically serving the uncompressed version of the file >>> when the file name without `.gz` is requested) but couldn't get it >>> to work. >> >> I am not an Apache expert, but from what I read the "SetOutputFilter >> DEFLATE" directive should enable gzip compression for requests where the >> client supports it. > > We already did that for `.tar` files (and a few others). Aren't the .tar files already compressed? > I have now changed the config to also apply compression to > `archive-contents` (and to the new `elpa-packages.eld`). Great!