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

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Component/s: git.moodle.org
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            mspurrier Matt Spurrier
            Reporter:
            damyon Damyon Wiese
            Participants:
            Component watchers:
            David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: