GNU bug report logs -
#73808
30.0.91; Should test files be included in GNU ELPA tarballs?
Previous Next
Reported by: Lin Jian <me <at> linj.tech>
Date: Mon, 14 Oct 2024 20:58:02 UTC
Severity: normal
Found in version 30.0.91
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lin Jian via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:
> 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?
The best way to exclude the test files is to add a .elpaignore file to
the upstream project. We can also do that on our end, but that makes it
less flexible for the package maintainer.
>
> [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
This bug report was last modified 220 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.