生成的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
-
bug
難度 1/5 1 小時以內 新手友好度 60/100
-
Nmap
難度 1/5 1 小時以內 新手友好度 85/100
-
難度 2/5 1-3 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 65/100
-
flang:fir-hlfir
難度 2/5 1-3 小時 新手友好度 70/100
llvm/llvm-project#225935 ·