Should calc_release_version.py check which remote refers to mongodb/mongo-c-driver?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Not Needed
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      I have the following git remotes locally:

      > git remote -v
      origin	git@github.com:kevinAlbs/mongo-c-driver.git (fetch)
      origin	git@github.com:kevinAlbs/mongo-c-driver.git (push)
      upstream	git@github.com:mongodb/mongo-c-driver.git (fetch)
      upstream	git@github.com:mongodb/mongo-c-driver.git (push)
      

      So "origin" is my fork, and "upstream" is mongodb/mongo-c-driver. When I run calc_release_version.py on the master branch, the script inspects the output of "git show-ref" and looks for refs from origin. But my fork does not have the latest tags, so I get the wrong result.

      Perhaps calc_release_version.py should inspect the remotes and match on whichever refers to mongodb/mongo-c-driver.

            Assignee:
            Unassigned
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: