`mergin push` prints "Done" and exits 0 when changes remain beyond MAX_UPLOAD_CHANGES
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 45/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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?
- Vorherrschende Sprache
- Python
- Sterne
- 24
- Forks
- 12
- Ø Merge
- 6 T. 23 Std.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus MerginMaps/python-api-client
-
VacuumingOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
MerginMaps/python-api-client#320 ·
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
MerginMaps/python-api-client#270 ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
MerginMaps/python-api-client#257 · 3 Kommentare ·
-
enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
MerginMaps/python-api-client#254 · 1 Kommentar ·
-
enhancement
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
MerginMaps/python-api-client#245 ·
Alle Issues in MerginMaps/python-api-client
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Deltares/numba_celltree#100 · 1 Kommentar ·
-
auto-reported bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
Maintainer antworten meist innerhalb von 1 Tag
-
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 errorEvtl. vergeben @Keshemir hat das heute übernommen. Offenbug claimed difficulty:2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
MakazhanAlpamys/Soup#3045 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
dagster-io/skills#80 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag