Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-7947

Git user.name and user.email in gitconfig don't set automatically with PAT or OAuth if open Gitconfig page before configuration

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Git user.name and user.email not set up automatically

      There is a known issue affecting the automatic setup of Git `user.name` and `user.email in the `gitconfig` file after you configured your access token (PAT) or OAuth. If you open User Dashboard > Gitconfig page after PAT or OAuth configuration, you receive the following error message: "Author identity unknown." A workaround exists.

      .Workaround

      * Add git `user.name` and `user.email.` manually in User Preferences > Gitconfig page.
      Show
      = Git user.name and user.email not set up automatically There is a known issue affecting the automatic setup of Git `user.name` and `user.email in the `gitconfig` file after you configured your access token (PAT) or OAuth. If you open User Dashboard > Gitconfig page after PAT or OAuth configuration, you receive the following error message: "Author identity unknown." A workaround exists. .Workaround * Add git `user.name` and `user.email.` manually in User Preferences > Gitconfig page.
    • Known Issue
    • Done
    • Workaround Exists
    • Add git user.name and user.email manually on User Preferences -> Gitconfig page.

      Description of problem:

      Git user.name and user.email in gitconfig don't set automatically if use PAT or OAuth. That happens if open User Dashboard -> Gitconfig page after PAT or OAuth configuration

      Workaround

      Add git user.name and user.email manually on User Preferences -> Gitconfig page 

      Prerequisites (if any, like setup, operators/versions):

      Dev Spaces 3.18.0.RC-33

      Steps to Reproduce

      1. Open User Preferences -> Gitconfig page(git name and email are empty)
      2. `workspace-userdata-gitconfig-configmap` config map with user data in user namespace created.
      3. Configure OAuth or PAT
      4. Check Gitconfig page again
      5. If try to commit changes in Editor it trows `Author identity unknown` error 

      Actual results:

      Git user name and email are empty

      Expected results:

      Git user name and email taken from git user data

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              ivinokur-1 Ihor Vinokur
              sskoryk Serhii Skoryk
              Serhii Skoryk Serhii Skoryk
              Jana Vrbkova Jana Vrbkova
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: