[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package.el, auto-installation, and auto-removal
From: |
Stefan Monnier |
Subject: |
Re: package.el, auto-installation, and auto-removal |
Date: |
Tue, 11 Nov 2014 11:22:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> It would be nice to keep it as a directory structure because they are
> easier to edit:
> .emacs.d/elpa/
> .emacs.d/elpa/archives/
> .emacs.d/elpa/archives/marmalade/
> .emacs.d/elpa/archives/gnu/
> .emacs.d/elpa/archives/user-installed/
> .emacs.d/elpa/archives/user-installed/elnode
> .emacs.d/elpa/archives/user-installed/rcirc
I was thinking of keeping it in a Custom var, since that's easy to edit.
So the equivalent of a Cask file could look like
% cat CaskNG.el
(setq package-archives ((gnu ...)
(melpa ...)))
(setq packages-installed '(dash foo bar))
...
%
and you could run your tests with something like
emacs --batch -l CaskNG.el -f package-install-packages ...
So, my request is for someone to help set up the core of this, i.e. add
the `packages-installed' var (automatically updated by
package-install/delete and friends (I notice now that package-delete is
not a command, surprisingly)), and add the package-install-packages
command (so users can install their packages on a new system simply by
setting packages-installed and then running package-install-packages).
Bonus points for writing `package-gc' which deletes packages not
required by packages-installed.
Stefan
- Re: package and testing rant (was Re: package.el, auto-installation, and auto-removal), (continued)
- Re: package.el, auto-installation, and auto-removal, Stefan Monnier, 2014/11/10
- Re: package.el, auto-installation, and auto-removal, Ted Zlatanov, 2014/11/10
- Re: package.el, auto-installation, and auto-removal, Stefan Monnier, 2014/11/10
- Re: package.el, auto-installation, and auto-removal, Ted Zlatanov, 2014/11/10
- Re: package.el, auto-installation, and auto-removal, Stefan Monnier, 2014/11/10
- Re: package.el, auto-installation, and auto-removal, Phillip Lord, 2014/11/11
- Re: package.el, auto-installation, and auto-removal, Nic Ferrier, 2014/11/11
- Re: package.el, auto-installation, and auto-removal, Nic Ferrier, 2014/11/11
- Re: package.el, auto-installation, and auto-removal,
Stefan Monnier <=
- Re: package.el, auto-installation, and auto-removal, Nic Ferrier, 2014/11/11
- Re: package.el, auto-installation, and auto-removal, Achim Gratz, 2014/11/11
- Re: package.el, auto-installation, and auto-removal, Nic Ferrier, 2014/11/11
- Re: package.el, auto-installation, and auto-removal, Stefan Monnier, 2014/11/11
- Re: package.el, auto-installation, and auto-removal, Nic Ferrier, 2014/11/12
- Re: package.el, auto-installation, and auto-removal, Stefan Monnier, 2014/11/12
- Re: package.el, auto-installation, and auto-removal, Nic Ferrier, 2014/11/12
- Re: package.el, auto-installation, and auto-removal, Stefan Monnier, 2014/11/12
Re: package.el, auto-installation, and auto-removal, Nic Ferrier, 2014/11/07