Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 198
    • Issues 198
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapodheptapod
  • heptapodheptapod
  • Issues
  • #580
Closed
Open
Issue created Nov 24, 2021 by Georges Racinet@gracinet🦑Owner2 of 2 checklist items completed2/2 checklist items

Drop conversion to Git with feature flag

Since !289 (merged) was merged, we ship all necessary code to stop converting native Mercurial repositories to Git. This is controlled by the hg_with_git? method of HgitalyRepository which currently always returns true in the main development branch and is tied to the :hg_fully_native flag in the experimental hgitaly2 branch.

Since the :hg_fully_native feature flag is about to become true by default, we won't be able to rely on it to proceed further.

As just discussed with @raphael.gomes, we should introduce a new feature flag, e.g, :hg_without_git, defaulting to false. Perhaps with another one for re-enabling the Git conversion on a single project if the feature flag is globally set to true, as we've done for :hg_fully_native.

  • definition of the feature flag(s) and usage in hg_with_git? in conjunction with :hg_fully_native
  • provide a way to resync the auxiliary Git repository without side effects when opting out. Ideally should be exposed in Project Repository settings. Perhaps also rake task to resync several (or all) of them?
Edited Jan 19, 2022 by Georges Racinet
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking