elpa-mirror
elpa-mirror copied to clipboard
vagrant-tramp package produces a broken mirror.
Package vagrant-tramp invariably results in a broken mirror archive, because it includes a file bin/vagrant-tramp-ssh
.
Notably, it's required for the package to even load properly, so it not being there causes a lot of interesting issues.
I'm not sure how could one rewrite elpamr-tar-command-exclude-patterns
to prevent this for specific packages...
(setq elpamr-tar-command-exclude-patterns '("*.elc"))
That would be too broad from the other end, though. For example, pdf-tools
builds a binary (epdfinfo
) which also gets included in the tar. Along with all the object files, which would break on crossing from amd64 to arm, or between different distros.
I think some mechanism for setting this per-package is needed, such cases are rare, but they're tricky to debug.
3e0fe0f can filter files&directories per package (Chen Bin)