[github-thread] find and open corresponding github page for thread or message

classic Classic list List threaded Threaded
1 message Options
Gaute Hope Gaute Hope
Reply | Threaded
Open this post in threaded view
|

[github-thread] find and open corresponding github page for thread or message

Hi,

this small script finds and opens the corresponding GitHub issue,
comment, or pull-request.

  https://gist.github.com/gauteh/de546cb143ebae4a489a482a05ab4beb

  $ ./github-thread.py notmuch-thread-id [message-id]

the first argument is always required. If a message id is specified, it
first tries to scroll to that specific message.

Note: This will work more reliably on newer issues since they contain a
nice JSON packet.

Requires:

  * Python >= 3.3
  * Notmuch Python bindings


Regards, Gaute


_______________________________________________
notmuch mailing list
[hidden email]
https://notmuchmail.org/mailman/listinfo/notmuch

attachment0 (849 bytes) Download Attachment