-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preconfigure git user information from Che user's profile/preferences #13874
Comments
This sounds like a must have IMO and I can understand why it was labelled as a bug in #13880. |
|
I can propose such solution:
wdyt? |
So this similar to 1. from the description: 1. Retrieve defaults one from the che user api.
I am not sure which use case it is solving. And it sounds too complicated. |
Technically, there's no difference. I mean, first, look for a preconfigured attributes in profile, if there is no attributes, then took user name and email.
User can execute command git config and set up |
This issue is about having the git config Your use case involves a workspace restart, synchronizations and user manual configuration which sounds too complicated. |
Okay, then I'm going to reopen this issue: #13959 |
@vzhukovskii I like the approach. Let' s implement the |
Yes, there is a dedicated issue for that: #14416 |
@vzhukovskii sorry i removed my comments because i wanted to double check first |
Is your enhancement related to a problem? Please describe.
When the user is performing a
git commit
through a terminal on a container or through the vscode extension, email and name are not configured.At the moment, the user has to run these commands on the right git containers each time a new workspace is started.
Describe the solution you'd like
If it was resolved in Che-theia, it will be good to get them from
/api/preferences
.Few ideas for fixing it:
$HOME
maybe different is moving from one container to another)Describe alternatives you've considered
If it was resolved in deployments, it will be good to create configmap and to mount
/etc/gitconfig
.Additional context
The text was updated successfully, but these errors were encountered: