[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Removing packages from archive-contents if removed from elpa-packages
From: |
Philip Kaludercic |
Subject: |
Removing packages from archive-contents if removed from elpa-packages |
Date: |
Mon, 31 Oct 2022 09:40:36 +0000 |
Hi,
there is at least one broken package on NonGNU ELPA
(color-theme-tangotango) that was added, then removed as dependencies
were missing, but it remained in the archive because it was added to the
archive-contents file. The following patch would make sure that any
package not listed in elpa-packages is also remove from
archive-contents:
0001-Remove-packages-from-archive-if-they-are-not-listed-.patch
Description: Text Data
It might be a good idea to cache the interpretation of elpa-packages, so
I would also suggest the following:
0001-Cache-elpaa-get-specs-invocations.patch
Description: Text Data
While this would fix the above problem, two points remain:
1. This does not remove any tarballs. It wouldn't be hard to do, but I
am not sure if there would be any unintended side effects of doing
so -- at least immediately.
2. There are functioning packages on NonGNU ELPA like haskell-mode that
were also added to elpa-packages then removed, and still linger in
the archive without being updated. This would get rid of those too,
which might not be a good idea.
- Removing packages from archive-contents if removed from elpa-packages,
Philip Kaludercic <=