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

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

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Josef Schlehofer requested to merge feature/mirror-fetch-lock into hbk Jun 23, 2022
  • Overview 3
  • Commits 1
  • Pipelines 0
  • 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
Reviewers
Request review from
Time tracking
Source branch: feature/mirror-fetch-lock