Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5218

Extract the GithubRepo class as a shared package and use it in both Compass and mongosh

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Not Needed
    • Iteration Novokuybyshevsk, Iteration Orlando

      Both compass and mongosh creates and uploads releases on Github we can use the same class for both releases.

      NOTE: in compass we had to copy paste the code from mongosh to fix https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param/ and there are minimal changes to the Asset argument of the function to upload assets: Asset must have an optional `name: string` property and the contentType property has to be optional instead of required.

            Assignee:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Reporter:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: