-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bulk-import): handle Location entities created from other sources…
… like the GH discovery as Import candidates [RHIDP-4021] (#2178) * Display the resolved GH URLs w/o placeholders This helps troubleshoot cache hits or misses. * Make sure not to override all request headers passed to Octokit clients * Load potential Imports from catalog Location entities This covers the case of repos added from other sources like the auto-discovery plugin * Consider only as valid Import candidates repos that are accessible from the configured GH integrations This should solve the issue of repos added through the auto-discovery plugin (which seems to rely anyway on the configured GH integrations). And for the ones coming from other sources (like app-config), we won't show up those that are not accessible from the GH integrations (case of any public repos out there added in some app-config.yaml). Because ultimately, the source of truth of the bulk import right now is the repos and orgs accessible from the GH integrations.
- Loading branch information
Showing
5 changed files
with
364 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.