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

Enable to use a different user for SSH URLs than git

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Enable to use a different user for SSH URLs than git

      Previously, strict validation prevented workspace creation from URLs such as `user1@repository.example.com:/home/user1/repositories/myrepo.git`. The defect has been fixed in this release.
      Show
      = Enable to use a different user for SSH URLs than git Previously, strict validation prevented workspace creation from URLs such as ` user1@repository.example.com :/home/user1/repositories/myrepo.git`. The defect has been fixed in this release.
    • Bug Fix
    • Done

      Description of problem:

      It looks like the SSH URL to the git repository expects only the git user in form: 

      git@example.com:/path/to/repository.git

      Another username/login is not allowed, and the button for creating a Workspace from a repository is disabled when it does not start with git@. If developers have an account on a git server, it is then not possible to clone their repositories when they have a valid SSH key added. So, it is not possible to create a workspace from URLs like:

      user1@repository.example.com:/home/user1/repositories/myrepo.git

      When the first characters of the SSH URL are not git@, the button to create and open a workspace is disabled.

       

      Steps to Reproduce

      • Clone repository from a normal user stored on a server via SSH URL like: 
        user1@repository.example.com:/home/user1/repositories/myrepo.git

         

      Actual results:
      The button "Create & Open" is disabled.

      Expected results:

      The button "Create & Open" should be enabled, and the repository should be found if there are valid SSH keys to connect to the remote server with the repository.

      Reproducibility: Always

      Acceptance criteria: n/a
      Definition of Done: n/a
      Build Details: n/a

      Additional info:

              ibuziuk@redhat.com Ilya Buziuk
              rhn-support-rludva Radomir Ludva
              Serhii Skoryk Serhii Skoryk
              Jana Vrbkova Jana Vrbkova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: