diff options
author | Philip Kaludercic <philipk@posteo.net> | 2022-10-30 11:43:11 +0100 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2022-10-30 14:04:52 +0100 |
commit | 30f1e7c1e93dda496412f76f70b2f49b30407b11 (patch) | |
tree | 5bce30c759267dcfadf26215ef187e65d76ebfe8 /lisp/hexl.el | |
parent | a52cec7b6b89785ee5321ed67d096db7ce42ce9c (diff) | |
download | emacs-30f1e7c1e93dda496412f76f70b2f49b30407b11.tar.gz emacs-30f1e7c1e93dda496412f76f70b2f49b30407b11.tar.bz2 emacs-30f1e7c1e93dda496412f76f70b2f49b30407b11.zip |
Extract last source package release from local VCS data
* lisp/emacs-lisp/package-vc.el (package-vc-archive-spec-alist):
Unmention :release-rev
(package-vc-desc->spec): Fall back on other archives if a
specification is missing.
(package-vc-main-file): Add new function, copying the behaviour of
elpa-admin.el.
(package-vc-generate-description-file): Use 'package-vc-main-file'.
(package-vc-unpack): Handle special value ':last-release'.
(package-vc-release-rev): Add new function using 'last-change'.
(package-vc-install): Pass ':last-release' as REV instead of a
release.
* lisp/vc/vc-git.el (vc-git-last-change): Add Git 'last-change'
implementation.
* lisp/vc/vc.el (vc-default-last-change): Add default 'last-change'
implementation.
This attempts to replicate the behaviour of elpa-admin.el's
"elpaa--get-last-release-commit".
Diffstat (limited to 'lisp/hexl.el')
0 files changed, 0 insertions, 0 deletions