Repository Migration
The sequence diagrams below show the different go packages in the top and bottom boxes and their functions within. You can find the relevant code mostly in the services/migrations folder. The arrows are to be read in sequence from top to bottom, while the description of each arrow shows the function and its simplified signature.
The diagrams were made with mermaid.js, you can find the documentation here.
Basic sequence for getting comments from github
Reference this diagram if you need a basic overview of how the packages in services/migrations are connected and how PR/Issue comments are filtered based on migration options.
Basic sequence for getting issue comments from gitea
This diagram should give you a sense of how issue comments are acquired using the gitea sdk from within the gitea_downloader. Be aware that we do not own code.gitea.io/sdk/gitea.