Metadata-Version: 2.1
Name: githubpullrequests
Version: 0.1.0
Summary: Create Pull Requests, using GitHub API and a list of repositories
Home-page: https://github.com/evandrocoan/githubpullrequests
Author: Evandro Coan
License: GPLv3
Description: # Create Pull Requests
        
        Create pull requests programmatically using the GitHub API.
        
        
        ### Usage
        
        ```
        $ githubpullrequests -h
        usage: githubpullrequests [-h] [-f FILE] [-t TOKEN] [-mr MAXIMUM_REPOSITORIES]
                                  [-c] [-s]
        
        Create Pull Requests, using GitHub API and a list of repositories
        
        optional arguments:
          -h, --help            show this help message and exit
          -f FILE, --file FILE  The file with the repositories informations
          -t TOKEN, --token TOKEN
                                GitHub token with `public_repos` access, or the path
                                to a file with the Github token in plain text. The
                                only contents the file can have is the token,
                                optionally with a tralling new line.
          -mr MAXIMUM_REPOSITORIES, --maximum-repositories MAXIMUM_REPOSITORIES
                                The maximum count of repositories/requests to process
                                per file.
          -c, --cancel-operation
                                If there is some batch operation running, cancel it as
                                soons as possible.
          -s, --synced-repositories
                                Reports which repositories not Synchronized with Pull
                                Requests. This also resets/skips any last session
                                saved due old throw/raised exceptions, because to
                                compute correctly the repositories list, it is
                                required to know all available repositories.
        ```
        
        For example:
        ```
        $ githubpullrequests -f repositories_list.txt
        ```
        
        Example of `repositories_list.txt`:
        ```config
        [Anything Unique like evandrocoan/SublimePackageDefault]
            url = https://github.com/evandrocoan/SublimePackageDefault
            upstream = https://github.com/evandroforks/SublimePackageDefault
            branches = upstream_branch_name->fork_branch_name,
        ```
        
        You need to define the environment variable `GITHUBPULLREQUESTS_TOKEN` with the GitHub access token with `public_repos` permission,
        or pass the command line argument `-t token` to `githubpullrequests`.
        
        1. https://stackoverflow.com/questions/47467039/how-to-create-github-pull-request-using-curl
        1. https://stackoverflow.com/questions/28391901/using-the-github-api-create-git-pull-request-without-checking-out-the-code
        
        
        # License
        
        See the file [LICENSE.txt](LICENSE.txt)
        
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
