Skip to content

Update serializers and importers with imported_from attribute

Carla Drago requested to merge 424454-update-helpers-serializers-importers into master

What does this MR do and why?

This adds the imported_from and imported values to serializers and helpers.

It and updates several importers to write the 'imported_from' value when creating the imported resource on the database:

  • gitlab_migration aka Direct Transfer/Bulk Import
  • gitlab_project aka export/import with file
  • github
  • gitea
  • bitbucket aka bitbucket cloud
  • bitbucket_server

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Related to #424454 (closed) Blocked by !150038 (merged)

Edited by Carla Drago

Merge request reports