]> git.eshelyaron.com Git - emacs.git/commit
Extract package-fetch and related functionality
authorPhilip Kaludercic <philipk@posteo.net>
Sun, 31 Jul 2022 19:32:38 +0000 (21:32 +0200)
committerPhilip Kaludercic <philipk@posteo.net>
Sun, 31 Jul 2022 19:32:38 +0000 (21:32 +0200)
commitf3e7820b480b4aa7a70f3ae6b2d775eba468a472
tree5767c984066e8e616b87a62826855016cb84819d
parent118033294136a8fb3a14347ce190b447dd2ff2fe
Extract package-fetch and related functionality

Note that the "package kind" was renamed from "source" to "vc".

* package-vc.el: (package-vc-commit): Copy from package.el
(package-vc-version): Add new function
(package-vc-generate-description-file): Add new function.
(package-vc-unpack): Add new function.
(package-vc-fetch): Copy from package.el
(package-checkout): Add alias for package-vc-fetch
* package.el (package-devel-dir): Remove option.  The checkouts are
stored in package-user-dir
(package-desc): Handle (vc . VERS) version strings
(package-desc-full-name): Return the plain name for vc packages
(package-devel-commit): Move function to package-vc
(package-load-descriptor): Refactor according to other changes
(package-load-all-descriptors): Remove package-devel-dir
(package-unpack): Remove vc package handling
(package-generate-description-file): Remove special handling for vc
packages
(package-install-from-archive): Remove special handling for vc
packages
(package-fetch): Move function to package-vc
(package-desc-status): Use "vc" instead of "source"
(package--remove-hidden): Use "vc" instead of "source"
(package-menu--print-info-simple): Refactor according to other changes
lisp/emacs-lisp/package-vc.el [new file with mode: 0644]
lisp/emacs-lisp/package.el