[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa-admin 0e7eab5 304/357: Merge commit 'facd92f4c026525706a48b9
From: |
Stefan Monnier |
Subject: |
[elpa] elpa-admin 0e7eab5 304/357: Merge commit 'facd92f4c026525706a48b96b4e0b24543ce1d94' |
Date: |
Thu, 10 Dec 2020 18:07:04 -0500 (EST) |
branch: elpa-admin
commit 0e7eab5d5fe5e5252aa2f5397a30dc711259d26a
Merge: f85cb8d f25cda3
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Commit: Stephen Leake <stephen_leake@stephe-leake.org>
Merge commit 'facd92f4c026525706a48b96b4e0b24543ce1d94'
---
GNUmakefile | 8 +++++---
README | 2 +-
admin/archive-contents.el | 22 ++++++++++++++--------
3 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 79e252f..8bfd49b 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -171,9 +171,11 @@ elcs := $(call SET-diff, $(naive_elcs), $(patsubst %.el,
%.elc, $(nbc_els)))
# '(dolist (al (quote ($(patsubst %, "%", $(autoloads))))) (load
(expand-file-name al) nil t))'
%.elc: %.el
@echo 'Byte compiling $<'
- @$(EMACS) \
- --eval "(setq package-directory-list nil package-user-dir
\"$(abspath packages)\")" \
- -f package-initialize \
+ @$(EMACS) \
+ --eval "(setq package-directory-list nil \
+ load-prefer-newer t \
+ package-user-dir \"$(abspath packages)\")" \
+ -f package-initialize \
-L $(dir $@) -f batch-byte-compile $<
.PHONY: elcs
diff --git a/README b/README
index b827780..e0c9faf 100644
--- a/README
+++ b/README
@@ -229,7 +229,7 @@ In the `external' case, the copy of the code is not kept in
`master` but in the
To add a new externals package, first add this `elpa.git' repository as a
new remote in your existing repository. Then push a local branch to a
-new remote branch in `elpa.git', named externals/<pkgname>. For example:
+new remote branch in `elpa.git', named `externals/<pkgname>`. For example:
git push elpa <mybranch>:externals/<pkgname>
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 17909b9..32f5285 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -1,6 +1,6 @@
;;; archive-contents.el --- Auto-generate an Emacs Lisp package archive. -*-
lexical-binding:t -*-
-;; Copyright (C) 2011-2018 Free Software Foundation, Inc
+;; Copyright (C) 2011-2019 Free Software Foundation, Inc
;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
@@ -626,14 +626,20 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(message "Running git pull in %S" default-directory)
(archive-call t "git" "pull"))
((file-exists-p ".git")
- (message "Updating worktree in %S" default-directory)
- (archive-call t "git" "merge"))
+ (unless (with-temp-buffer
+ (archive-call t "git" "status" "--branch" "--porcelain=2")
+ (goto-char (point-min))
+ ;; Nothing to pull (nor push, actually).
+ (search-forward "\n# branch.ab +0 -0" nil t))
+ (message "Updating worktree in %S" default-directory)
+ (archive-call t "git" "merge")))
(t (error "No .git in %S" default-directory)))
- (message "Updated %s:%s%s" dirname
- (if (and (eobp) (bolp)
- (eq (line-beginning-position 0) (point-min)))
- " " "\n")
- (buffer-string)))))
+ (unless (and (eobp) (bobp))
+ (message "Updated %s:%s%s" dirname
+ (if (and (eobp) (bolp)
+ (eq (line-beginning-position 0) (point-min)))
+ " " "\n")
+ (buffer-string))))))
;;; Maintain external packages.
- [elpa] elpa-admin 294407d 256/357: README: Fix copyright years., (continued)
- [elpa] elpa-admin 294407d 256/357: README: Fix copyright years., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 5250761 270/357: * admin/archive-contents.el: Use `git worktree` for externals, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 334aa51 273/357: Merge commit 'a1130df3ada34e76675324a8c25823b420b20239', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 5067b05 258/357: Change to package directory before checking .elpaignore exclusions., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 82a2bda 259/357: Put tar'd files at the end to fix build in some environments., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 7626ffa 254/357: Website footer improvement, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin dbd4e0b 295/357: Merge remote-tracking branch 'refs/remotes/origin/master', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 02d8431 297/357: * admin/archive-contents.el (archive--insert-repolinks): Fix further yet, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 38e81a8 300/357: * README: Recommend "externals" and add some recommendations, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin a216465 299/357: * admin/archive-contents.el (archive--insert-repolinks): Whoops, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 0e7eab5 304/357: Merge commit 'facd92f4c026525706a48b96b4e0b24543ce1d94',
Stefan Monnier <=
- [elpa] elpa-admin 75bab1c 309/357: * admin/archive-contents.el: Fix case of non-versions dependencies, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 86e31b7 313/357: Merge branch 'master' of git://bzr.sv.gnu.org/emacs/elpa, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 973ee9d 314/357: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 0b90b0a 322/357: * GNUmakefile (check_copyrights): Only look at "copyright" in comments, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 5da248f 325/357: * GNUmakefile (process-archive): Fix placement of --exclude and -X, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 14797ea 319/357: * admin/archive-contents.el: Adjust last change, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin b69dfb7 324/357: Merge commit '8dbcc8e07c462777378cc859eced622ec9b0fc4d', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 1b69bf6 340/357: * admin/archive-contents.el: Don't use "git log" when not needed, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 8ed7b88 354/357: Rename vars and functions with `elpaa-` prefix, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 7d65683 356/357: * admin/archive-contents.el: Fix wrong cgit links and support :core somewhat, Stefan Monnier, 2020/12/10