Create or update local git config when user changes Che Theia git settings #21115
Closed
Labels
area/plugins
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P1
Has a major impact to usage or development of the system.
sprint/current
Is your enhancement related to a problem? Please describe
If the user changes git user and git email in Che Theia
settings.json
and restarts the workspace he still has this message in the status bar:Moreover the gitconfig ConfigMap expected by the DevWorkspace operator is not created so if using git from the command line the email and name will be missing and the user won't be able to commit:
Describe the solution you'd like
When a user changes the git user name or git user email settings in Che-Theia, if the gitconfig ConfigMap- doesn't exist: create one with the content matching the one in Theia settings.json- exist: update the content with the new changes but don't delete other gitconfig settingsworkspace-preferences-configmap
)Note that local git config is the file under
$PROJECT_SOURCE/.git/config
The text was updated successfully, but these errors were encountered: