Subject: bug#73808: closed (Re: bug#73808: 30.0.91; Should test files be included in GNU ELPA tarballs?)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 14 Oct 2024 23:13:02 +0000

Your bug report

#73808: 30.0.91; Should test files be included in GNU ELPA tarballs?

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
73808: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73808
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#73808: 30.0.91; Should test files be included in GNU ELPA tarballs?
From: Stefan Kangas <[email-masked]>
To: Lin Jian <[email-masked]>
Cc: [email-masked], Andrew Hyatt <[email-masked]>, Stefan Monnier <[email-masked]>, [email-masked]
Date: Mon, 14 Oct 2024 23:03:30 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Lin Jian <[email-masked]> writes:

> Stefan Kangas <[email-masked]> writes:
>
>
>> The below text has been added in Emacs 30 to
>> (info "(elisp) Multi-file Packages")
>
> That's great.  Thanks for the info.
>
> Feel free to close this ELPA bug.

Thanks, I'm closing the bug with this message.

Subject: 30.0.91; Should test files be included in GNU ELPA tarballs?
From: Lin Jian <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Tue, 15 Oct 2024 04:54:29 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Some GNU ELPA packages include test files in their tarballs, such as
triples[1].  Test files may have extra dependencies.  For example,
triples-test.el[2] requires kv.  When installing package tarballs, those
extra dependencies cause compilation errors, which causes package build
failures in our NixOS CI.

Given that users probably do not need those test files, I think it is a
good idea to exclude them from tarballs.  MELPA does that by default[3].

WDYT?

[1]: https://elpa.gnu.org/packages/triples.html
[2]: https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/triples-test.el?h=externals/triples&id=cf7f9c8dd77e47a1c32e0d0026df86a0eac4e2a5#n30
[3]: https://github.com/melpa/melpa?tab=readme-ov-file#recipe-format