Commit Graph

2 Commits

Author SHA1 Message Date
adisbladis
8911226971
emacs-packages: Allow update script to be called from any location
Previously working directory was important
2019-08-07 18:04:19 +01:00
Herwig Hochleitner
d65f1b20c3
emacs-modes: replace melpa-generated with json format
This approach has several differences with emacs2nix:

- the updater uses a downloaded recipes.json and archive.json for commit information, it uses a local checkout only for hashing the recipes
- the generated file is JSON
- the updater is written in emacs lisp
- prefetch errors are put into an error key in the JSON, for review + meta.broken attributes are generated from it

The updater re-uses the existing generated file to memoize prefetched content-sha256s for commits, thus prefetching should normally be quite fast.
2019-08-02 09:15:47 +01:00