You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "hezyin (via GitHub)" <gi...@apache.org> on 2023/02/17 22:07:31 UTC

[GitHub] [incubator-devlake] hezyin opened a new issue, #4448: [Bug][Config-UI] Config-UI only lists public repos for a user

hezyin opened a new issue, #4448:
URL: https://github.com/apache/incubator-devlake/issues/4448

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   In v0.15, Config-UI uses `/users/{username}/repos` to list repos for a GitHub user. However, according to GitHub API, this endpoint only list **public** repos of that user: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repositories-for-a-user
   
   We should probably use this endpoint (`/user/repos`) instead: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repositories-for-the-authenticated-user
   
   
   
   ### What do you expect to happen
   
   Users are able to see their private repos in Config-UI as long as their PAT has the right permission.
   
   ### How to reproduce
   
   See above
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.15.0
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] likyh closed issue #4448: [Bug][Config-UI] Config-UI only lists public repos for a user

Posted by "likyh (via GitHub)" <gi...@apache.org>.
likyh closed issue #4448: [Bug][Config-UI] Config-UI only lists public repos for a user
URL: https://github.com/apache/incubator-devlake/issues/4448


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org