Skip to content

Add option to mirror an upstream repository.

Douwe Maan requested to merge mirror-repository into master

Closes internal https://dev.gitlab.org/gitlab/gitlab-ee/issues/279

Depends on gitlab-shell!29 (merged)

To do:

  • Decide on what user should be the author of the activity feed events. The initial project creator perhaps? That makes sense for personal projects, but less so for group projects, where it's even possible that the creator has since left the team.
  • Write specs!
  • Write documentation
  • Port back relevant commits to CE: gitlab-org/gitlab-ce!1822

Mirror status on project homepage

Screen_Shot_2015-11-12_at_12.48.15

Settings navigation item

Screen_Shot_2015-11-10_at_17.32.27

Mirroring settings

Screen_Shot_2015-11-17_at_11.17.17

Activity feed with new "pushes" (mirror updates)

activity_feed

I have yet to decide on what user should be the author of these events. The initial project creator perhaps? That makes sense for personal projects, but less so for group projects, where it's even possible that the creator has since left the team.

Warning that branch has diverged from upstream

diverged

Commits heading after failed update

commits_failure

Link send user to the mirroring settings if they are a project admin.

Mirroring settings after failed update

Screen_Shot_2015-11-12_at_12.43.09

New project page

new_project

Import form after failed import

(Screenshot outdated)

new_import_failure

Shown when the initial import of a project fails, not when an update of an existing project fails.

cc @dzaporozhets @sytses @JobV

Merge request reports