all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59914: [GNU ELPA] Make use-package and bind-key into :core packages
@ 2022-12-09  0:11 Stefan Kangas
  2022-12-09 14:56 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2022-12-09  0:11 UTC (permalink / raw)
  To: 59914; +Cc: Stefan Monnier, John Wiegley

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

Severity: wishlist

The first patch (for elpa.git) below makes `use-package' and `bind-key'
into :core packages.  This is the first step towards retiring the old
use-package GitHub repository.[1]

The second patch makes use-package-ensure-system package into its own
separate :core package, just as it has been on MELPA.[2]  This would
facilitate users' transition, and also by installing it they will get
the necessary `system-packages' package installed as a dependency.

Stefan, does this look okay and make sense to you?  Is pushing this all
that is needed, or do we need some manual intervention in addition?

[-- Attachment #2: Type: text/plain, Size: 117 bytes --]


Footnotes:
[1]  https://github.com/jwiegley/use-package

[2]  https://melpa.org/#/use-package-ensure-system-package

[-- Attachment #3: 0001-elpa-packages-bind-key-use-package-Make-into-core-pa.patch --]
[-- Type: text/x-diff, Size: 1869 bytes --]

From b1d9a5e3bb0d0e5cddc779e8783026ad92e988c1 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Fri, 9 Dec 2022 00:59:56 +0100
Subject: [PATCH 1/2] * elpa-packages (bind-key, use-package): Make into :core
 packages.

---
 elpa-packages | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/elpa-packages b/elpa-packages
index f6c180bb2d..8b6128eaab 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -86,11 +86,7 @@
   :auto-sync nil)
  ("beacon"		:url "https://github.com/Malabarba/beacon"
   :auto-sync t)
- ("bind-key"         :url "https://github.com/jwiegley/use-package"
-  :ignored-files ("LICENSE" "doc" "Makefile*" "bind-chords.el" "use-package*"
-                  "README.md" "NEWS.md") ;; These two are for use-package.
-  :news "/dev/null"           ;l Don't use use-package' s `NEWS.md`.
-  :auto-sync t)
+ ("bind-key"            :core "lisp/use-package/bind-key.el")
  ("blist"		:url "https://gitlab.com/mmemmew/blist"
   :doc "blist.texinfo"
   :readme "README.org"
@@ -755,12 +751,15 @@
   :readme "README.md")
  ("uniquify-files"	:url nil)
  ("url-http-ntlm" 	:url nil)
- ("use-package"		:url "https://github.com/jwiegley/use-package"
-  :ignored-files ("LICENSE" "bind-*" "use-package-chords.el")
-  :readme "README.md"
-  :doc "use-package.texi"
-  :news "NEWS.md"
-  :auto-sync t)
+ ("use-package"
+  :core ("lisp/use-package/use-package-core.el"
+         "lisp/use-package/use-package-delight.el"
+         "lisp/use-package/use-package-diminish.el"
+         "lisp/use-package/use-package-ensure.el"
+         "lisp/use-package/use-package-jump.el"
+         "lisp/use-package/use-package-lint.el"
+         "lisp/use-package/use-package.el")
+  :doc "use-package.texi")
  ("url-scgi"		:url "https://github.com/skangas/url-scgi"
   :readme "README.org"
   :auto-sync t)
-- 
2.35.1


[-- Attachment #4: 0002-elpa-packages-use-package-ensure-system-package-New-.patch --]
[-- Type: text/x-diff, Size: 781 bytes --]

From 84da1ebe76571b80c558da0df2dd985093325a2d Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Fri, 9 Dec 2022 01:00:43 +0100
Subject: [PATCH 2/2] * elpa-packages (use-package-ensure-system-package): New
 package.

---
 elpa-packages | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elpa-packages b/elpa-packages
index 8b6128eaab..a4a28bd67e 100644
--- a/elpa-packages
+++ b/elpa-packages
@@ -760,6 +760,8 @@
          "lisp/use-package/use-package-lint.el"
          "lisp/use-package/use-package.el")
   :doc "use-package.texi")
+ ("use-package-ensure-system-package"
+  :core ("lisp/use-package/use-package-ensure-system-package.el"))
  ("url-scgi"		:url "https://github.com/skangas/url-scgi"
   :readme "README.org"
   :auto-sync t)
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-13  1:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09  0:11 bug#59914: [GNU ELPA] Make use-package and bind-key into :core packages Stefan Kangas
2022-12-09 14:56 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-12  2:37   ` Stefan Kangas
2022-12-12 14:56     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-13  1:03       ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.