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

Simplify message shown when WS app missing deps #1328

Merged
merged 2 commits into from
Jul 9, 2020
Merged

Conversation

marcparadise
Copy link
Member

@marcparadise marcparadise commented Jul 8, 2020

When the Workstation App is missing dependencies on linux,
the postinst script spams the screen with a long list of missing
libraries.

This PR modifies the messaging to exclude the missing dependency list, and
recommend installing the 'electron' app to meet them.

This is not ideal, but given the constraints of omnibus (optional
package dependencies are not supported) and our desire to ensure that
the desktop application is included in the Workstation package,
it seems a reasonable compromise.

In the future, a cleaner path would be to build electron (and its deps) in the
omnibus build of Workstation.

Fixes #345

Signed-off-by: Marc A. Paradise marc.paradise@gmail.com

Aha! Link: https://chef.aha.io/features/SH-2542

When the Workstation App is missing dependencies on linux,
the postinst script spams the screen with a long list of missing
libraries.

This PR modifies the messaging to exclude the missing dependency list, and
recommend installing the 'electron' app to meet them.

This is not ideal, but given the constraints of omnibus (optional
package dependencies are not supported) and our desire to ensure that
the desktop application is included in the Workstation package,
it seems a reasonable compromise.

In the future, a cleaner path would be to build electron (and its deps) in the
omnibus build of Workstation.

Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
@marcparadise marcparadise requested review from a team as code owners July 8, 2020 18:26
@netlify
Copy link

netlify bot commented Jul 8, 2020

Deploy preview for chef-workstation ready!

Built with commit 7dc3393

https://deploy-preview-1328--chef-workstation.netlify.app

@tyler-ball tyler-ball merged commit 2505df6 into master Jul 9, 2020
@chef-expeditor chef-expeditor bot deleted the mp/WS-345 branch July 9, 2020 22:01
@jonsmorrow jonsmorrow added the Epic label Nov 2, 2020
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.

chef-workstation RPM warns of missing dependencies, probably needs refactoring
4 participants