datalad / git-annex

A non-official clone of git-annex established for DataLad purposes. No PRs will be merged, but could be used to test perspective git-annex patches. Official git-annex repository: https://git.kitenet.net/index.cgi/git-annex.git/
16 stars 3 forks source link

adjust URL for downloading clients artifacts? #118

Closed yarikoptic closed 2 years ago

yarikoptic commented 2 years ago

ATM it is like https://api.github.com/repos/datalad/git-annex-ci-client-jobs/actions/artifacts/202041055/zip which just leads to

{
"message": "You must have the actions scope to download artifacts.",
"documentation_url": "https://docs.github.com/rest/reference/actions#download-an-artifact"
}

for me when clicked in the browser. I wonder if it should better (or may be better in addition, while leaving previous as API download) to lead to URL like https://github.com/datalad/git-annex-ci-client-jobs/suites/5932601727/artifacts/203003767 as accessible from https://github.com/datalad/git-annex-ci-client-jobs/actions/runs/2093953067 -- would that be possible ?

jwodder commented 2 years ago

@yarikoptic The URL you're requesting isn't reported by the API.

yarikoptic commented 2 years ago

could it be "composed"? e.g. isn't that 203003767 corresponds to the 202041055 you had? (I didn't try to match to exact run) and it would be just a matter of discovering 5932601727 ?