emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] elpa-admin 3417ff2deb: Stop recommending `git:` access


From: Stefan Monnier
Subject: [elpa] elpa-admin 3417ff2deb: Stop recommending `git:` access
Date: Wed, 21 Dec 2022 00:41:41 -0500 (EST)

branch: elpa-admin
commit 3417ff2debca6c4cada80f3d5c41f35f623454c5
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    Stop recommending `git:` access
    
    This recommendation was made because the `https:` URL ended up using
    the "dumb HTTP" which was much slower.  This seems to be fixed now.
    
    * elpa-admin.el (elpaa--check-sync-failures)
    (elpaa--report-build-failure, elpaa--publish-package-spec):
    * README (Getting the source): Prefer `https:` over `git:`.
---
 README        | 2 +-
 elpa-admin.el | 9 +++------
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/README b/README
index 2dd6e54277..fa3a15db96 100644
--- a/README
+++ b/README
@@ -28,7 +28,7 @@ a large amount of irrelevant data.  More specifically, here 
is how you
 can get the source and setup the general infrastructure:
 
 #+begin_src shell
-  git clone --single-branch git://git.savannah.gnu.org/emacs/elpa.git
+  git clone --single-branch https://git.sv.gnu.org/git/emacs/elpa.git
   cd elpa
   make
 #+end_src
diff --git a/elpa-admin.el b/elpa-admin.el
index 6f8fadbc1b..3ff93d71d2 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -683,7 +683,7 @@ The archive will not be able to track your code until you 
resolve this
 problem by (re)merging the code that's already in %S.  You can do that
 with the following commands:
 
-    git fetch git://git.sv.gnu.org/%s %s%s
+    git fetch https://git.sv.gnu.org/git/%s %s%s
     git merge FETCH_HEAD
 
 Of course, feel free to undo the changes it may introduce in the file
@@ -713,7 +713,7 @@ You can consult the latest error output in the file
 
 You can also try and reproduce the error locally as follows:
 
-    git clone --single-branch git://git.sv.gnu.org/%s
+    git clone --single-branch https://git.sv.gnu.org/git/%s
     cd %s
     make %s           # Setup the infrastructure
     make packages/%s  # Create a worktree of the package
@@ -994,10 +994,7 @@ SPECS is the list of package specifications."
         (`(,name :url ,url . ,rest)
          (if (stringp name) (setq name (intern name)))
          (unless url
-           ;; Use the `git:' URL rather than the `https:' URL
-           ;; because it's a lot faster on this repository when
-           ;; cloning a single branch.
-           (setq url (concat "git://git.sv.gnu.org/"
+           (setq url (concat "https://git.sv.gnu.org/git/";
                              elpaa--gitrepo))
            (setq rest
                  (plist-put rest :branch



reply via email to

[Prev in Thread] Current Thread [Next in Thread]