summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | ;Fix typo "heusitic" -> "heuristic"Philip Kaludercic2022-10-231-5/+5
| | | | |
| | * | | Use user option 'package-vc-default-backend' when cloningPhilip Kaludercic2022-10-231-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-unpack): Respect 'package-vc-default-backend'.
| | * | | ; Require map only during compilationPhilip Kaludercic2022-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | As map is only used by 'pcase' during macro-expansion, it is not necessary to load it all the time.
| | * | | ; Update TODO listPhilip Kaludercic2022-10-231-0/+5
| | | | |
| | * | | Immediately check out the right branch or revisionPhilip Kaludercic2022-10-231-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-unpack) Use REV to avoid checking out the wrong branch/revision first. * lisp/vc/vc-bzr.el: Handle REV. * lisp/vc/vc-git.el: Handle REV. * lisp/vc/vc-hg.el: Handle REV. * lisp/vc/vc-svn.el: Handle REV. * lisp/vc/vc.el: Make BACKEND optional and add REV.
| | * | | ; Remove unnecessary "TODO"s from the package headerPhilip Kaludercic2022-10-231-5/+5
| | | | |
| | * | | ; Remove unnecessary 'let' bindingPhilip Kaludercic2022-10-231-6/+5
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (pacakge-vc-desc->spec): Simplify function.
| | * | | Add auxiliary function to query package specificationsPhilip Kaludercic2022-10-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-query-spec): Add inline function.
| | * | | Request "elpa-packages.eld" instead of "elpa-packages"Philip Kaludercic2022-10-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc--read-archive-data): Apply change. (package-vc--download-and-read-archives): Apply change.
| | * | | Remove 'package-vc-install' alias 'package-checkout'Philip Kaludercic2022-10-211-3/+0
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-checkout): Remove it.
| | * | | Have 'package-vc-link-directory' use name if givenPhilip Kaludercic2022-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-link-directory): Use the NAME argument.
| | * | | Build documentation like elpa-admin.elPhilip Kaludercic2022-10-201-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-build-documentation): Add function to build a documentation file. (package-vc-unpack-1): Use 'package-vc-build-documentation'.
| | * | | Merge remote-tracking branch 'origin/master' into feature/package+vcPhilip Kaludercic2022-10-201-1/+2
| | |\ \ \
| | * | | | Remove modifications to the list of ignored files in source packagesPhilip Kaludercic2022-10-181-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-unpack-1): Remove 'vc-ignore' calls.
| | * | | | Use 'elpa-packages' files for VC metadataPhilip Kaludercic2022-10-182-65/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-default-backend): Add new option. (package-vc-archive-spec-alist): Add new variable to store the contents of 'elpa-packages' for each archive. (pacakge-vc-desc->spec): Add function to query package specifications. (package-vc--read-archive-data): Add a 'package-read-archive-hook' implementation. (package-vc--download-and-read-archives): Add a 'package-refresh-contents-hook' implementation. (package-vc-main-file): Remove function. (package-vc-generate-description-file): Use package specifications. (package-vc-unpack-1): Adapt to previous changes. (package-vc-unpack): Adapt to previous changes. (package-vc-sourced-packages-list): Adapt to previous changes. (package-vc-install): Adapt to previous changes. * lisp/emacs-lisp/package.el (package-read-archive-hook): Allow extending 'package-read-all-archive-contents' using a hook. (package-read-all-archive-contents): Use 'package-read-archive-hook'. (package-refresh-contents-hook): Allow extending 'package-refresh-contents' using a hook. (package-refresh-contents): Use 'package-refresh-contents-hook'.
| | * | | | Merge remote-tracking branch 'origin/master' into feature/package+vcPhilip Kaludercic2022-10-185-120/+141
| | |\ \ \ \
| | * | | | | Only clone packages if necessaryPhilip Kaludercic2022-10-171-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-unpack): Check if directory exists before cloning.
| | * | | | | Attempt to infer the package subject if missingPhilip Kaludercic2022-10-161-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-main-file): Add function. (package-vc-generate-description-file): Infer the subject.
| | * | | | | Mark source packages as always updatablePhilip Kaludercic2022-10-161-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package--updateable-packages): Add check for source packages.
| | * | | | | Delete 'package-contact-maintainer'Philip Kaludercic2022-10-161-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/package.texi: Remove mention. * etc/NEWS: Remove mention. * lisp/emacs-lisp/package.el: Remove the command.
| | * | | | | Merge branch 'master' into feature/package+vcPhilip Kaludercic2022-10-156-13/+46
| | |\ \ \ \ \
| | * | | | | | Allow specifying a package name for 'package-vc-link-directory'Philip Kaludercic2022-10-121-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-link-directory): Add argument NAME
| | * | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-refresh): Add function.Philip Kaludercic2022-10-121-0/+5
| | | | | | | |
| | * | | | | | Rename 'package-vc-link-project' to 'package-vc-link-directory'Philip Kaludercic2022-10-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-link-project): Rename it.
| | * | | | | | Run 'package-vc-unpack-1' after updating source packagesPhilip Kaludercic2022-10-121-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-update): Call 'package-vc-unpack-1'.
| | * | | | | | Add new command to install a package via symbolic linkingPhilip Kaludercic2022-10-121-64/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-unpack-1): Add new function. (package-vc-unpack): Use 'package-vc-unpack-1'. (package-vc-link-project): Add new command.
| | * | | | | | Only use 'package-vc-repository-store' if necessaryPhilip Kaludercic2022-10-122-24/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-unpack): Check if the upstream data indicates a custom lisp directory. * lisp/emacs-lisp/package.el (package--delete-directory): Adapt accordingly.
| | * | | | | | Rename 'package-vc-fetch' to 'package-vc-install'Philip Kaludercic2022-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-fetch): Rename to preserve symmetry with 'package-install'. (package-checkout): Follow the previous rename.
| | * | | | | | * lisp/emacs-lisp/package-vc.el: Autoload 'package-vc-prepare-patch'Philip Kaludercic2022-10-081-2/+1
| | | | | | | |
| | * | | | | | Clone packages into a separate directoryPhilip Kaludercic2022-10-082-10/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-repository-store): Add new user option. (package-vc-unpack): Use 'package-vc-repository-store'. * lisp/emacs-lisp/package.el (package--delete-directory): Check and handle source packages. (package-delete): Invoke 'package--delete-directory' with an additional argument.
| | * | | | | | * lisp/emacs-lisp/package.el (package-report-bug): Use 'file-in-directory-p'Philip Kaludercic2022-10-081-10/+9
| | | | | | | |
| | * | | | | | Extend package-vc heuristics to multiple source forgesPhilip Kaludercic2022-10-081-25/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * package-vc.el (package-vc-probable-repository-regexp): Rename to 'package-vc-heusitic-alist'. (package-vc-heusitic-alist): Add support for multiple VC backends. (package-vc-sourced-packages-list): Use 'package-vc-heusitic-alist'
| | * | | | | | ; * package-vc.el (package-vc-read-pkg): Return package descriptionPhilip Kaludercic2022-10-081-5/+7
| | | | | | | |
| | * | | | | | Use 'package-vc-p' in package-vc.elPhilip Kaludercic2022-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * package-vc.el (package-vc-commit): Use it instead of 'eq'. (package-vc-version): Use it instead of 'eq'.
| | * | | | | | Add a package-vc command for submitting ptchesPhilip Kaludercic2022-10-082-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| | * | | | | | Extract package maintainer guessing code into a separate functionPhilip Kaludercic2022-10-081-27/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * package.el (package-maintainers): Add new function. (package-contact-maintainer): Use it. (package-report-bug): Use it.
| | * | | | | | Add an inline procedure for checking for source packagesPhilip Kaludercic2022-10-081-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * package.el (eval-when-compile): Require 'inline during compilation. (package-vc-p): Add inline function. (package-desc-full-name): Use it. (package-load-descriptor): Use it. (package--get-activatable-pkg): Use it. (package-install-from-archive): Use it. (package-update): Use it. (package-desc-status): Use it. (package--remove-hidden): Use it. (package-menu--print-info-simple): Use it.
| | * | | | | | Merge branch 'master' into feature/package+vcPhilip Kaludercic2022-10-0841-582/+918
| | |\ \ \ \ \ \
| | * | | | | | | Add a generic bug reporting command for packagesPhilip Kaludercic2022-10-061-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-menu-mode-map): Bind 'package-report-bug'. (package-report-bug): Add new command.
| | * | | | | | | * package-vc.el (package-vc-unpack): Fix 'vc-ignore' callPhilip Kaludercic2022-08-301-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | | | | * package-vc.el (package-vc-unpack): Ignore dir filesPhilip Kaludercic2022-08-201-1/+2
| | | | | | | | |
| | * | | | | | | * package-vc.el (package-vc-unpack): Mark packages as selectedPhilip Kaludercic2022-08-191-1/+5
| | | | | | | | |
| | * | | | | | | Merge remote-tracking branch 'origin/master' into feature/package+vcPhilip Kaludercic2022-08-1813-164/+332
| | |\ \ \ \ \ \ \
| | * | | | | | | | * package-vc.el (package-vc-fetch): Autoload itPhilip Kaludercic2022-08-121-0/+1
| | | | | | | | | |
| | * | | | | | | | Merge remote-tracking branch 'origin/master' into feature/package+vcPhilip Kaludercic2022-08-1222-1111/+271
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | Add "send patches" note to package-vc TODO sectionPhilip Kaludercic2022-08-111-0/+2
| | | | | | | | | | |
| | * | | | | | | | | * package.el (describe-package-1): Add news if avaliablePhilip Kaludercic2022-08-111-1/+12
| | | | | | | | | | |
| | * | | | | | | | | * package.el (package--get-activatable-pkg): Prefer source packagesPhilip Kaludercic2022-08-111-4/+12
| | | | | | | | | | |
| | * | | | | | | | | Allow updating source packagesPhilip Kaludercic2022-08-112-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package-vc.el (package-vc-update): Add new function. * lisp/emacs-lisp/package.el (package-update): Use 'package-vc-update'.
| | * | | | | | | | | Ignore files in .elpaignore during byte compilationPhilip Kaludercic2022-08-112-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * package.el (package--parse-elpaignore): Add new function. (package--compile): Bind 'byte-compile-ignore-files' to the result of 'package--parse-elpaignore'.