I thought I'd just share some piece of code that I wrote, and that's
helping me coping with the pull requests we receive on the github
magit repository.
This basically a simple extension that adds a new section "Pull
requests" to the magit-status buffer, allowing to fetch and manipulate
commits associated with the request (since they are real commit objects,
you can do pretty much whatever you want with them).
This allows reviewing the code with a good level of flexibility, and
with a reasonable level of automation (fare more reasonable than the
evil "Merge pull request" button in the github UI anyway :)).
code is here: https://github.com/sigma/magit-gh-pulls
Note that it depends on another one of my libraries:
https://github.com/sigma/magit-gh-pulls (a wannabe generic client
library for GitHub API) which itself also depends on
https://github.com/sigma/pcache
Yeah, I know... anyway, all this should be available on marmalade, so it
should all be a M-x package-install magit-gh-pulls away.
This extension and its dependencies are still in very early stages of
development, so expect a few bugs here and there.
Hope this can be useful anyway.
Yann.
--
Too much knowledge never makes for simple decisions.
-- CROWN PRINCE RAPHAEL CORRINO, Discourses on Leadership
> Note that it depends on another one of my libraries:
> https://github.com/sigma/magit-gh-pulls (a wannabe generic client
> library for GitHub API)
Ooops, should be https://github.com/sigma/gh.el
Thanks Eli for noticing :)
Yann.
--
Like many culinary delicacies, revenge is a dish best savored slowly,
after long and delicate preparation.
-- EMPEROR ELROOD IX, Deathbed Insights
> Hey,
>
> I thought I'd just share some piece of code that I wrote, and that's
> helping me coping with the pull requests we receive on the github
> magit repository.
>
> This basically a simple extension that adds a new section "Pull
> requests" to the magit-status buffer, allowing to fetch and manipulate
> commits associated with the request (since they are real commit objects,
> you can do pretty much whatever you want with them).
>
> This allows reviewing the code with a good level of flexibility, and
> with a reasonable level of automation (fare more reasonable than the
> evil "Merge pull request" button in the github UI anyway :)).
>
It realy look cool. I will look at it, soon.
--
Rémi Vanicat