Speedup mongo-client build by not cloning the whole git history

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 5.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 🔵 Done
    • Java Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Right now the mongo java has evergreen task

        "fetch-source":
          # Executes git clone and applies the submitted patch, if any
          - command: git.get_project
            params:
              directory: "src"

      this is an equivalent to 

      git clone https://github.com/mongodb/mongo-java-driver.git 

      In my local it takes around 2 minutes and .git folder is 150MB long

      If we do 

      git clone https://github.com/mongodb/mongo-java-driver.git  --depth 1

      instead

      then it takes a few seconds without a git history

       

      Let's change evergreen to skip git history 

       

            Assignee:
            Almas Abdrazak
            Reporter:
            Almas Abdrazak
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: