生成的patch无法被bspatch使用
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- c, javascript
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- C
- 星标
- 9
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
reactnativecn/node-bsdiff 的其他 Issue
-
Support patch? 未关闭
难度 5/5 一周以上 新手友好度 15/100
-
代码输出的patch文件无法合并 未关闭
难度 4/5 3-5 天 新手友好度 25/100
reactnativecn/node-bsdiff#7 · 1 条评论 ·
-
不兼容 node 8.x 版本? 未关闭
难度 4/5 3-5 天 新手友好度 25/100
reactnativecn/node-bsdiff#6 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 20/100
查看 reactnativecn/node-bsdiff 的全部 Issue
相似的 Issue
-
Status: Waiting triage Type: Bug
难度 2/5 1-3 小时 新手友好度 84/100
nanoframework/Home#1857 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 92/100
libsdl-org/SDL#16372 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
corazawaf/coraza-nginx#140 ·
-
难度 2/5 1-3 小时 新手友好度 78/100