List for cgit developers and users
 help / color / mirror / Atom feed
From: Jason at zx2c4.com (Jason A. Donenfeld)
Subject: author/committer/tagger links -- kernel.org?
Date: Thu, 16 Jan 2014 02:22:45 +0100	[thread overview]
Message-ID: <CAHmME9p+qxyDw0fAgZb2EwfGJ+5WZ-c73DK9_nobJ+MHN5izLw@mail.gmail.com> (raw)

Hey Konstantin,

On Thu, Jan 9, 2014 at 4:21 PM, Konstantin Ryabitsev <mricon at kernel.org> wrote:
> That's pretty nifty. That reminds me -- I'm working on a web-of-trust
> site for kernel.org and something I wouldn't mind having is a way to
> link from cgit to the web of trust for that person. E.g. an email
> address for "torvalds at linux-foundation.org" on this page
> (http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc)
> would be wrapped in a link such as:
>
> <a href="https://blah.kernel.org/?user=torvalds%40linux-foundation.org">
> torvalds at linux-foundation.org</a>
>
> which will bring up a page similar to:
> https://www.kernel.org/doc/wot/torvalds.html

Not sure if you've been following along, but we've got the
email-filter patches merged along with the lua support, so this should
allow for some pretty neat scripts to do exactly what you want --
<http://git.zx2c4.com/cgit/tree/filters/email-gravatar.lua> as a
sample. Is this API sufficient for you? If you don't want to have the
web of trust links everywhere, you can use the "page" argument to
filter_open as a distinguishing factor. Please let me know if you need
anything else!

Jason


             reply	other threads:[~2014-01-16  1:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-16  1:22 Jason [this message]
2014-01-16  1:24 ` Jason
2014-01-16  3:28 ` owner links? (was: author/committer/tagger links -- kernel.org?) mackyle
2014-01-16 11:18   ` Jason
2014-01-16 13:46     ` mackyle
2014-01-16 22:02       ` Jason
2014-01-17  6:58         ` mackyle
2014-01-17 13:58           ` Jason

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

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

  git send-email \
    --in-reply-to=CAHmME9p+qxyDw0fAgZb2EwfGJ+5WZ-c73DK9_nobJ+MHN5izLw@mail.gmail.com \
    --to=cgit@lists.zx2c4.com \
    /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.
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 NNTP newsgroup(s).