Update Legacy GitHub Import to convert use Sawyer Resource into hashes
What does this MR do and why?
This merge request is part of a series of changes to convert Octokit returned objects into a hash before using it in the codebase in order to rely less on Sawyer::Resource
objects
This change converts Octokit responses in the Legacy Github Import module, which is currently used by the Gitea Import.
Related to: https://gitlab.com/gitlab-org/gitlab/-/issues/372473
Screenshots or screen recordings
How to set up and validate locally
- Create a Gitea project at https://try.gitea.io/
- In the project setup: labels, pull requests, issues, milestones and the repository
- In Gitlab, to go projects, create new project, import from Gitea
- Provide the Gitea URL and access token
- Select the project to be imported
- Then check if the project was successfully imported
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.
Edited by Rodrigo Tomonari