Skip to content

Conversation

AndrienkoAleksandr
Copy link
Contributor

@AndrienkoAleksandr AndrienkoAleksandr commented Oct 20, 2025

Hey, I just made a Pull Request!

What does this pull request fix:

https://issues.redhat.com/browse/RHIDP-9396

How test it

  1. Provide your github username and your github email in the user Entity in the file examples/org.yaml. It should allow you login with "Github" auth provider.

  2. Uncomment bulk-import scaffolder app-config.yaml:

...
bulkImport:
  importTemplate: template:default/create-pr-with-catalog-info
  importAPI: scaffolder
...
  1. Update dependencies:
yarn && yarn install
  1. Execute instance:
# enable scaffolder template execution:
export NODE_OPTIONS=--no-node-snapshot
# start instance
yarn start

Wait for the test backstage instance to be open in the browser.

  1. Login with "GitHub" auth provider.
  2. Click "Bulk import" tab. The bulk-import page should be open.
Screenshot 2025-10-21 at 14 28 44
  1. Click blue 'Import' button. Select your github test repository in the import table:
Screenshot 2025-10-21 at 14 14 27

Click "Import" button.

  1. A repository with a processing template should appear in the Repositories table:
Screenshot 2025-10-21 at 14 16 09
  1. Open network browser tab:
Screenshot 2025-10-21 at 14 16 57
  1. Click repository name(it is link), it should open task list:
Screenshot 2025-10-21 at 14 33 35
  1. Take a look network tab, find "by-repo" request. Open server responce, it should contain parsed location:
Screenshot 2025-10-21 at 14 34 20

Notice: this location is imported component to the Backstage API. For now we don't use this information in the UI. But we can use it in the newer bulk-import version for edit pull request feature.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

…with frontend) to eventsource

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
@rhdh-gh-app
Copy link

rhdh-gh-app bot commented Oct 20, 2025

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @red-hat-developer-hub/backstage-plugin-bulk-import-backend

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-bulk-import-backend workspaces/bulk-import/plugins/bulk-import-backend none v6.5.1

…r configuration

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant