Uploaded image for project: 'R10K'
  1. R10K
  2. RK-43

Rugged::ThinRepository might not populate working directory by default

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: r10k 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The Rugged::ThinRepository class doesn't perform a normal clone to work around some issues with libgit2 and alternate object databases. Because of this, if a :ref isn't provided when cloning, it will fetch objects but won't populate the default working directory.

      This issue isn't directly user facing as the current code always calls #clone with a ref, but this is a bug waiting to happen.

      We should make sure that if a ref isn't explicitly provided then we default to the remote HEAD branch.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adrien Adrien Thebo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support