Skip to main content

forkyeah

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:

upstream:
  repo: https://github.com/ros-controls/ros_control.git
  ref: 0.13.0

fork:
  repo: git@gitlab.yourcompany.com:forks/ros_control.git
  branch: fork-latest
  tag: fork-%Y%m%d-%H%M%S
  apply:
  - patch: https://github.com/ros-controls/ros_control/pull/301.diff
    name: "Upstream PR 301: CompositeController template."
  - patch: https://github.com/ros-controls/ros_control/commit/a65fb8cc.diff
    name: "Revert a65fb8cc to resolve merge conflicts."
    reverse: True
  - patch: https://github.com/ros-controls/ros_control/pull/302.diff
    name: "Upstream PR 302: Variadic Controller template."
  - patch: http://gitlab.clearpathrobotics.com/snippets/72/raw
    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:

forkyeah

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. '

Release files for forkyeah 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for forkyeah 0.0.2
File Size Uploaded
forkyeah-0.0.2.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for forkyeah 0.0.2
File Interpreter ABI Platform
forkyeah-0.0.2-py2-none-any.whl Python 2 none any Details

Total release size: 8.0 kB

Release files / forkyeah-0.0.2.tar.gz

Download URL forkyeah-0.0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
092f483040f84f6e3f104898a1ed013e90787957b8e0c8547402642bd6479518
BLAKE2b-256 checksum
How to use checksums
e569774d1b91f46d0a5bd712ace30025f02495319f2dc8db2bfc906f22ea834f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / forkyeah-0.0.2-py2-none-any.whl

Download URL forkyeah-0.0.2-py2-none-any.whl
Size 4.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
4431cdfc06718be6273a680e59482b5676110bb5d5b0763af71386e1185cda15
BLAKE2b-256 checksum
How to use checksums
c1201cf0689d08f7b6dc687709c76e0e97c8ccf0d6c4010f44c05bb2de777016
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page