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

Include version requester type in rest v2 endpoint

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2020.02.01
    • Component/s: app
    • Labels:

      Description

      An ETL job was relying on URLs to determine whether something was a patch build. An object ID is a patch build, while something with a project name prepended to an object ID is a mainline build. This is awkward, and it now has broken, since periodic builds look like patch builds.

      We should provide the version requester type itself in the rest v2 endpoint for versions. The list of types is here: https://github.com/evergreen-ci/evergreen/blob/13546d429c9c218b5024b0d329004db52fab7d01/globals.go#L300-L306.

        Attachments

          Activity

            People

            Assignee:
            brian.samek Brian Samek
            Reporter:
            brian.samek Brian Samek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: