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

JuliaHub registration fails: Could not fetch associated GitHub/GitLab account

Open MartinOtter opened this issue 4 years ago • 5 comments
trafficstars

I tried to register new versions of my packages in Juliahub, such as ModiaPlot_GLMakie.jl. When clicking the Submit button, I get the error message:

Could not fetch associated GitHub/GitLab account

Previously, this worked and I did not make any changes to my repository settings on github, with the only exception that some time ago I generated a "personal access token".

I then also tried to register the package via a commit with the comment "@JuliaRegistrator register()", but this had no effect (I had installed the "Registrator" two years ago).

MartinOtter avatar Jul 27 '21 07:07 MartinOtter

From our logs I see that for some unknown reason we are no longer able to fetch your GitHub user ID. We don't save the user ID in our system since it can be changed at any time by the user so we try to get it every time from the Oauth login response. We can move this issue to https://github.com/JuliaComputing/JuliaHub since this is more of a JuliaHub login issue and not Registrator's fault.

However, regarding your issue with registering through a commit: You need to comment in the box as shown below. register

nkottary avatar Jul 28 '21 06:07 nkottary

I can add that when trying to register a Mosek.jl release using the comment method above, I get this:

@ulfworsoe, it looks like you are not a publicly listed member/owner in the parent organization (MOSEK).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

I am definitely a member in the MOSEK organization, and I successfully registered a release 11 days ago in the same way.

Issue can be seen here: https://github.com/MOSEK/Mosek.jl/commit/93ac3ddeac1f367cb0b61b61403d0f1157327def

ulfworsoe avatar Sep 24 '21 08:09 ulfworsoe

@ulfworsoe You need to make your Mosek membership public: makepublic

Registrator is not allowed to see private members. See also https://github.com/JuliaRegistries/Registrator.jl/issues/351

nkottary avatar Sep 24 '21 08:09 nkottary

From our logs I see that for some unknown reason we are no longer able to fetch your GitHub user ID. We don't save the user ID in our system since it can be changed at any time by the user so we try to get it every time from the Oauth login response. We can move this issue to https://github.com/JuliaComputing/JuliaHub since this is more of a JuliaHub login issue and not Registrator's fault.

However, regarding your issue with registering through a commit: You need to comment in the box as shown below. register

Sorry, should have mentioned this earlier: It was my mistake, since I made an error when logging in. I later logged in with my public github account and everything worked.

MartinOtter avatar Sep 24 '21 15:09 MartinOtter

@nkottary Thank you! I don't think I would have found that particular setting by myself. And it seems to work now.

ulfworsoe avatar Sep 27 '21 07:09 ulfworsoe