janus-idp / software-templates

Software Template (Backstage)
Apache License 2.0
35 stars 166 forks source link

Update the Register Component GPT to support other git providers #163

Open Zaperex opened 1 year ago

Zaperex commented 1 year ago

What do you want to improve?

We want to update the Register Component GPT to support gitlab, bitbucket, and azure. (Be able to create a Pull Request / Merge Request to all those providers)

Also update to include dropdown for the initial component information fields such as the (spec.type field), and potentially allow for new types to be dynamically added.

What is the current behavior?

Currently the Register Component GPT only supports github. User has to type in the spec.type field (could potentially not match a valid type)

Zaperex commented 1 year ago

Currently, the upstream scaffolder built-in actions does not currently support pull requests for Azure DevOps. Additionally, it only supports pull requests for Bitbucket Server.

The dropdown for a spec.type field is currently not possible without a custom input field, and the current RepoUrlPicker only supports hardcoded hosts (not allowing users to pick a host outside the list without editting the template).

For now, a separate template will be created for registering plugins from gitlab repositories.