summaryrefslogtreecommitdiff
path: root/.local/bin/emacs-update-packages
AgeCommit message (Collapse)Author
2025-11-03Hide current elpa directory behind a symlinkKévin Le Gouguec
Simplifies rollbacks: revert symlink to previous directory. Also, * make directory names more intuitive: use $(date) for the _new_ directory, instead of the old one; * write update patches to the new directory, instead of the old one; * tee update summary to the new directory, so that it survives the transient shell the update was run from. Also, ask the augurs why 'test' has both -h and -L for symbolic links, https://pubs.opengroup.org/onlinepubs/9799919799/utilities/test.html and get no answer 🤷
2025-08-23Change Emacs ELPA update scriptKévin Le Gouguec
Be cautiously optimistic: hope that the update process will work; stop "generate dummy config & install everything from scratch" shenanigans. (Do create a backup folder tho, just in case) Also, compute patches for perusal.
2024-05-15Fix ELPA update scriptKévin Le Gouguec
No idea how I managed to commit it in such a non-working state.
2024-03-24Add script to "update" ELPA packagesKévin Le Gouguec
I update somewhat infrequently, and more often than not some packages will fail to compile for obscure reasons. At this stage, I've done the "generate minimal .emacs with selected packages, install from scratch" dance that I figure I might as well automate it.