GitHub Importer - Import GitHub Release attached files

Release Notes

We continue to improve the GitHub project importer by adding more metadata to the migrated projects. In this milestone we added to the migration attachments that exists in the GitHub Release Notes

Problem to solve

The GitHub importer currently imports the Release notes, but it ignores any attached files on those notes.

Correcting this is currently a manual process that has to be done after the import and could be very time-consuming when the project contains a large number of releases.

Proposed solution

During project import from GitHub, for each Release check if any attached files exist and upload those into GitLab.

  1. Release descriptions will contain the links we need in order to download missing attachments.
  2. For each release, we can enqueue a separate worker that will be performing file download/validation/etc.
  3. After files are migrated, we can update the description by removing all links from the body and adding new ones.

Documentation

Edited by Itzik Gan Baruch