redguardtoo / elpa-mirror

Create local emacs package repository. 15 seconds to install 115 packages.
312 stars 54 forks source link

Is there a way to update the mirror without updating the Emacs installation it's based on? #48

Closed emacsomancer closed 5 months ago

emacsomancer commented 1 year ago

I was thinking it could be useful to have a way to keep the mirror up-to-date independently of the package installation of a particular instance of Emacs running on one's machine. (Basically thinking of this in the aftermath of gnu.org, including elpa.gnu.org being down for a while.

redguardtoo commented 1 year ago

Run env HOME=/path/to/dir emacs --batch -l "~/.emacs.d/early-init.el" -l "~/.emacs.d/init.el" Then run elpa-mirror.el in shell with same env variable HOME.