This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Automate OpenZFS patch porting #50
Comments
@gmelikov you might be interested in this |
Thanks, i thought about that scenario too. I'll try to make a script for it. |
@dinatale2 thanks for initial method! |
Most of my last PRs are made by script, but unfourtunately these are all that can be merged automatically for now. One major problem - new files merge with OpenZFS file structure, example - gmelikov/zfs@df3e48b I'll beautify the script and make a PR later. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We recently discovered that it is possible to cherry-pick patches directly from the OpenZFS tree. Git will automatically attempt to find the right file to apply a hunk to if it is given enough time to process a change.
To allow git the time to search, you need the following in your git config
Now, in order to cherry-pick, clone your fork of zfs and add both zfsonlinux/zfs and openzfs/openzfs as remotes. Perform a
git fetch --all
. Now you can perform agit cherry-pick <OpenZFS commit>
to port patches to ZoL.It would be nice to have a script that would attempt to perform the above process automatically given an OpenZFS commit.
The text was updated successfully, but these errors were encountered: