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

    • Task
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • git.moodle.org
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: