ash-nazg icon indicating copy to clipboard operation
ash-nazg copied to clipboard

api/import-repo throws HTTP 500

Open saschanaz opened this issue 4 years ago • 5 comments

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.)

saschanaz avatar Nov 30 '21 21:11 saschanaz

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?

deniak avatar Dec 01 '21 05:12 deniak

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

I can confirm that.

saschanaz avatar Dec 01 '21 10:12 saschanaz

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

I can confirm that.

Ok, then we should be good.

deniak avatar Dec 01 '21 11:12 deniak

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.

saschanaz avatar Dec 01 '21 11:12 saschanaz

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.

deniak avatar Dec 01 '21 11:12 deniak