Project

General

Profile

Actions

Bug #13682

closed

server command based on jq should exit when jq is not installed and explain to install it

Added by Vincent MEMBRÉ about 6 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Server components
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
83
Name check:
Fix check:
Regression:

Description

Server commands based on jq (like directive-upgrade, but not only) are failling when running them if jq is not installed

We should check that jq is installed and if not exit with an error explaining that you need jq to use this command

The following commands contains use to jq:

  • directive-upgrade
  • directive-replace
  • directive-migrate-package

This is already done in remote-run command, so this should be put in a lib and used in other commands

Actions

Also available in: Atom PDF