encounter / dtk-template

Project template for decomp-toolkit
Creative Commons Zero v1.0 Universal
15 stars 13 forks source link

Support `description` field of frogress in `upload_progress.py` #11

Open ribbanya opened 6 months ago

ribbanya commented 6 months ago

I would just PR it, but I don't know how to set that field on the endpoint. It should take the commit message of HEAD, I suppose.

{
  "melee": {
    "GALE01": {
      "dol": [
        {
          "timestamp": 1708116741,
          "git_hash": "ed8be29325d843b5eb44a677fcc6d6110d40af14",
          "measures": {
            "code": 619984,
            "code/total": 3882080,
            "data": 100866,
            "data/total": 1211693
          },
-          "description": ""
+          "description": "Link progress badges to `decomp.club` (#1240)"
        }
      ]
    }
  }
}