Skip to content

jb55/notmuch-github

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

notmuch-github

A bunch of helpers for working with notmuch and GitHub

Tagging

Here are some ways to tag github pull request emails

notmuch tag +github from:github.com and tag:inbox

notmuch tag +pr '"You can view, comment on, or merge this pull request online at"' and tag:github and not tag:pr and tag:inbox and not tag:issue

# tag all messages in the thread that have a pr tag
notmuch tag +pr $(notmuch search --output=threads tag:pr and tag:inbox)

# this seems to be a semi reliable way to find github merge emails
notmuch tag +merged Merged and event from:notifications@github.com and not tag:merged and tag:inbox and tag:pr

# tag the entire pr thread as merged
notmuch tag +merged $(notmuch search --output=threads tag:merged and tag:inbox)

notmuch-visit-pr-in-magit

View PR commits in magit from a GitHub pull request email. Requires a somewhat special setup that could be more customizable

Crud

  • "origin" is hard-coded

  • Assumes that you've added

      fetch = +refs/pull/*/head:refs/pull/origin/*
      fetch = +refs/pull/*/merge:refs/merge/origin/*
    

to origin's in ".git/config". We could drop that assumption passing a more explicit refspec to the fetch call.

notmuch-review-pr

approve/reject/comment on a PR when viewing a GitHub PR email

Crud

  • Relys on this cruddy script that needs to be replaced with elisp

About

GitHub hacks and helpers for notmuch-mode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published