Skip to content
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

api/import-repo throws HTTP 500 #234

Open
saschanaz opened this issue Nov 30, 2021 · 5 comments
Open

api/import-repo throws HTTP 500 #234

saschanaz opened this issue Nov 30, 2021 · 5 comments
Assignees

Comments

@saschanaz
Copy link
Member

saschanaz commented Nov 30, 2021

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
Copy link
Member

deniak commented Dec 1, 2021

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 deniak self-assigned this Dec 1, 2021
@saschanaz
Copy link
Member Author

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

I can confirm that.

@deniak
Copy link
Member

deniak commented Dec 1, 2021

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

I can confirm that.

Ok, then we should be good.

@deniak deniak closed this as completed Dec 1, 2021
@saschanaz
Copy link
Member Author

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
Copy link
Member

deniak commented Dec 1, 2021

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 deniak reopened this Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants