Skip to content

Mercurial native migration: locking and exposition to end users

This Merge Request allows end users to migrate their projects by means of the REST API. To do so, it introduces the necessary protection against multiple concurrent runs, concurrent writes, and some basic user feedback, as alert banner.

This is #627 without the Web UI part.

With these changes, adding the Web UI is now just a matter to present a button in Project Settings > General > Advanced and call the service that schedules the worker from the controller. However, this would be a bit too much to do right before 0.29.0.

Also, the API is probably safer to open up, because its discovery actually involves reading a documentation, which gives more chances to explain the limitations than clicking on a button.

Edited by Georges Racinet

Merge request reports