Could not git clone https://github.com/mongodb/mongo-tools

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      linux ext4 + ecryptfs
    • Not Needed

      ```
      $ git clone git@github.com:mongodb/mongo-tools.git
      Cloning into 'mongo-tools'...
      remote: Enumerating objects: 36, done.
      remote: Counting objects: 100% (36/36), done.
      remote: Compressing objects: 100% (24/24), done.
      remote: Total 35257 (delta 16), reused 27 (delta 11), pack-reused 35221
      Receiving objects: 100% (35257/35257), 38.62 MiB | 1.37 MiB/s, done.
      Resolving deltas: 100% (17513/17513), done.
      error: unable to create file mongorestore/testdata/longcollectionname/aVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery
      VeryVeryVeryVeryLongCollectionNameConsistingOfE%24someMadeUpInvalidHashString.bson: File name too long
      error: unable to create file mongorestore/testdata/longcollectionname/db1/aVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery
      VeryVeryVeryVeryVeryLongCollectionNameConsistingOfE%24xFO0VquRn7cg3QooSZD5sglTddU.bson: File name too long
      error: unable to create file mongorestore/testdata/longcollectionname/db1/aVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery
      VeryVeryVeryVeryVeryLongCollectionNameConsistingOfE%24xFO0VquRn7cg3QooSZD5sglTddU.metadata.json: File name too long
      fatal: unable to checkout working tree
      warning: Clone succeeded, but checkout failed.
      You can inspect what was checked out with 'git status'
      and retry with 'git restore --source=HEAD :/'
      ```

              Assignee:
              Unassigned
              Reporter:
              Yury Sokolov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: