Commit graph

10 commits

Author SHA1 Message Date
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
Jiahao XU
645a2f2981
Remove unnecessary import in mod error::test
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-07 22:37:10 +10:00
Jiahao XU
e06ea36ff0
Fix running cargo test in binstalk-git-repo-api`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-07 22:32:21 +10:00
Jiahao XU
30a4a53c67
Move test_graph_ql_error_type to mod error
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-07 22:31:26 +10:00
Jiahao XU
0708f6f348
Ret artifact url in has_release_artifact
So that we can use it to download from private repositories.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-06 23:00:02 +10:00
Jiahao XU
d2914cca42
Refactor: Extract new mod error
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-06 22:47:05 +10:00
Jiahao XU
9efe39528f
Refactor: Create new crate binstalk-git-repo-api
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-05-05 23:49:09 +10:00