[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin 47280ce 402/439: * elpa-admin.el: Don't mention skip
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin 47280ce 402/439: * elpa-admin.el: Don't mention skipping :core if there are no :core |
Date: |
Sun, 17 Oct 2021 15:48:45 -0400 (EDT) |
branch: elpa-admin
commit 47280ce0431f0fe03a9b1e6584b7d4c3145a1d27
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* elpa-admin.el: Don't mention skipping :core if there are no :core
(elpaa--sync-emacs-repo): Don't emit message.
(elpaa-batch-archive-update-worktrees): Emit it here.
---
elpa-admin.el | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/elpa-admin.el b/elpa-admin.el
index 2a48ecc..bd2e7fe 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -1,6 +1,6 @@
;;; elpa-admin.el --- Auto-generate an Emacs Lisp package archive -*-
lexical-binding:t -*-
-;; Copyright (C) 2011-2020 Free Software Foundation, Inc
+;; Copyright (C) 2011-2021 Free Software Foundation, Inc
;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
@@ -1072,9 +1072,7 @@ Return non-nil if there's an \"emacs\" repository
present."
;; So make the handling of :core packages depend on whether or not the user
;; has setup a clone of Emacs under the "emacs" subdirectory.
(let ((emacs-repo-root (expand-file-name "emacs")))
- (if (not (file-directory-p emacs-repo-root))
- (progn (message "No \"emacs\" subdir: will skip :core packages")
- nil)
+ (when (file-directory-p emacs-repo-root)
(elpaa--pull emacs-repo-root)
t)))
@@ -1291,7 +1289,8 @@ If WITH-CORE is non-nil, it means we manage :core
packages as well."
(defun elpaa-batch-archive-update-worktrees (&rest _)
(let ((specs (elpaa--get-specs))
(pkgs command-line-args-left)
- (with-core (elpaa--sync-emacs-repo)))
+ (with-core (elpaa--sync-emacs-repo))
+ msg-done)
(setq command-line-args-left nil)
(if (equal pkgs '("-")) (setq pkgs (mapcar #'car specs)))
(dolist (pkg pkgs)
@@ -1299,7 +1298,12 @@ If WITH-CORE is non-nil, it means we manage :core
packages as well."
(kind (nth 1 pkg-spec)))
(pcase kind
((or ':url `:external) (elpaa--worktree-sync pkg-spec))
- (`:core (when with-core (elpaa--core-package-sync pkg-spec)))
+ (`:core
+ (if (not with-core)
+ (unless msg-done
+ (setq msg-done t)
+ (message "No \"emacs\" subdir: skipping :core packages"))
+ (elpaa--core-package-sync pkg-spec)))
(_ (if pkg-spec
(message "Unknown package kind `%S' for %s" kind pkg)
(message "Unknown package %s" pkg))))))))
- [nongnu] elpa-admin de02176 397/439: * elpa-admin.el: Use :lisp-dir in default value of :main-file and :renames, (continued)
- [nongnu] elpa-admin de02176 397/439: * elpa-admin.el: Use :lisp-dir in default value of :main-file and :renames, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d5001e6 404/439: * elpa-admin.el: Keep the number of old tarballs under check, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 9126fc7 365/439: * elpa-admin.el: Fix date computation for :core packages, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 39eb0cf 343/439: * admin/archive-contents.el (batch-generate-description-file): New function, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin a5cffdb 374/439: * elpa-admin.el (elpaa--pull): Set the upstream branch if needed, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d47f83f 373/439: * elpa-admin.el (elpaa--fetch): Use the default branch rather than "master", Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin b1bcdc4 367/439: * elpa-admin.el (elpaa--pull): Be slightly less chatty, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7e57ea1 371/439: * elpa-admin.el (elpaa--push): Don't checkout branch, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 1b69bf6 340/439: * admin/archive-contents.el: Don't use "git log" when not needed, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 14d46c2 375/439: * elpa-admin.el (elpaa--pull): Fix up oversight in last change, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 47280ce 402/439: * elpa-admin.el: Don't mention skipping :core if there are no :core,
Philip Kaludercic <=
- [nongnu] elpa-admin 059dde5 344/439: * GNUmakefile (RULE-singlepkg): Add rules to install&compile each package, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e22c225 395/439: * elpa-admin.el (elpaa--fetch): Only show upstream commits, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 2658af9 345/439: * admin/archive-contents.el: Add preliminary code to fetch upstream updates, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 0b84023 372/439: * elpa-admin.el: Fix confusing uses of word "external", Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 3926bbc 381/439: * elpa-admin.el (elpaa--release-email): Improve the Cc address, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 913bb04 376/439: * GNUmakefile: Rewrite the all-in-place code, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin ceb7580 390/439: * elpa-admin.el (elpaa--sandboxed-ro-binds): Add `/bin`, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 995404d 401/439: * elpa-admin.el: Allow generating autoloads for "unlisted" packages, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 7d65683 356/439: * admin/archive-contents.el: Fix wrong cgit links and support :core somewhat, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin 4ade74d 346/439: * README.org: Add license and an introduction., Philip Kaludercic, 2021/10/17