Skip to content

Commit

Permalink
Add documentation for show-closed-prs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed May 17, 2017
1 parent d5a11d0 commit fe0a1d3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,26 @@ Only aggregate a specific repository using `fnmatch`_:
.. _fnmatch: https://docs.python.org/2/library/fnmatch.html

Show closed github pull requests
================================

gitaggregate has a mechanism to identify merges that correpond
to merged or closed Github pull requests.

Such merges are of the form `refs/pull/NNN/head` where NNN is
the pull request number, with a https://github.com or [email protected]
remote.

To work around API limitation, you must first generate a
`Github API token`_.

.. code-block:: bash
$ export GITHUB_TOKEN=...
$ gitaggregate -c repos.yaml show-closed-prs
.. _Github API token: https://github.com/settings/tokens

Changes
=======

Expand Down

0 comments on commit fe0a1d3

Please sign in to comment.