Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(plugin-templates): add ability to register to catalog #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

PatAKnight
Copy link
Member

What does this PR do / why we need it

Adds the ability to register the backend and frontend plugins to the catalog that were created with the create-backend-plugin and create-frontend-plugin templates.

We only attempt to register the plugins in the event that a new repository is opened. This is because, when using the existing repository option, retrieving the catalog info file from the branch based on the generated PR could be problematic in the event that the branch is deleted after merging.

Which issue(s) does this PR fix

Fixes RHIDP-4372

How to test changes / Special notes to the reviewer

Copy link

openshift-ci bot commented Nov 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: PatAKnight

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@PatAKnight PatAKnight changed the title Catalog info plugin template fix(plugin-templates): add ability to register to catalog Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant