* New ELPA package: transient-cycles
@ 2022-04-09 0:25 Sean Whitton
2022-04-09 2:55 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Sean Whitton @ 2022-04-09 0:25 UTC (permalink / raw)
To: emacs-devel; +Cc: Protesilaos Stavrou
Hello,
I would like to add my package transient-cycles to GNU ELPA:
<https://git.spwhitton.name/dotfiles/tree/.emacs.d/site-lisp/transient-cycles.el>.
The package does not have a git repository of its own. For several
reasons I would prefer to keep it that way, and manually sync new
versions to elpa.git. So I believe what I need to do to elpa.git is add
the line
("transient-cycles" :url nil)
to elpa-packages, and push a new branch externals/transient-cycles
containing the single file transient-cycles.el. And then the scripts
should be able to extract the commentary and changelog. Is that right?
Here is the beginning of the package description:
> Many commands can be conceptualised as selecting an item from an
> ordered list or ring. Sometimes after running such a command, you
> find that the item selected is not the one you would have preferred,
> but the preferred item is nearby in the list. If the command has been
> augmented with transient cycling, then it finishes by setting a
> transient map with keys to move backwards and forwards in the list of
> items, so you can select a nearby item instead of the one the command
> selected. From the point of view of commands subsequent to the
> deactivation of the transient map, it is as though the first command
> actually selected the nearby item, not the one it really selected.
--
Sean Whitton
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New ELPA package: transient-cycles
2022-04-09 0:25 New ELPA package: transient-cycles Sean Whitton
@ 2022-04-09 2:55 ` Stefan Monnier
2022-04-09 17:41 ` Sean Whitton
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2022-04-09 2:55 UTC (permalink / raw)
To: Sean Whitton; +Cc: emacs-devel, Protesilaos Stavrou
> The package does not have a git repository of its own. For several
> reasons I would prefer to keep it that way, and manually sync new
> versions to elpa.git. So I believe what I need to do to elpa.git is add
> the line
>
> ("transient-cycles" :url nil)
Yes, that basically means that `elpa.git` is the upstream repository.
This is perfectly fine and that's what I do for "my" packages (like
`nadvice.el`, `sml-mode.el`, ...).
> to elpa-packages, and push a new branch externals/transient-cycles
> containing the single file transient-cycles.el. And then the scripts
> should be able to extract the commentary and changelog. Is that right?
Yup.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: New ELPA package: transient-cycles
2022-04-09 2:55 ` Stefan Monnier
@ 2022-04-09 17:41 ` Sean Whitton
2022-04-09 22:45 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Sean Whitton @ 2022-04-09 17:41 UTC (permalink / raw)
To: Stefan Monnier; +Cc: Protesilaos Stavrou, emacs-devel
[-- Attachment #1: Type: text/plain, Size: 948 bytes --]
Hello,
On Fri 08 Apr 2022 at 10:55pm -04, Stefan Monnier wrote:
>> The package does not have a git repository of its own. For several
>> reasons I would prefer to keep it that way, and manually sync new
>> versions to elpa.git. So I believe what I need to do to elpa.git is add
>> the line
>>
>> ("transient-cycles" :url nil)
>
> Yes, that basically means that `elpa.git` is the upstream repository.
> This is perfectly fine and that's what I do for "my" packages (like
> `nadvice.el`, `sml-mode.el`, ...).
>
>> to elpa-packages, and push a new branch externals/transient-cycles
>> containing the single file transient-cycles.el. And then the scripts
>> should be able to extract the commentary and changelog. Is that right?
>
> Yup.
Thanks. I wanted to test the docs extraction and found after some
digging that 'make build/transient-cycles' was what I wanted. What do
you think to the attached patch to README?
--
Sean Whitton
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-README-build-PKGNAME-can-be-used-to-test-docs-extrac.patch --]
[-- Type: text/x-diff, Size: 1022 bytes --]
From fa6d8df7173f11fe1a2bf9492866839b172e5f6b Mon Sep 17 00:00:00 2001
From: Sean Whitton <spwhitton@spwhitton.name>
Date: Sat, 9 Apr 2022 10:38:45 -0700
Subject: [PATCH] * README: build/[PKGNAME] can be used to test docs extraction
---
README | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/README b/README
index cb437651fc..b60312d495 100644
--- a/README
+++ b/README
@@ -247,8 +247,11 @@ Else, it generates the auxiliary files like =[PKGNAME]-pkg.el= and
Build that tarball from the commit currently in =packages/[PKGNAME]=
** =build/[PKGNAME]=
-Build the ELPA tarball(s) for PKGNAME. The result is placed in
-the =archive= and =archive-devel= subdirectories.
+Build the ELPA tarball(s) and other files like PKGNAME.html and
+PKGNAME.svg for PKGNAME. The result is placed in the =archive= and
+=archive-devel= subdirectories.
+
+This can be used to test commentary and changelog extraction.
** =build-all=
Same as before but does it for all the packages listed in the
--
2.30.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: New ELPA package: transient-cycles
2022-04-09 17:41 ` Sean Whitton
@ 2022-04-09 22:45 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2022-04-09 22:45 UTC (permalink / raw)
To: Sean Whitton; +Cc: emacs-devel, Protesilaos Stavrou
> Thanks. I wanted to test the docs extraction and found after some
> digging that 'make build/transient-cycles' was what I wanted. What do
> you think to the attached patch to README?
Looks good to me, but please adjust the admin/README as well
(we should get rid of this duplication, but the "home" of this part is
really admin/README since elpa/README should focus on the part specific
to GNU ELPA (as opposed to NonGNU ELPA, for example)).
Stefan
> From fa6d8df7173f11fe1a2bf9492866839b172e5f6b Mon Sep 17 00:00:00 2001
> From: Sean Whitton <spwhitton@spwhitton.name>
> Date: Sat, 9 Apr 2022 10:38:45 -0700
> Subject: [PATCH] * README: build/[PKGNAME] can be used to test docs extraction
>
> ---
> README | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/README b/README
> index cb437651fc..b60312d495 100644
> --- a/README
> +++ b/README
> @@ -247,8 +247,11 @@ Else, it generates the auxiliary files like =[PKGNAME]-pkg.el= and
> Build that tarball from the commit currently in =packages/[PKGNAME]=
>
> ** =build/[PKGNAME]=
> -Build the ELPA tarball(s) for PKGNAME. The result is placed in
> -the =archive= and =archive-devel= subdirectories.
> +Build the ELPA tarball(s) and other files like PKGNAME.html and
> +PKGNAME.svg for PKGNAME. The result is placed in the =archive= and
> +=archive-devel= subdirectories.
> +
> +This can be used to test commentary and changelog extraction.
>
> ** =build-all=
> Same as before but does it for all the packages listed in the
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-09 22:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-09 0:25 New ELPA package: transient-cycles Sean Whitton
2022-04-09 2:55 ` Stefan Monnier
2022-04-09 17:41 ` Sean Whitton
2022-04-09 22:45 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).