Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gitaly
gitaly
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 631
    • Issues 631
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 38
    • Merge Requests 38
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • gitalygitaly
  • Merge Requests
  • !990

Merged
Opened Nov 28, 2018 by Nick Thomas@nick.thomas💃Maintainer

Clean up a repository by applying a BFG object map to it

  • Overview 98
  • Commits 3
  • Pipelines 30
  • Changes 10

Gitaly component of https://gitlab.com/gitlab-org/gitlab-ce/issues/19376

gitlab-rails doesn't have bulk access to internal references such a refs/keep-around. To help people reduce their repository size after running BFG and force-pushing the result to a GitLab server, we need Gitaly to process the object map file generated by BFG, and remove or update any internal references to the rewritten commits.

In this first iteration, we're just looking to remove the references entirely. In a later iteration, once GitLab is updated to handle the case gracefully, this may be changed to rewrite the references instead.

Edited Dec 04, 2018 by Nick Thomas
Assignee
Assign to
Reviewer
Request review from
11.6
Milestone
11.6 (Past due)
Assign milestone
Time tracking
Reference: gitlab-org/gitaly!990
Source branch: ce-19376-apply-bfg-rpc

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.