1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 10:50:49 -08:00
Commit graph

119 commits

Author SHA1 Message Date
Philip Kaludercic
f9065c7951
Use 'package-vc-p' in package-vc.el
* package-vc.el (package-vc-commit): Use it instead of 'eq'.
(package-vc-version): Use it instead of 'eq'.
2022-10-08 11:57:38 +02:00
Philip Kaludercic
e092e60f15
Add a package-vc command for submitting ptches
* lisp/emacs-lisp/package-vc.el (package-vc-read-pkg): Add auxiliary
command for querying source packages.
(package-vc-prepare-patch): Add it.
* lisp/emacs-lisp/package.el (package-maintainers): Add an optional
NO-ERROR argument.
2022-10-08 11:57:38 +02:00
Philip Kaludercic
d5dbf0804c
* package-vc.el (package-vc-unpack): Fix 'vc-ignore' call
When generating the manual node (/dir), we need to ensure that the
default-directory is set to the package root, otherwise the file is
ignored in some other repository, that probably doesn't exist.
2022-08-30 11:28:54 +02:00
Philip Kaludercic
54dbd7d55c
* package-vc.el (package-vc-unpack): Ignore dir files 2022-08-20 17:07:23 +02:00
Philip Kaludercic
820036dafe
* package-vc.el (package-vc-unpack): Mark packages as selected 2022-08-19 20:37:09 +02:00
Philip Kaludercic
57e16b316d
* package-vc.el (package-vc-fetch): Autoload it 2022-08-12 17:02:20 +02:00
Philip Kaludercic
faa7f03b0c
Add "send patches" note to package-vc TODO section 2022-08-11 14:19:26 +02:00
Philip Kaludercic
f5bb6b0131
Allow updating source packages
* lisp/emacs-lisp/package-vc.el (package-vc-update): Add new function.
* lisp/emacs-lisp/package.el (package-update): Use 'package-vc-update'.
2022-08-11 13:23:51 +02:00
Philip Kaludercic
9ddc23cd34
Ignore files in .elpaignore during byte compilation
* package.el (package--parse-elpaignore): Add new function.
(package--compile): Bind 'byte-compile-ignore-files' to the result of
'package--parse-elpaignore'.
2022-08-11 12:47:28 +02:00
Philip Kaludercic
878cacc712
* package-vc.el (package-vc-unpack): Detect TeXinfo manuals 2022-08-11 12:40:17 +02:00
Philip Kaludercic
5fe97dd9dd
; Require rx during byte compilation 2022-08-11 10:55:43 +02:00
Philip Kaludercic
98381366b5
Guess Git repositories from the URL header
* package-vc.el (package-vc-probable-repository-regexp): Add new user option.
(package-vc-sourced-packages-list): Add new function using
'package-vc-probable-repository-regexp'.
(package-vc-fetch): Use 'package-vc-sourced-packages-list'.
2022-08-11 10:53:55 +02:00
Philip Kaludercic
d01445716d Only suggest packages with VC metadata
* package-vc.el (package-vc-fetch): Filter out packages without :vc
information in the interactive specification.
2022-08-03 20:25:17 +02:00
Philip Kaludercic
1b722606ca * package-vc.el (package-vc-unpack): Delete using package--delete-directory 2022-08-03 14:43:34 +02:00
Philip Kaludercic
e7ebdc29ce Add TODO section for package-vc 2022-08-03 13:47:54 +02:00
Philip Kaludercic
e9504782fe Have VC ignore auto generated files
* package-vc.el (package-vc-unpack): Generate autoloads and ignore
have the VCS ignore them (along with package description file).
2022-08-02 17:34:14 +02:00
Philip Kaludercic
ffb06d9100 Assume VC data is directly usable in 'package-archive-contents'
* package-vc.el (package-vc-fetch): Remove string parsing and
translation code.
2022-08-02 17:12:45 +02:00
Philip Kaludercic
168929cf0d * package-vc.el (vc-clone): Remove superfluous declaration 2022-08-02 17:04:31 +02:00
Philip Kaludercic
f3e7820b48 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
2022-07-31 21:32:38 +02:00