GitHub Import: Include forks in github repository list
What does this MR do and why?
GitHub importer switched to using GitHub Graphql search query instead of GitHub REST API for listing repositories. But as it is stated in the documentation:
By default, forks are not shown in search results. You can choose to include them in repository searches, and in code searches if they meet certain criteria.
This MR updates the Graphql search query with fork:true
to include forked repositories in the provider list.
Corresponding issue: GitHub Import: forked repositories are not pres... (#402390 - closed)
Screenshots or screen recordings
Forked repository on GitHub:
Is shown on the http://gdk.test:3000/import/github/status
page:
How to set up and validate locally
- Fork the project on the GitHub UI.
- Visit
http://gdk.test:3000/import/github/status
, the forked repository should be shown in the list
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.