Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Turris Build Turris Build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 73
    • Issues 73
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Turris
  • Turris OS
  • Turris BuildTurris Build
  • Merge requests
  • !534

Draft: compile_pkgs: protect repository fetch from local mirror with lock

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Josef Schlehofer requested to merge feature/mirror-fetch-lock into hbk Jun 23, 2022
  • Overview 0
  • Commits 1
  • Changes 1

We have protection for local repository mirror update but we do not have it for reading. It can happen that while one instance is updating repository the second one is trying to read it. That leads to git failing about unexpected references. This adds read protection as well as write one for local mirror repositories.

Draft: You need to check if this is still required and if it should be merged.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/mirror-fetch-lock