[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa-admin bffc4a6 090/357: Don't create local branches
From: |
Stefan Monnier |
Subject: |
[elpa] elpa-admin bffc4a6 090/357: Don't create local branches |
Date: |
Thu, 10 Dec 2020 18:06:21 -0500 (EST) |
branch: elpa-admin
commit bffc4a6da7393b47dbb66d04bd3c91c642cba06c
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
Don't create local branches
---
admin/archive-contents.el | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 863b13e..aaedd9b 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -471,6 +471,8 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
;;; Maintain external packages.
+(defconst archive--elpa-git-url "git+ssh://git.sv.gnu.org/srv/git/emacs/elpa")
+
(defun archive-add/remove/update-externals ()
(let ((exts (with-current-buffer (find-file-noselect "externals-list")
(goto-char (point-min))
@@ -502,17 +504,9 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(output
(with-temp-buffer
;; FIXME: Use git-new-workdir!
- (call-process "git" nil t nil "branch" "--track"
- branch (concat "origin/" branch))
(call-process "git" nil t nil "clone"
- "--shared" "--branch" branch "../" dir)
- (let ((default-directory (file-name-as-directory
- (expand-file-name dir))))
- ;; (call-process "git" nil t nil "branch"
- ;; "-m" branch "master")
- (call-process "git" nil t nil "remote"
- "set-url" "--push" "origin"
-
"git+ssh://git.sv.gnu.org/srv/git/emacs/elpa.git"))
+ "--reference" ".." "--branch" branch
+ archive--elpa-git-url dir)
(buffer-string))))
(message "Cloning branch %s:\n%s" dir output)))
((not (file-directory-p (concat dir "/.git")))
- [elpa] elpa-admin 285d815 049/357: Fix last change., (continued)
- [elpa] elpa-admin 285d815 049/357: Fix last change., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 303f2c9 075/357: * admin/archive-contents.el (batch-make-site-package): New function., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin dfa5808 053/357: Rework archive-contents.el to handle new packages/ structure., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 6c94727 068/357: archive-contents.el (archive--simple-package-p): Fix prop-line matching., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin da7456c 065/357: write README in markdown, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 49fce77 070/357: Rename README to README.rst, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin cbd75c6 082/357: README.md, load-relative.el: Go over documentation. Makefile.am: add targets test and test-short, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin c497b5b 083/357: * GNUmakefile: Rename from Makefile. Add targets for in-place use., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 42c5112 084/357: * GNUmakefile (%.elc): Don't depend on $(autoloads) since that causes, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 480283a 089/357: Move check_copyright to the makefile, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin bffc4a6 090/357: Don't create local branches,
Stefan Monnier <=
- [elpa] elpa-admin 2ebff0e 093/357: Use README.{rst,md,org}; Auto-generate foo-pkg.el., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 55c3f5d 100/357: Add YAsnippet metadata., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 21e1b0e 101/357: Sync with yasnippet/master, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 4f4a301 104/357: * GNUmakefile: Obey a .elpaignore file in a package's root directory., Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 0ed260a 107/357: add :keywords to extra package properties, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 52e4af0 105/357: Add new element to the archive-contents vector, and put, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 9f93862 109/357: seems to be generally usable, added a README, Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 8d5c048 169/357: Merge commit 'c876c3c62f03d7e945b049932a55496b3cdfe05d', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 134842c 174/357: Merge commit '0e1d1440e4819d76cc68b213431722884af66e89', Stefan Monnier, 2020/12/10
- [elpa] elpa-admin 401790d 168/357: Add 'packages/load-relative/' from commit '064074d7dcc8d26d59ab9ceb099b43e6870c58d1', Stefan Monnier, 2020/12/10