Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-255

Improve git repository health check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9
    • Component/s: libraries
    • Labels:
      None

      Description

      The current implementation of isHealthy currently tries to create a branch, and if that succeeds, considers the repository healthy. On several occasions there have been instances of local repositories corrupted in a way that were not detected, but would fail when trying to fetch new objects. Running "git fsck --connectivity-only" detects this case, and is not too time-consuming even on larger repositories, so we should probably switch to that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rwestberg Robin Westberg (Inactive)
              Reporter:
              rwestberg Robin Westberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: