Skip to content

Support '[email protected]:{user}/{repo}.git' format in context URL #7950

@jankeromnes

Description

@jankeromnes

Is your feature request related to a problem? Please describe

Occasionally, users will try to open a repository in Gitpod like so:
https://gitpod.io/#[email protected]:gitpod-io/gitpod.git

This always results in an error page:

Oh no! Something went wrong!
Couldn't parse context '[email protected]:gitpod-io/gitpod.git'

Describe the behaviour you'd like

However, it's pretty obvious what users actually want to achieve.

I think Gitpod should automatically translate [email protected]:gitpod-io/gitpod.git to https://github.com/gitpod-io/gitpod.git (or consider them equivalent) and successfully create a new workspace for that repository.

(Note: I assume that the majority of users will already have logged in with GitHub, and thus already have a GitHub token at hand, so there is little point in actually supporting SSH-based authentication here.)

Describe alternatives you've considered

  • Continuing to show the Couldn't parse context error (🙄)
  • Implementing SSH-based authentication, or supporting any Git clone URL (value/effort ratio currently seems uninteresting)

Additional context

Requested by JetBrains

Metadata

Metadata

Assignees

Labels

team: webappIssue belongs to the WebApp teamtype: improvementImproves an existing feature or existing code

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions