Commit graph

10 commits

Author SHA1 Message Date
Jiahao XU
4da2f0e64f
Return Url in GhApiClient::has_release_artifact
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-06-03 22:29:31 +10:00
Jiahao XU
f824ebbd9c
Refactor: Rm param auth_token for restful API fn
which is always set to `None`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-28 23:12:02 +10:00
Jiahao XU
1350ac342f
Refactor: Extract new fn GhApiClient::do_fetch
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-28 00:54:14 +10:00
Jiahao XU
361aca4d8f
Fix unit testing
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-28 00:17:52 +10:00
Jiahao XU
cb418fda11
Refactor: Make sure 'static Future is returned
To make it easier to create generic function

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-27 23:37:27 +10:00
Jiahao XU
f90eea4235
Refactor: Return 'static future
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-15 23:43:45 +10:00
Jiahao XU
6e6d7d778f
Refactor: Use GhRepo in GhRelease
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-09 23:30:53 +10:00
Jiahao XU
7bd8468c35
Refactor: Move HasReleaseArtifacts failure variants into GhApiError
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-09 23:25:22 +10:00
Jiahao XU
5417475542
Impl draft version of fetching repo info
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-08 23:14:07 +10:00
Jiahao XU
6c67c7dd32
Rename mod request to release_artifacts`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-07 22:44:21 +10:00
Renamed from crates/binstalk-git-repo-api/src/gh_api_client/request.rs (Browse further)