-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor sync handling #207
Editor sync handling #207
Conversation
Pull Request Test Coverage Report for Build 9345009734Details
💛 - Coveralls |
Updates: - added mc to PullJob class and apply_changes method - added scripts for backup of tests performed for editor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks! 👏
(commented only minor stuff)
mergin/client_pull.py
Outdated
@@ -623,7 +627,7 @@ def pull_project_finalize(job): | |||
raise ClientError("Cannot patch basefile {}! Please try syncing again.".format(basefile)) | |||
|
|||
try: | |||
conflicts = job.mp.apply_pull_changes(job.pull_changes, job.temp_dir, job.user_name) | |||
conflicts = job.apply_changes() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to keep the direct call to job.mp.apply_pull_changes() instead of introducing a new method in PullJob (it is meant just as a structure to keep everything that is needed for a pull)
probably not, it did not seem to be an issue even with projects with heavy use - and when sending logs to developers, we limit upload size (0.5 mb max if I recall correctly)
what's in the PR looks correct to me, the issue description was not complete... |
Resolves #MerginMaps/qgis-plugin
Details
Added ➕
Refactor 🔨
❓
editor.py