NAME
Gentoo::App::Pram - Library to fetch a GitHub Pull Request as an am-like patch.
DESCRIPTION
The purpose of this module is to fetch Pull Requests from GitHub's CDN as am-like patches in order to facilitate the merging and closing of Pull Requests.
FUNCTIONS
fetch_patch($patch_url)
Fetch patch from $patch_url. Return patch as a string.
add_closes_header($close_url, $patch)
Add a "Closes:" header to each commit in $patch using $close_url. If the patch already contains such headers, skip this step.
apply_patch($editor, $git_command, $patch)
Apply $patch onto HEAD of the current git repository using $git_command. This functions also shows $patch in $editor for a final review.
VERSION
version 0.001
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Patrice Clement.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
AUTHOR
Patrice Clement <monsieurp@gentoo.org>
Kent Fredric <kentfredric@gmail.com> also contributed a great deal of patches.