w3c / ash-nazg

One interface to find all group contributors and in IPR bind them
https://labs.w3.org/repo-manager/
MIT License
22 stars 18 forks source link

api/import-repo throws HTTP 500 #234

Open saschanaz opened 2 years ago

saschanaz commented 2 years ago

I wanted to import w3c/web-locks but doing that via https://labs.w3.org/repo-manager/repo/import throws HTTP 500 from that API. Not sure what's wrong, could someone take a look?

(It could be because wicg/web-locks already exists there but HTTP 500 is still suspicious.)

deniak commented 2 years ago

Looking at the logs, it seems you didn't provide enough GH permissions to import the repository. On the login page, there are 2 links to login. I'm guessing you selected the first link instead of the second one. In any case, I imported the repository so it's now available in the manager.

Also, I see WICG/web-locks now redirects to w3c/web-locks. Can you confirm it was initially transfered to Marcos' account then to W3C?

saschanaz commented 2 years ago

Can you confirm it was initially transfered to Marcos' account then to W3C?

I can confirm that.

deniak commented 2 years ago

Can you confirm it was initially transfered to Marcos' account then to W3C?

I can confirm that.

Ok, then we should be good.

saschanaz commented 2 years ago

Can the error message be more user friendly? I've been already logged in so I had no chance to read such warning for this import.

deniak commented 2 years ago

Can the error message be more user friendly? I've been already logged in so I had no chance to read such warning for this import.

It should be doable. I can also add a note on that page to mention the 2nd link. I'll try to find some time to work on this. I'll re-open the issue until then.