Skip to content

Default to the current group when importing from gitea

Illya Klymov requested to merge xanf-gitea-import-namespace-id into master

What does this MR do and why?

Related to Importers - Default to the current group when i... (#359130 - closed)

This MR correctly passes namespace_id through entire import process of gitea. This allows us to correctly select current group as default for import

Screenshots or screen recordings

Flightjs___GitLab

How to set up and validate locally

  1. Visit /import/gitea/new and use host https://try.gitea.io and token 712407f64c0da44358a9bcc9522e59fcf8f12fb2 (created for demo purposes)
  2. Observe that group for import is user personal namespace
  3. Visit any group
  4. New project -> Import -> gitea
  5. Observe that group selected as default import target is group

MR acceptance checklist

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

Merge request reports

Loading