Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.
/ poPR Public archive

Find potential Pull Requests. My first attempt at a Python package. Better use or another of:

License

Notifications You must be signed in to change notification settings

katrinleinweber/poPR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poPR: Find potential Pull Requests

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Code style: black CodeScene Code Health Quality Gate Status FOSSA Status

I believe it is worthwhile trying to discover more about the [octoverse], even if this only teaches us how little we [have merged].

-- liberally quoted from: Karl Popper's Conjectures and Refutations: The Growth of Scientific Knowledge (1963)

This tool helps maintainers observe all forks of a given repository. It finds branches that could be sent upstream by their authors, but weren't (for whatever reason). Thus, poPR helps to review forked code, in order to merge or cherry-pick it.

Install & use

git clone https://github.com/katrinleinweber/poPR
cd poPR 
python3 main.py --origin=namespace/repo

The script will find all branches in all forks and prompt you to open GitHub's own comparison page to review the changes with the option to start a PR. This approach aims to keep code complexity and the number of API requests low.

To analyse repositories with many forks faster, create a Personal Access Token with at least the public_repo scope and and pass it with the --PAT= option. However, this should only rarely be necessary, because unlike other tools, poPR waits at each potential PR for your review. Thus, it won't burn its GitHub API allowance as quickly as other tools.

License

FOSSA Status

About

Find potential Pull Requests. My first attempt at a Python package. Better use or another of:

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages