`mergin push` prints "Done" and exits 0 when changes remain beyond MAX_UPLOAD_CHANGES
還沒有人認領這個 Issue。
評估
研究方向
Start with push() in cli.py and the LocalProjectChanges truncation to MAX_UPLOAD_CHANGES, then compare with how sync loops until no changes remain. Reproduce by adding 150 files and checking that status still lists changes after push. The issue leaves open whether push should loop like sync or report the remaining count and exit non-zero, so settle that with the maintainers before coding.
由索引模型根據 Issue 內容生成。
描述
With more than 100 local changes, mergin push uploads one batch, prints Done and exits 0. LocalProjectChanges truncates the batch to MAX_UPLOAD_CHANGES, taking additions first. The changes left over show up only in a later mergin status.
Seen in 0.14.2. push() in cli.py and the limit are unchanged in 0.15.0.
To reproduce
- Add 150 files to a project.
- Run
mergin push. It printsDone. - Run
mergin status. It still lists 50 additions.
A script that checks the exit code reads this as a complete push. We pushed two projects of about 965 changes each, and each push moved exactly 100. Looping push until status was empty finished them, which is what mergin sync does internally.
Could push either keep going like sync, or say how many changes remain and exit non-zero?
- 主要語言
- Python
- 星號
- 24
- 分支
- 12
- 平均合併
- 6 天 23 小時
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MerginMaps/python-api-client 的其他 Issue
-
Vacuuming未關閉
難度 2/5 1-3 小時 新手友好度 68/100
MerginMaps/python-api-client#320 ·
-
難度 5/5 一週以上 新手友好度 30/100
MerginMaps/python-api-client#270 ·
-
enhancement
難度 5/5 一週以上 新手友好度 25/100
MerginMaps/python-api-client#257 · 3 則留言 ·
-
enhancement
難度 4/5 3-5 天 新手友好度 25/100
MerginMaps/python-api-client#254 · 1 則留言 ·
-
enhancement
難度 5/5 一週以上 新手友好度 25/100
MerginMaps/python-api-client#245 ·
查看 MerginMaps/python-api-client 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 65/100
Deltares/numba_celltree#100 · 1 則留言 ·
-
auto-reported bug
難度 2/5 1-3 小時 新手友好度 63/100
維護者通常 1 天內回覆
-
soup airgap-bundle --bundle-size-cap nan, inf or a cap above ~1.67e299 GiB stops with an internal ValueError/OverflowError (exit 1) instead of a usage error可能已有人在做 @Keshemir 今天認領。 未關閉bug claimed difficulty:2
難度 2/5 1-3 小時 新手友好度 82/100
MakazhanAlpamys/Soup#3045 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
dagster-io/skills#80 ·
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆