`mergin push` prints "Done" and exits 0 when changes remain beyond MAX_UPLOAD_CHANGES
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 45/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- Python
- Stelle
- 24
- Fork
- 12
- Merge medio
- 6g 23h
- PR unite (30g)
- 3
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MerginMaps/python-api-client
-
VacuumingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
MerginMaps/python-api-client#320 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
MerginMaps/python-api-client#270 ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
MerginMaps/python-api-client#257 · 3 commenti ·
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
MerginMaps/python-api-client#254 · 1 commento ·
-
Impose geodiff push limitsApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
MerginMaps/python-api-client#245 ·
Tutte le issue di MerginMaps/python-api-client
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Deltares/numba_celltree#100 · 1 commento ·
-
auto-reported bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 1 giorno
-
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 errorForse già presa @Keshemir l’ha presa oggi. Apertabug claimed difficulty:2
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
MakazhanAlpamys/Soup#3045 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
dagster-io/skills#80 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno