BinaryBuilder.jl icon indicating copy to clipboard operation
BinaryBuilder.jl copied to clipboard

deploy to personal repo

Open mloubout opened this issue 1 year ago • 4 comments

Hi

I browsed the issues and saw some slightly related but nothing that actually provides a solution. While I am workingto get my jll in Yggdrasil and automate the process, I am in the meantime working with my personal repo to put the binary wrapper. However, it looks like BinaryBuilder.jjl has user/passwd hardcoded as the authentification method so I cannot use deploy=myrepo as it throws credentials errors

LoadError: GitError(Code:EAUTH, Class:Callback, The explicitly provided credential is incompatible with the requested authentication methods.)

It would be very useful to use something like what Pkg is using so that users configuration are respected. I also tried to bypass it by doing deploy="local" then push by hand but the sha end up completely messed up so it doesn't work neither.

Lemme know ifg I missed something or if there is a solution discussed somewhere.

mloubout avatar Apr 24 '23 15:04 mloubout

I also tried to bypass it by doing deploy="local" then push by hand but the sha end up completely messed up so it doesn't work neither.

Delete the local repo, it's in .julia/dev

giordano avatar Apr 24 '23 15:04 giordano

I am in .julia/dev/myjll_jll

mloubout avatar Apr 24 '23 15:04 mloubout

To be clear, It works and run completely fine locally, my problem is the deploy/github part.

mloubout avatar Apr 24 '23 15:04 mloubout

What do you mean with

[...] then push by hand but the sha end up completely messed up so it doesn't work neither.

Is "sha" referring to git commit sha? What is the precise error you see? Could it be that your local and remote repo have diverged? I think that's what @giordano was hinting at when he suggested to delete the local repo, i.e. .julia/dev/myjll_jll

fingolfin avatar Jun 30 '23 15:06 fingolfin