Repository import - support LFS

XMLWordPrintable

    • 11
    • 6

      When importing an existing git repo, we often have sources with LFS already enabled. The UI import tool doesn't support this (4.13.0 at least) as given a git repo with LFS it creates the repository and doesn't enable LFS for the destination repo.

      Suggestion:

      • Given a source repo to import, check if it has LFS enabled (start clone, look for .gitattributes and regex check for relevant LFS content).
      • If so, either:
        • just enable LFS and adjust the import commands used to use LFS for the repo, or,
        • prompt the user asking if they want to enable LFS for the destination repo or treat it as non-LFS.
      • This assumes LFS is enabled system wide, if not, makes sense it just treats it as a non-LFS repo

       

            Assignee:
            Unassigned
            Reporter:
            Craig Castle-Mead
            Votes:
            10 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: