从Fedora分发的git中应用补丁到不同的组件。
项目描述
ferrypicker
从Fedora分发的git中应用补丁到不同的组件。
这个简单的工具执行3个步骤
- 从src.fedoraproject.org下载补丁文件
- 将包名替换为当前dist-git工作目录的包名
- 在产品上运行
git am --reject
使用方法
[python36 (f32 %)]$ git switch -c f32-backport
Switched to a new branch 'f32-backport'
[python36 (f32-backport %)]$ ferrypick https://src.fedoraproject.org/rpms/python3.6/pull-request/2
Downloading https://src.fedoraproject.org/rpms/python3.6/pull-request/2.patch
$ git am --reject /tmp/tmp7pa062j6.patch
Applying: Fix python3-config --configdir
Checking patch 00102-lib64.patch...
.git/rebase-apply/patch:26: new blank line at EOF.
+
Checking patch 00205-make-libpl-respect-lib64.patch...
Checking patch python36.spec...
error: while searching for:
#global prerel ...
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 4%{?dist}
License: Python
error: patch failed: python36.spec:17
error: while searching for:
# ======================================================
%changelog
* Wed May 06 2020 Miro Hrončok <mhroncok@redhat.com> - 3.6.10-4
- Rename from python36 to python3.6
error: patch failed: python36.spec:1535
Applied patch 00102-lib64.patch cleanly.
Applied patch 00205-make-libpl-respect-lib64.patch cleanly.
Applying patch python36.spec with 2 rejects...
Rejected hunk #1.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Rejected hunk #4.
Patch failed at 0001 Fix python3-config --configdir
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
享受。
项目详细信息
下载文件
下载适用于您的平台的文件。如果您不确定要选择哪个,请了解更多关于安装包的信息。
源代码分发
此发布没有可用的源代码分发文件。请参阅生成分发存档的教程。
构建分发
ferrypick-0.1.dev2-py3-none-any.whl (6.5 kB 查看哈希值)
关闭
ferrypick-0.1.dev2-py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 556d9e35f3f1d7a7423c16279103682cbda4718a5511fc49fe30461a4dda511d |
|
MD5 | 0dc163afc1d70e57fdf0478f36a29330 |
|
BLAKE2b-256 | 3b8e0e53f96b280dbc50d098c0708553f07e86818196372031778234a746adf6 |