Skip to content

Add nodejs-patternfly-react-templates package - #12902

Merged
ogajduse merged 1 commit into
theforeman:rpm/developfrom
MariaAga:react-templates
Jan 16, 2026
Merged

Add nodejs-patternfly-react-templates package#12902
ogajduse merged 1 commit into
theforeman:rpm/developfrom
MariaAga:react-templates

Conversation

@MariaAga

@MariaAga MariaAga commented Jan 7, 2026

Copy link
Copy Markdown
Member

@MariaAga
MariaAga requested a review from a team as a code owner January 7, 2026 16:17
@ogajduse

Copy link
Copy Markdown
Member
[2026-01-07T16:29:27.560Z]         Error: Repoclosure ended with unresolved dependencies (2) across 2 packages.

[2026-01-07T16:29:27.560Z]         package: foreman-3.18.0-0.3.develop.el9.noarch from el9-foreman-nightly-staging

[2026-01-07T16:29:27.560Z]           unresolved deps (1):

[2026-01-07T16:29:27.560Z]             (rubygem(dynflow) >= 1.6.5 with rubygem(dynflow) < 2.0.0)

[2026-01-07T16:29:27.560Z]         package: foreman-assets-3.18.0-0.4.develop.el9.noarch from repo0

[2026-01-07T16:29:27.560Z]           unresolved deps (1):

[2026-01-07T16:29:27.560Z]             (npm(@patternfly/react-templates) >= 1.1.8 with npm(@patternfly/react-templates) < 2.0.0)

I'd say repoclosure error with (npm(@patternfly/react-templates) >= 1.1.8 with npm(@patternfly/react-templates) < 2.0.0) is expected.

But I am unsure about (rubygem(dynflow) >= 1.6.5 with rubygem(dynflow) < 2.0.0).

Anyone from @theforeman/packaging mind chiming in?

@ogajduse

Copy link
Copy Markdown
Member

@MariaAga, your patch needs to be rebased due to new changes in foreman.spec.

@adamruzicka

Copy link
Copy Markdown

But I am unsure about (rubygem(dynflow) >= 1.6.5 with rubygem(dynflow) < 2.0.0).

A rebase should make that go away

@MariaAga

Copy link
Copy Markdown
Member Author

rebased

@ogajduse

Copy link
Copy Markdown
Member

But I am unsure about (rubygem(dynflow) >= 1.6.5 with rubygem(dynflow) < 2.0.0).

A rebase should make that go away

It indeed went away. ACK on behalf of packaging. Not sure about the timing of the merge, so I'd leave merging up to you, Maria.

@adamruzicka adamruzicka left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'd be curious where the npm(diff) thing came from. Left some minor comments here and there, but in general this should be good to go

Requires: (npm(react-dnd) >= 14.0.2 with npm(react-dnd) < 15.0.0)
Requires: (npm(react-dnd-html5-backend) >= 14.0.0 with npm(react-dnd-html5-backend) < 15.0.0)
Requires: (npm(react-dom) >= 16.8.1 with npm(react-dom) < 17.0.0)
Requires: (npm(react-ellipsis-with-tooltip) >= 1.0.8 with npm(react-ellipsis-with-tooltip) < 2.0.0)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

note: Removed in theforeman/foreman@68c236f

Requires: (npm(rc-input-number) >= 6.0.0 with npm(rc-input-number) < 7.0.0)
Requires: (npm(react) >= 16.9.0 with npm(react) < 17.0.0)
Requires: (npm(react-ace) >= 9.5.0 with npm(react-ace) < 10.0.0)
Requires: (npm(react-bootstrap) >= 0.32.0 with npm(react-bootstrap) < 1.0.0)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

note: Removed in theforeman/foreman@38fecf3

Comment on lines -309 to +308
Requires: (npm(regenerator-runtime) >= 0.13.3 with npm(regenerator-runtime) < 1.0.0)
Requires: npm(regenerator-runtime) = 0.14.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

note: Pinned in theforeman/foreman@d2dc1d9

Comment on lines -264 to +265
Requires: (npm(diff) >= 5.1.0 with npm(diff) < 6.0.0)
Requires: npm(diff) = 5.2.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Where is this coming from?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ah, thank you

Comment on lines +1 to +2
%{?scl:%scl_package nodejs-%{npm_name}}
%{!?scl:%global pkg_name %{name}}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We do not use scl anymore. It does not hurt anything, but it is dead code. Assuming the spec was generated from our templates, I'd be willing to let it slide.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I ran ./update-requirements npm "../foreman/package.json" "./packages/foreman/foreman/foreman.spec"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Adam, seems you have a context about SCL usage. Would you mind creating an issue in this project to remove it from our specs and the template(s)?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Redmine is better, of course. :) Thank you!

@ogajduse
ogajduse merged commit ee33281 into theforeman:rpm/develop Jan 16, 2026
3 of 4 checks passed
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.

3 participants