Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77138

Verify mongo repo and enterprise repo and in sync on scons compile

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Development Platform

      I personally do not do much work in the enterprise repo. I often try to compile without ensuring that my enterprise repo and mongo repo are in sync. I think we could automate it under certain conditions such as

      1. if the enterprise repo is on the mongo branch
      2. There are changes made to the branch (uncommitted or committed)

      This could be automated with some flag `–doNotUpdateEnterprise` or something

       

      This could also only be triggered by a flag `–updateEnterprise` or something

       

      After discussion in standup we decided on:

      This should be a check that should not update any repos 

      This check should only run on developer workstations

      This should make sure the base commit of the mongo repo and the base commit of the enterprise repo are in sync

      This should instantly fail the build if they are not in sync with and output a message with the correct enterprise base commit to rebase on

      There should be a flag to bypass this check

       

      Most of the work for this ticket is already implemented in the `check_git_repos` function in the `validate_env.py` script

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            trevor.guidry@mongodb.com Trevor Guidry
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: