hubmapconsortium / entity-api

A set of web service calls to return information about HuBMAP entities
https://entity.api.hubmapconsortium.org
MIT License
3 stars 1 forks source link

Function to convert pipeline name and has to GitHub URL #650

Open shirey opened 6 months ago

shirey commented 6 months ago

Create a function that, given a pipeline url and hash, will output the associated GitHub URL pointing to the specific pipeline repository and tagged version. If a GitHub repo/tag isn't available throw an exception. For example:

   input: { 
                 "git_origin": "https://github.com/hubmapconsortium/salmon-rnaseq",
                  "hash": "d18fd49"
              }
 output: https://github.com/hubmapconsortium/salmon-rnaseq/releases/tag/v2.1.11

This is currently being done in SenNet, so this functionality should be able to be ported from there.