Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-13397

Clarify behaviour around modules with duplicate names

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: next_quarter
    • Component/s: app
    • Labels:
      None

      Description

      I had an evergreen config with a duplicate module definition. i.e.:

      modules:
      - name: mongo-perf
        repo: git@github.com:mongodb/mongo-perf.git
        prefix: ../../src
        branch: master
      ...
      - name: mongo-perf
        repo: git@github.com:mongodb/mongo-perf.git
        prefix: ../../src
        branch: master 

      Surprisingly, this passed validation. Should defining two modules with the same name be an error?

      If not, what happens in the following situation:

      modules:
      - name: mongo-perf
        repo: git@github.com:mongodb/mongo-perf.git
        prefix: ../../src
        branch: master
      - name: mongo-perf
        repo: git@github.com:mongodb/mongo-perf.git
        prefix: ../../src2
        branch: master

      i.e, what will evergreen report the prefix of the mongo-perf module as?

        Attachments

          Activity

            People

            Assignee:
            backlog-server-evg Backlog - Evergreen Team
            Reporter:
            richard.samuels Richard Samuels
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: