I want to * have new git repositories automatically mirrored
So that I don't have to manually configure my replication each time I add a new repository (esp. painful when used in context of android/repo usage)
Acceptance criteria When at least one mirror is configured:
In git administration, at project level, there is a new tab "Default repository configuration"
In this tab there is a interface similar to repository "Settings" but only with "Mirror" tab
In this "Mirror" tab, there is the same interface than repository mirror configuration
On save, it's the new default for all upcomming repository creation.
From UI point of view, nothing change for end users when they created new repository but:
There is a feedback message telling them that the repository will be replicated on mirrors (as it's done when mirroring is updated for an existing repo)
The repository is actually mirrored !
Special behaviour:
This default configuration is inherited when a project is cloned (template project)
Pitfalls and checks:
Check when a mirror is deleted (delete defaults)
Check behaviour with personal fork (if no mirror is used, use defaults)
Check with availability of mirror per project
Update auto mirroring defaults when project can no longer use one mirror
Attachments Empty
CC list Nouha Terzi (terzino), Denis PILAT (denis_pilat), Yannis ROSSETTO (rossettoy), Loïc Lefort (lefort)