[go: up one dir, main page]

Skip to content

Bug: Import All count does not include re-imports

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Observed while importing a project from GitHub. Also applies to Gitea, Bitbucket.

If a project in the list of available repos is already imported it is not included in the count for "Import N repositories", even if re-import is clicked and a new destination is selected.

As an example, I have 25 GitHub repos. I have imported one already. I clicked Re-import and selected a different destination group. But the button still says 'Import 24 repositories' as does the confirmation modal when clicked. The bulk import process excludes projects that were previously imported from the importAllCount. This seems like a bug, even if the exclusion is on purpose.

Either the count of available repos for Import-all should include previously imported projects OR it should be made more clear to the user that when trying to bulk import the previously imported project will be skipped.

Screenshot_2025-06-06_at_9.36.54_PM.png

To recreate:

  1. Load the app and attempt to create a new project into a group by import from GitHub
    1. Click the + sign next to your user avatar
    2. Click Import project, then select GitHub as the source
  2. Add a GitHub access token in order to connect (you need access to an active GitHub account with at least one repo)
  3. You will see a list of github projects with 'Select' as the chosen namespace. Note the count in the blue 'Import repositories' button
  4. Import a project and wait for the import to finish
  5. Click re-import and choose a different name space.
  6. Make sure to select a namespace for every other row
  7. The count in the Import N repos button does not change. Click the button and the confirmation modal shows the same count.
Edited by 🤖 GitLab Bot 🤖