生成的patch无法被bspatch使用
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- c, javascript
Research direction
Start with the JavaScript patch-generation snippet and the shown bspatch command, then reproduce the failure using the referenced input and output files. Trace whether the generated patch matches the format expected by bspatch; done means a patch produced by the package is accepted and applies successfully with the command-line tool.
Written by the indexing model from the issue text.
Description
const fs = require("fs-extra-async");
// bsdiff 生成补丁
var diffBuf = bsdiff.diff(originBuf, zipBuffer);
fs.outputFileAsync("dist/" + oldzip + ".patch", diffBuf)
cdyf@QIL:/mnt/e/work/static_hybrid$ bspatch dist/all_1.3.3.zip new.zip dist/all_1.3.3.zip.patch
bspatch: Corrupt patch
- Dominant language
- C
- Stars
- 9
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from reactnativecn/node-bsdiff
-
Support patch? Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
代码输出的patch文件无法合并 Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
reactnativecn/node-bsdiff#7 · 1 comment ·
-
不兼容 node 8.x 版本? Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
reactnativecn/node-bsdiff#6 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
All issues in reactnativecn/node-bsdiff
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
libsdl-org/SDL#16360 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
api7/lua-resty-saml#63 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100