-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Plugin install failure exit codes are not unique #15295
Copy link
Copy link
Closed
Labels
:Core/Infra/PluginsPlugin API and infrastructurePlugin API and infrastructure>enhancementgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Description
I was just debugging a problem in libesvm where installations failed to download, and was using the exit code (74) to handle that case.
This was fine until I ran it several times and the plugin was already installed, since that exit code was the same (74).
This meant that I needed to write a workaround to parse stdout, which isn't ideal. It would be great if these (and perhaps other) errors used different exit codes so that scripts that consume the plugin tool could more easily react differently based on the reason for failure.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/PluginsPlugin API and infrastructurePlugin API and infrastructure>enhancementgood first issuelow hanging fruitlow hanging fruithelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.