Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10098

Repository import - support LFS

    XMLWordPrintable

Details

    • 5
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: