-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support private github repository #1690
Conversation
c0bca8f
to
77d0e54
Compare
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
77d0e54
to
9efe395
Compare
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
74bfc87
to
d2914cc
Compare
So that we can use it to download from private repositories. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
555b101
to
6c67c7d
Compare
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
is there anything we can do to help move this forward? maybe testing a build? |
I just need to spend more time on this, I'm a bit busy recently, but rest asure, I didn't forget it. |
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Update: I'm a bit busy this week. cc @scullionw we actually need more contributors for cargo-binstall. If you are willing to submit a PR, then I can do a code review very quickly. If you have time, you could pick up where I have left and I'm willing to answer any questions you have related to the codebase. |
To make it easier to create generic function Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
`cargo test` run all tests in one process. As such, `set_global_default` would fail on the second call. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
which is always set to `None` Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
8de36b9
to
a236f53
Compare
When debugging CI failure, I've found:
seems that somehow release artifact GraphQL cannot found the release in the repository, despite it being present in the repo. |
Ok turns out that I forgot to give the token enough permission. I've recreated github token, using another machine account which only has read-only access to the repository, and give the new token full access to the private repostories of that machine account, since it has read-only access anyway. |
crates/binstalk-git-repo-api/src/gh_api_client/release_artifacts.rs
Outdated
Show resolved
Hide resolved
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
cc @scullionw This PR is now ready for review, you should be able to download from private repositories using this PR, could you have a try please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that we have hit the gh token limit for CI, since many tests are run under it.
will apply the suggestion and re-merge it later.
Fixed #1681