Project

General

Profile

Actions

User story #23584

open

Rewrite the rudder-package CLI

Added by Félix DALLIDET about 1 year ago. Updated 15 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Server components
Target version:
UX impact:
It bothers me each time
Suggestion strength:
Advise - This would make Rudder significantly better | easier | simpler
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Large
Name check:
To do
Fix check:
To do
Regression:
No

Description

The rudder-package tool is currently written in ugly Python code, which makes it quite hard to maintain.
Also, the CLI was poorly designed since it was made before the plugins were a thing in Rudder. A cleanup would be appreciated.

Ideally, we will want:
  • A way more documented/tested internal interface
  • Not python based, but packaged as a compiled binary
  • Get rid of the table display as it makes output parsing impossible
  • To maybe remove it from the relays
  • Make it more easy to update in the future as we may have to rework the plugins distribution system

Subtasks 3 (0 open3 closed)

User story #23585: Port the index and database parsing of rudder-package in rustReleasedAlexis MoussetActions
User story #23603: Add rpkg unpacking in the rust portReleasedAlexis MoussetActions
User story #23624: Continue implementing the installation part of the rudder-package rust portReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF