Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-2898

Disable force-push to git repos on gitlab server (with some ability to temporarily override)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Low Low
    • git.moodle.org
    • None

      On the old (current) git server, we have disabled force push on the server to prevent accidentally rewriting history on the moodle.git repo (and integration.git). We can temporarily disable it (and we do) to rewrite on integration.git - but never on moodle.git.

      We would like some way to do this on the new gitlab server.

      This is not yet supported by gitlab - but there are patches available:

      https://github.com/gitlabhq/gitlabhq/pull/6190

      http://feedback.gitlab.com/forums/176466-general/suggestions/4450362-add-better-branch-protection-against-history-rewri

            mspurrier Matt Spurrier
            damyon Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.