Actions
Bug #24049
closedRudder package stop at the first malformed plugin in the index
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
If a plugin is malformed and listed in the index, the index will never be parsed and most of the CLI commands will be unusable until the repository is fixed.
This is troublesome for the user, a malformed plugin should be ignored in the index, but it should not prevent the readability of the others correct listed ones.
Also, the rudder package list should not parse the index by default.
root@server:~# rudder package -d list DEBUG rudder_package: Parsed CLI arguments: Args { config: "/opt/rudder/etc/rudder-pkg/rudder-pkg.conf", debug: true, command: List { all: false, enabled: false, format: Human } } DEBUG rudder_package: Parsed configuration: Configuration { url: "https://download.rudder.io/plugins", credentials: Some(Credentials { username: "demo-normation", password: [REDACTED String] }), proxy: None } DEBUG rudder_package::versions: Rudder version read from '/opt/rudder/share/versions/rudder-server-version' file: '8.1.0~alpha2~git202401220219'. DEBUG rudder_package::database: No database yet, using an empty one ERROR rudder_package: Unparsable Rudder version mode '.alpha2' at line 33 column 1
Actions