Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

forkyeah is a small tool for managing patches on an upstream git repo.

Project description


The purpose of this project is to facilitate the management of forks of upstream repositories, where the fork is basically a tag or hash from upstream with a one or more patches applied to it. These patches may be stored locally, or fetched over the network for example using the diff link which GitHub supplies for each PR, or from a gist.

The configuration file is fork.yaml and looks like the following:

  ref: 0.13.0

  branch: fork-latest
  tag: fork-%Y%m%d-%H%M%S
  - patch:
    name: "Upstream PR 301: CompositeController template."
  - patch:
    name: "Revert a65fb8cc to resolve merge conflicts."
    reverse: True
  - patch:
    name: "Upstream PR 302: Variadic Controller template."
  - patch:
    name: "Un-deprecate MultiInterfaceController."

The intention is that this fork.yaml config file is stored in an orphan branch of the fork repo, and that that orphan branch is the default, so that when you want to update it you simply make and commit changes (add, remove, reorder patches, or change the version used as the starting point) and then rerun:


The tool will handle checking out the given baseline, switching to the fork-latest branch, applying the patches, creating a new tag according to the template, and pushing everything to the defined fork repo. '

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for forkyeah, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size forkyeah-0.0.2-py2-none-any.whl (4.5 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size forkyeah-0.0.2.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page