Skip to content
GitLab Next
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

We will soon be undergoing scheduled maintenance to our database layer. We expect GitLab.com to be unavailable for up to 2 hours starting from 2022-07-02 06:00 UTC. Please note that any CI jobs that start before the maintenance window but complete during the window period will fail and may need to be started again.

  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Merge requests
  • !15520

ignore hashed repos (for now) when using `rake gitlab:cleanup:repos`

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Brett Walker requested to merge 40291-ignore-hashed-repos-cleanup-repositories into master Nov 21, 2017
  • Overview 4
  • Commits 3
  • Pipelines 3
  • Changes 2

For now, ensure that hashed repositories are not incorrectly removed when running the rake task rake gitlab:cleanup:repos

Project.find_by_full_path does not currently work with hashed repos, and also broken with subgroups. So this fix ensures that should that be fixed, we don't accidentally delete hashed repos. Proper support needs to be addressed at a later time.

Closes #40291 (closed)

Edited Nov 21, 2017 by Brett Walker
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: 40291-ignore-hashed-repos-cleanup-repositories