Skip to content

Add prepend_mod to privider_repo_serializer.rb

What does this MR do and why?

We expect to add a new feature to import projects from Gitee on JH side, we need to override the represent method in app/serializers/import/provider_repo_serializer.rb. I add prepend_mod method to this file so we can add more provider on JH side.

/cc @prajnamas

Screenshots or screen recordings

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

How to set up and validate locally

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

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Zehua Zhang

Merge request reports