X-Loop: help-debbugs@HIDDEN Subject: bug#76926: 31.0.50; Hyperbole tarball bloat Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: monnier@HIDDEN, rsw@HIDDEN, matsl@HIDDEN, bug-gnu-emacs@HIDDEN Resent-Date: Mon, 10 Mar 2025 20:17:02 +0000 Resent-Message-ID: <handler.76926.B.17416377995373 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 76926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76926 <at> debbugs.gnu.org Cc: monnier@HIDDEN, Robert Weiner <rsw@HIDDEN>, Mats Lidell <matsl@HIDDEN> X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN X-Debbugs-Original-Xcc: monnier@HIDDEN, Robert Weiner <rsw@HIDDEN>, Mats Lidell <matsl@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.17416377995373 (code B ref -1); Mon, 10 Mar 2025 20:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Mar 2025 20:16:39 +0000 Received: from localhost ([127.0.0.1]:40002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1trjYF-0001Oa-BO for submit <at> debbugs.gnu.org; Mon, 10 Mar 2025 16:16:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38280) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1trjYA-0001O8-Ky for submit <at> debbugs.gnu.org; Mon, 10 Mar 2025 16:16:35 -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 <monnier@HIDDEN>) id 1trjXZ-0001I4-9e for bug-gnu-emacs@HIDDEN; Mon, 10 Mar 2025 16:15:58 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <monnier@HIDDEN>) id 1trjXQ-0006Rg-Tw for bug-gnu-emacs@HIDDEN; Mon, 10 Mar 2025 16:15:56 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2A6E5100040; Mon, 10 Mar 2025 16:15:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1741637744; bh=CEj/bpTeM0WXmqqrJgk6on1Uy+r1o0lSxueiMyqdhZ0=; h=From:To:Subject:Date:From; b=mbMk6DKdVJZMSh58BiKOZHMgpAZDXsQBbQe8FWGUkpbfRXWhgdwoalyfiAg2KZhOS BmRdG+B7SlYKpNWSAXIXSFMxJCNlFw1ihDn30zr4AwladoFfTO8yR0nqfx/2K2Lb1B IDev7ovV2WntkrGeJfFlb1Sih7fVRsgJXf3VF4DEu4IAY+mMkUBzTGMOYcwuFNRkec 50MJI0bHMo5u55PDC0IYsw1x3BQnt2ATsqp5OSec7/fxWAgeOeF5AqDDNe55ngYK1I RJ/1kSskHqsEUj1UN6majAwbKiDPWzKH59k7Xq2/ZTi9sDMs3dSxpFwXARHAKxM9yX FJlc/iPK8vpBQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 78B9D10002E; Mon, 10 Mar 2025 16:15:44 -0400 (EDT) Received: from pastel (unknown [104.247.242.5]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5D56A1202A0; Mon, 10 Mar 2025 16:15:44 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> Message-ID: <jwvsenkadw5.fsf-monnier+@gnu.org> Date: Mon, 10 Mar 2025 16:15:43 -0400 MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.327 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain KAM_SHORT 0.001 Use of a URL Shortener for very short URL X-SPAM-LEVEL: Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@HIDDEN; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Package: Emacs Version: 31.0.50 The current Hyperbole code is a bit less than 3MB of ELisp code, but the resulting tarball in GNU ELPA is more than 20MB. Skipping the worst offenders *.eps *.pdf *.html HY-TALK/improve-performance.png man/im/wgrid4x3.png would bring it down to about a third of the current size, but I suggest you think about which of the files in the Git could be skipped in the tarball (e.g. because they're only useful for the website) or even completely removed from Git (like `man/im/wgrid[34]*.png` files which don't seem to be used for anything, or the non-source files like `hyperbole.pdf` or the `.eps` files which could be replaced by appropriate Makefile rules). There's no point skipping small files, so usually I encourage package maintainers to include pretty much everything, but here I think we went a bit overboard. On a related note, have you tried to use `x-export-frames` to generate screenshots in PDF or SVG format? It might (should?) lead to images that are more compact than `wgrid4x3.png` while giving a higher quality rendering. Also, I see there's a `man/hyperbole.texi` but the current package's spec doesn't specify any manual. I guess we should add :doc "man/hyperbole.texi" right? [ That would auto-generate `hyperbole.info` and `dir` files so users who install your packages get it in `M-x info`, as well as add an HTML rendering of that same manual over at https://elpa.gnu.org/packages/hyperbole.html. You don't need to include `hyperbole.html` and `dir` and `hyperbole.info` in the Git for that. ] Stefan
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Stefan Monnier <monnier@HIDDEN> Subject: bug#76926: Acknowledgement (31.0.50; Hyperbole tarball bloat) Message-ID: <handler.76926.B.17416377995373.ack <at> debbugs.gnu.org> References: <jwvsenkadw5.fsf-monnier+@gnu.org> X-Gnu-PR-Message: ack 76926 X-Gnu-PR-Package: emacs Reply-To: 76926 <at> debbugs.gnu.org Date: Mon, 10 Mar 2025 20:17:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to monnier@HIDDEN, Robert Weiner <rsw@HIDDEN>, Mats Lidell <matsl= @gnu.org> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 76926 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 76926: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76926 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 10 Mar 2025 21:04:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 10 17:04:55 2025 Received: from localhost ([127.0.0.1]:40066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1trkIw-0003cM-SZ for submit <at> debbugs.gnu.org; Mon, 10 Mar 2025 17:04:55 -0400 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:53292) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1trkIu-0003c3-OZ for control <at> debbugs.gnu.org; Mon, 10 Mar 2025 17:04:53 -0400 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-ac2963dc379so213443766b.2 for <control <at> debbugs.gnu.org>; Mon, 10 Mar 2025 14:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741640686; x=1742245486; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=YRBZNsm8xhAWjKqZlwePXoW8w+SpZ4X9zNAszMi6FnY=; b=N8gymZemNymjm8FQP5WqQhnMbtsTL0GOrsz522+X2ZzC/G1XOLCW9C8AXBYHEf385b N5elDeFGIjGnf+12YeAtZQc63mUStpontgNBQyDF7aDiTO+bXL+ky6qkAEVoEcwY01Gs rvnn7QkdMntg96nY3Za7x8hMW33n7AcEcGG1jI3TEebBkbijrZ2GnAkt5/JpwFHWUF7r pzACN8Y6lAXkZiSIT9iEJwtaq1I131XDmS8dWOTR8xmL6is832Ccrpve3iXEWq+VPGKZ np3/YnlNbXDwZ+52unQM6l1o/pMLLuK9kLHapHrROb/exgT0cfgnC9kAUwdRJysViKl4 ZqSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741640686; x=1742245486; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YRBZNsm8xhAWjKqZlwePXoW8w+SpZ4X9zNAszMi6FnY=; b=ZRqzH8bnYMid6erXct3E4gUUwdHGZ6aClQXVSiNBpz/ulbNGdG0yKlaNCAb+DYhU5n YTKLnarE56iwiF0pZ4+4Gxg7Mv5BAey9huvjie5zcljBt9U4lQbrJ9NJGOSBBzxbL128 MAStnuNXn2hOv+3E3GDB+Xh64bEytjJ8izY6sJVK3R4EQtBg3fjk0rbNf+zRdeTN860p 4k0PY/GfJBpuLfNaChVb00dXVbDQCxWhz+nuzRAg4RJL5+dVi/ItOlX9JUUdFnc0OqcI CfeTYRDca080D22yDq2BE11UX53adCvUZcsViPzHyL+m6bI6GE8rp5DMBRPzMmBjeA9O OH0Q== X-Gm-Message-State: AOJu0YwXFoBLSph0yJI4HSt5RhIWgJhCuFuGrqSXre4B+gFwKJTsNsfL h8NzaEKM428SpH6d7toORCXIYc/AlUTMpYJUQ7OFVH14IwW06H3xtuhnVTkYMubwu6ciP95xHto 9+B7G6KBPK7zr2PxKqkMFBglVFqzQ5Yqb X-Gm-Gg: ASbGncv0GvkL+RGsbeBYMeF9EksjqBwsRbxcNArdgBZZeo8xhcFTbKlty7tc7DLsFrs H7qUh+05i42jtGCGXoBcpcdP18QUV+h5lIDn32TbXdvG73eFpDykDQ7K62rsW2CNizvKoSuYbJ9 AeE+aMUA/HBy8VSuRIicrtv3hqX5U= X-Google-Smtp-Source: AGHT+IH1JXUOK9Ykd+71qOaOGff4NwZOaYSE6FHJTmviXNnzXfR4x+ks8vwb6WK3QJB0zSWmanBXkK9fj67qqZd/ou0= X-Received: by 2002:a05:6402:34c7:b0:5e5:ba77:6f24 with SMTP id 4fb4d7f45d1cf-5e5e22d4c66mr40828444a12.16.1741640686225; Mon, 10 Mar 2025 14:04:46 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 10 Mar 2025 17:04:45 -0400 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Mon, 10 Mar 2025 17:04:45 -0400 X-Gm-Features: AQ5f1Jp8zUxr6byKGh0SJc6kw2lDbufNDcvk7HhS9X_ct-C8nPRDugcu1W8_jb4 Message-ID: <CADwFkmm8S+TYnJPbjX4_NL7HuTrf0wBY7oz7DEHG_5FGJJopQw@HIDDEN> Subject: control message for bug #76926 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) severity 76926 wishlist quit
X-Loop: help-debbugs@HIDDEN Subject: bug#76926: 31.0.50; Hyperbole tarball bloat Resent-From: Mats Lidell <matsl@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 10 Mar 2025 21:14:01 +0000 Resent-Message-ID: <handler.76926.B76926.174164119716009 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 76926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: Robert Weiner <rsw@HIDDEN>, 76926 <at> debbugs.gnu.org Received: via spool by 76926-submit <at> debbugs.gnu.org id=B76926.174164119716009 (code B ref 76926); Mon, 10 Mar 2025 21:14:01 +0000 Received: (at 76926) by debbugs.gnu.org; 10 Mar 2025 21:13:17 +0000 Received: from localhost ([127.0.0.1]:40160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1trkR2-0004A9-F1 for submit <at> debbugs.gnu.org; Mon, 10 Mar 2025 17:13:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48408) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <matsl@HIDDEN>) id 1trkQz-00049s-Da for 76926 <at> debbugs.gnu.org; Mon, 10 Mar 2025 17:13:14 -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 <matsl@HIDDEN>) id 1trkQr-0006b8-On; Mon, 10 Mar 2025 17:13:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=pPDJ6t7SAmP5YDJHkgUGgc5wDpuVVnijIlW2cfbP8bI=; b=MdHDGPPhomqRaeigWiRJ 3ZBGKGOTgKGXjelbfyeRT9m5WI7dmGLfOTwj4p3a2U4roizT+0bxZOaW0yKZSuT5+ENBWeDCr/pUa Krgg3Tj1GnNNxMEeUJZ7evjtYJSZJOQoVv59pT5dg+k2ijs/ayvqPLLq2l0fIx5wiPIPhxRTqTD5I M4ZLFmGNCB0gLBIOrt2Vhq0IkahavHQ7n5IqO+uNcVdpIi3fXt41e0IquFJGRYuBWHhDfTCOj5J3A CL8M9RdFmzpuvuFhC3NwdSFXpzt+T0vGBkwJnq+Hx+t4yc+Y10dRMvecyH2fJRKIoCmSg5SlNKJyI vml2bx7mLt/3vQ==; From: Mats Lidell <matsl@HIDDEN> In-Reply-To: <jwvsenkadw5.fsf-monnier+@gnu.org> References: <jwvsenkadw5.fsf-monnier+@gnu.org> Date: Mon, 10 Mar 2025 22:12:52 +0100 Message-ID: <87bju8wpwr.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi Stefan, > Stefan Monnier writes: > Package: Emacs > Version: 31.0.50 > > > The current Hyperbole code is a bit less than 3MB of ELisp code, but the > resulting tarball in GNU ELPA is more than 20MB. > > Skipping the worst offenders > > *.eps > *.pdf > *.html > HY-TALK/improve-performance.png > man/im/wgrid4x3.png > > would bring it down to about a third of the current size, but I suggest > you think about which of the files in the Git could be skipped in the > tarball (e.g. because they're only useful for the website) or even > completely removed from Git (like `man/im/wgrid[34]*.png` files which > don't seem to be used for anything, or the non-source files like > `hyperbole.pdf` or the `.eps` files which could be replaced by > appropriate Makefile rules). Point taken. We'll see how we can clean git from big files. The tarball is built with the idea that users would get everything needed without having any extra tools nor to be required to run any make targets. That might be an old fashioned goal these days and users are bettered served by fetching things from the net. Especially if we already provide those through different channels. > There's no point skipping small files, so usually I encourage package > maintainers to include pretty much everything, but here I think we went > a bit overboard. > On a related note, have you tried to use `x-export-frames` to generate > screenshots in PDF or SVG format? It might (should?) lead to images > that are more compact than `wgrid4x3.png` while giving a higher quality > rendering. No, we have not tried that. I did not know that was available. Thanks for the suggestion. (So many things in Emacs I learn new stuff every day ;-) I will take a look what can be done about the images. They might need regeneration anyway with next release due to things have changed since we produced them. We can try to make them more compact when we update them. > Also, I see there's a `man/hyperbole.texi` but the current package's > spec doesn't specify any manual. I guess we should add > > :doc "man/hyperbole.texi" > > right? [ That would auto-generate `hyperbole.info` and `dir` files so > users who install your packages get it in `M-x info`, as well as add an > HTML rendering of that same manual over at > https://elpa.gnu.org/packages/hyperbole.html. You don't need to > include `hyperbole.html` and `dir` and `hyperbole.info` in the Git for that. ] I think our current solution also works in making Hyperbole available in info. But if we can get the necessary files generated, using the standard machinery, there would be less to ship. Thanks for the suggestion. Yours -- %% Mats
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.