unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "jgart" <jgart@dismail.de>
To: guix-devel@gnu.org
Cc: "Arun Isaac" <arunisaac@systemreboot.net>
Subject: Mumi Feature Request: Easier way to apply patches from web interface
Date: Sun, 29 Jan 2023 16:51:53 +0000	[thread overview]
Message-ID: <f7ff0668f00a0929c3baec492ae8ed89@dismail.de> (raw)

Hi Guixers, 

This is a feature request for mumi.

What do you think if mumi had a feature that gives the user a generated command like this one (the following url is probably not correct) and shows it in the web interface for each patch series?

curl -s https://issues.guix.gnu.org/issue/61036/raw/1 | git am -3

The new user can then just copy paste the above command to apply the patch and review it. 

sr.ht's mailing list service implements the feature:

https://lists.sr.ht/~whereiseveryone/bangs/patches/38520

See on the right in the html where it says "How do I use this?":

https://lists.sr.ht/~whereiseveryone/toys/patches/38089

The code for that implementation is here:

https://git.sr.ht/~sircmpwn/lists.sr.ht/tree/master/item/listssrht/templates/patchset.html#L174

It looks like they are using their graphql API to get that information for the jinja template:

https://git.sr.ht/~sircmpwn/lists.sr.ht/tree/master/item/listssrht/blueprints/api/lists.py#L41


             reply	other threads:[~2023-01-29 16:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-29 16:51 jgart [this message]
2023-01-29 17:12 ` Mumi Feature Request: Easier way to apply patches from web interface jgart
2023-01-30  1:31   ` 宋文武
2023-01-31 23:38     ` Arun Isaac
2023-02-01  1:52       ` 宋文武
2023-01-30  1:37   ` jgart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ff0668f00a0929c3baec492ae8ed89@dismail.de \
    --to=jgart@dismail.de \
    --cc=arunisaac@systemreboot.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.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).