`mergin push` prints "Done" and exits 0 when changes remain beyond MAX_UPLOAD_CHANGES
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- Une demi-journée
- Accessibilité débutants
- 45/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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?
- Langage dominant
- Python
- Étoiles
- 24
- Forks
- 12
- Merge moyen
- 6 j 23 h
- PR mergées (30 j)
- 3
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de MerginMaps/python-api-client
-
VacuumingOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
MerginMaps/python-api-client#320 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 30/100
MerginMaps/python-api-client#270 ·
-
Migration tool between serversOuverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
MerginMaps/python-api-client#257 · 3 commentaires ·
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
MerginMaps/python-api-client#254 · 1 commentaire ·
-
Impose geodiff push limitsOuverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
MerginMaps/python-api-client#245 ·
Toutes les issues de MerginMaps/python-api-client
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Deltares/numba_celltree#100 · 1 commentaire ·
-
auto-reported bug
Difficulté 2/5 1-3 heures Accessibilité débutants 63/100
Les mainteneurs répondent en général sous 1 jour
-
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 errorPeut-être pris @Keshemir l’a pris aujourd’hui. Ouvertebug claimed difficulty:2
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
MakazhanAlpamys/Soup#3045 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
dagster-io/skills#80 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour