[go: up one dir, main page]

Skip to content

Docs feedback - feature proposal: alias(es) for mirror replication object

Problem to solve

As a gitlab admin, I would like to automate the repository replication/mirroring. As it stands, we can oonly POST replication schedules; this is not idempotent. The result is multiple schedules.

Intended users

Developers and adminstrators

User experience goal

One should be able to PUT an update to a replication schedule.

Proposal

Replication objects should have a refence, be it an alias or a uid. This object should be returned with the /GET /projects/:id/remote_mirrors payload. Then that object can be reference in a PUT, with the attributes of the replication being mutable. In addition, a DELETE should be accepted by the api.

The end result is the ability to schedule mirror repliction configuration check/updates.