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

Pull in scaffolder-relation-processor plugin from @backstage-community to 1.2.x branch of janus-showcase because it is the new scope. #1367

Open
wants to merge 2 commits into
base: 1.2.x
Choose a base branch
from

Conversation

Fortune-Ndlovu
Copy link
Contributor

@Fortune-Ndlovu Fortune-Ndlovu commented Jul 1, 2024

This PR pulls in the scaffolder-relation-processor plugin from the backstage-community repository into the 1.2.x branch of janus-showcase. This includes updating the dynamic-plugins-imports/package.json file to reference the correct version of the plugin.

Changes Made

Updated dynamic-plugins-imports/package.json to include the following dependency because of its newly allocated scope.
"@backstage-community/plugin-catalog-backend-module-scaffolder-relation-processor": "0.2.0"

Which issue(s) does this PR fix

The scaffolder-relation-processor plugin is required for enhancing the scaffolding capabilities of the catalog backend module. This update ensures that the janus-showcase project is using the latest version of this plugin from the backstage-community repository in the new scope defined.

PR acceptance criteria

Please make sure that the following steps are complete:

  • Ensured that the updated package.json installs the correct version of the plugin.
  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

@Fortune-Ndlovu Fortune-Ndlovu requested a review from a team as a code owner July 1, 2024 14:28
@openshift-ci openshift-ci bot requested review from gashcrumb and kadel July 1, 2024 14:28
Copy link

openshift-ci bot commented Jul 1, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign pataknight for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

Copy link
Contributor

github-actions bot commented Jul 1, 2024

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1367!

@Fortune-Ndlovu Fortune-Ndlovu changed the title Pulling in scaffolder-relation-processor plugin from @backstage-commu… Pull in scaffolder-relation-processor plugin from @backstage-community to 1.2.x branch of janus-showcase because it is the new scope. Jul 2, 2024
@Fortune-Ndlovu
Copy link
Contributor Author

Fortune-Ndlovu commented Jul 2, 2024

@Fortune-Ndlovu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/images 9055751 link true /test images
Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/retest-required
/test images

Copy link

openshift-ci bot commented Jul 5, 2024

@Fortune-Ndlovu: Fortune-Ndlovu unauthorized: /override is restricted to Repo administrators, approvers in top level OWNERS file, and the following github teams:.

In response to this:

/override e2e-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link
Contributor

github-actions bot commented Jul 5, 2024

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1367!

@Fortune-Ndlovu
Copy link
Contributor Author

/test e2e-tests

…ation-processor to the dependencies section rather than the peerDependencies section for automatic installtion and direct dependency
Copy link
Contributor

github-actions bot commented Jul 5, 2024

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1367!

@Fortune-Ndlovu
Copy link
Contributor Author

/test e2e-tests

Copy link

openshift-ci bot commented Jul 9, 2024

@Fortune-Ndlovu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-tests 6474cec link unknown /test e2e-tests

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@nickboldt
Copy link
Member

nickboldt commented Jul 9, 2024

I'm confused.

The new https://github.com/backstage/community-plugins/blob/main/workspaces/scaffolder-relation-processor/package.json#L3 is at version 1.0.0 and is marked private.

But we have https://www.npmjs.com/package/@backstage-community/plugin-catalog-backend-module-scaffolder-relation-processor 0.2.0 from 21 days ago too.

@Zaperex how is the 1.0.0 package.json related to the 0.2.0 release?

Also there's a 1.1.1 version of https://www.npmjs.com/package/@janus-idp/backstage-plugin-catalog-backend-module-scaffolder-relation-processor-dynamic available from 20 days ago, which is presumably newer than the 1.0.3 or 0.2.0 versions in this PR.

@Zaperex
Copy link
Member

Zaperex commented Jul 9, 2024

I'm confused.

The new https://github.com/backstage/community-plugins/blob/main/workspaces/scaffolder-relation-processor/package.json#L3 is at version 1.0.0 and is marked private.
But we have https://www.npmjs.com/package/@backstage-community/plugin-catalog-backend-module-scaffolder-relation-processor 0.2.0 from 21 days ago too.

Ah so the package.json you referenced is the package.json of the workspace, not the package. The package.json of the package is here.

Also there's a 1.1.1 version of https://www.npmjs.com/package/@janus-idp/backstage-plugin-catalog-backend-module-scaffolder-relation-processor-dynamic available from 20 days ago, which is presumably newer than the 1.0.3 or 0.2.0 versions in this PR.

Technically it's newer just because the @janus-idp/cli dev dependency is slightly newer. BUT that shouldn't matter since the dynamic package does not include these dev dependencies at all.

@nickboldt
Copy link
Member

OK so I'm hearing that https://github.com/backstage/community-plugins/blob/main/workspaces/scaffolder-relation-processor/plugins/catalog-backend-module-scaffolder-relation-processor/package.json#L4 should be bumped to 1.1.2 so it's larger than the 1.1.1 version out there, to eliminate the confusion around "0.2 is newer than 1.1"

Would you agree with that ?

@Zaperex
Copy link
Member

Zaperex commented Jul 9, 2024

one main concern would just be semvar being broken, but when did backstage ever follow it 😂

Copy link
Member

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocked by some migration work to be done in https://issues.redhat.com/browse/RHIDP-3162

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.

None yet

3 participants