Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #208828
You need to sign in or sign up before continuing.
Closed
Open
Issue created Mar 03, 2020 by Robert Speicher@rspeicherContributor10 of 10 checklist items completed10/10 checklist items

Remove `keep_divergent_refs` feature flag, adding documentation and changelog

Feature added in:

  • !25639 (merged)
  • !26405 (merged)
  • !26406 (merged)
  • !26407 (merged)

Feature expanded in:

  • gitaly!1915 (merged)
  • gitaly!2028 (merged)
  • !29082 (merged)

Internal rollout and testing

  1. See ae62fb08 through to production.
  2. Enable keep_divergent_refs feature flag for projects that have a Canonical -> Security -> Build mirroring structure. Note the flag is scoped to projects, not groups.
  3. Enable keep_divergent_refs for all of our push mirrors via API:
    $ http GET 'https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/remote_mirrors/'
    [
        {
            "enabled": true,
            "id": 177728,
            "keep_divergent_refs": false,
            "last_error": null,
            "last_successful_update_at": "2020-04-28T19:35:34.695Z",
            "last_update_at": "2020-04-28T19:35:34.695Z",
            "last_update_started_at": "2020-04-28T19:36:42.044Z",
            "only_protected_branches": true,
            "update_status": "started",
            "url": "https://*****:*****@gitlab.com/gitlab-org/security/gitlab.git"
        }
    ]
    
    $ http PUT 'https://gitlab.com/api/v4/projects/gitlab-org%2Fgitlab/remote_mirrors/177728' keep_divergent_refs=true

General release

  • Remove feature flag check
  • Add changelog entry
  • Add API documentation
  • Add User documentation
  • Internationalization
  • Address spec nitpick from !29082 (comment 333135591)
  • Delete feature flag entry via ChatOps
Edited May 19, 2020 by Robert Speicher
Assignee
Assign to
Time tracking