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

pkg: Add check for php-json #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arshad512
Copy link
Contributor

php-json package is used by webgui. While
the build would pass if php-json package is
missing. It may not render the graphs at all.

This patch adds check for php-json. During the
time of configure. It does not change workflow
or alters functions. If php-json is missing it
will throw an "warning" under config.log so
user can review it post running and add that if
necessary. Hard requirement of php-json was not
selected as not all users would like to use
webgui. Therefore the changes under robinhood.spec.in ("BuildRequires:") was not chosen.

Change-Id: I45c3aeccdd4983a5ae9935dc383b55ced9ffbc5e

php-json package is used by webgui. While
the build would pass if php-json package is
missing. It may not render the graphs at all.

This patch adds check for php-json. During the
time of configure. It does not change workflow
or alters functions. If php-json is missing it
will throw an "warning" under config.log so
user can review it post running and add that if
necessary. Hard requirement of php-json was not
selected as not all users would like to use
webgui. Therefore the changes under robinhood.spec.in
("BuildRequires:") was not chosen.

Change-Id: I45c3aeccdd4983a5ae9935dc383b55ced9ffbc5e
Signed-off-by: Arshad Hussain <[email protected]>
@arshad512 arshad512 marked this pull request as ready for review November 13, 2023 07:50
@tl-cea
Copy link
Member

tl-cea commented Aug 30, 2024

Isn't this something to be added in the %Requires section of the robinhood-webgui package?

I don't get why requiring this package at build time would affect the rendering on the system where the generated RPM is finally installed.

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.

2 participants