3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

2 commits

Author SHA1 Message Date
Kenny Ballou 54a540c448 update-melpa.el: update gitlab fetcher to use API URL
GitLab packages were not downloading because the archive URL's used were
invalid.  Following the [GitLab API Docs][0], use the correct GitLab
archive URL.  This change is mirrored in ttuegel/emacs2nix#57.

Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
2021-04-23 09:37:25 -06: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