[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa-admin d47f83f 373/439: * elpa-admin.el (elpaa--fetch): Use
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa-admin d47f83f 373/439: * elpa-admin.el (elpaa--fetch): Use the default branch rather than "master" |
Date: |
Sun, 17 Oct 2021 15:48:39 -0400 (EDT) |
branch: elpa-admin
commit d47f83fc3a66ab03dc36b590622dea9b94c7cb2b
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* elpa-admin.el (elpaa--fetch): Use the default branch rather than "master"
---
README | 8 ++++----
elpa-admin.el | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README b/README
index cb295c5..3bb95b9 100644
--- a/README
+++ b/README
@@ -59,7 +59,7 @@ It can be a single file name or a list of file names.
** =:branch BRANCH=
Specifies the branch to follow in the upstream Git repository, in case
-it should be different from =master=.
+it should be different from the default branch.
** =:main-file FILE=
Gives the name of the main file of the package, i.e. the file in which
@@ -277,11 +277,11 @@ The instructions below are for those maintainers who
prefer to use a dedicated
repository or branch for the package or for largish packages.
In any case, a copy of the code is kept in the =elpa.git= repository
-(not in the =master= branch) and should be sync'd with the
+(not in the default branch) and should be sync'd with the
upstream every once in a while. This copy may include local changes,
although these should be kept to a minimum.
-The copy of the code is not kept in =master= but in the
+The copy of the code is not kept in the default branch but in the
=elpa/<pkg-name>= branch in the =elpa.git= repository.
To add a new external package, first add this =elpa.git= repository as a
@@ -309,7 +309,7 @@ Then edit the =elpa-packages= file as mentioned above, add
the line
("realgud-ipdb" :url "https://github.com/realgud/realgud-ipdb")
#+end_src
-and push that change to the master branch of =elpa=. After it's added to
+and push that change to the default branch of =elpa=. After it's added to
the =elpa-packages= file, the package can be maintained just by
pushing changes to the =elpa/<pkgname>= branch.
diff --git a/elpa-admin.el b/elpa-admin.el
index db6c3d9..a88273c 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -1460,8 +1460,8 @@ More at " (elpaa--default-url pkgname))
(branch (elpaa--branch pkg-spec))
(release-branch (elpaa--spec-get pkg-spec :release-branch))
(urtb (elpaa--urtb pkg-spec))
- ;; FIXME: Don't hardcode "master" here.
- (refspec (format "+refs/heads/%s:%s" (or branch "master") urtb))
+ (refspec (if branch (format "+refs/heads/%s:%s" branch urtb)
+ (format "+HEAD:%s" urtb)))
(release-refspec (if release-branch
(format "+refs/heads/%s:%s"
release-branch
- [nongnu] elpa-admin 2ce3401 333/439: * README: Don't recommend to keep code on `master` any more, (continued)
- [nongnu] elpa-admin 2ce3401 333/439: * README: Don't recommend to keep code on `master` any more, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d30f5d1 337/439: * GNUmakefile (RULE-singlepkg): New rule(s) to compile single-pkg (bug#38140), Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin e48de90 332/439: * README: Fix typos., Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin f6670e0 334/439: * .gitignore: Ignore all the unregistered files under `packages`, Philip Kaludercic, 2021/10/17
- [nongnu] elpa-admin d5c6272 339/439: * admin/archive-contents.el: foo.tar.sig is not an old tarball, Philip Kaludercic, 2021/10/17
- [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 <=
- [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, 2021/10/17
- [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