Skip to content

Support reading devfiles from private repos other than GitHub/GitLab/Bitbucket/Azure #21951

@l0rd

Description

@l0rd

Is your enhancement related to a problem? Please describe

When the developer provides a private git repo HTTP URL (i.e. https://<che-host>/#<git-repo-http-url>), Eclipse Che looks for a devfile.yaml at the root of it and creates the corresponding DevWorkspace.

But that works only for GitHub, GitLab or Bitbucket and only if the git service has been previously configured (OAuth App or PAT). For other git services such as:

the devfile.yaml will be ignored the workspace will fail to start.

Describe the solution you'd like

Describe alternatives you've considered

Add OAuth and PAT support for other git services too.

Additional context

That's an issue for public repos too. But in the case of public repos there is a workaround. Instead of using the common workspace URL (https://<che-host>/#<git-repo-url>) the developer should use https://<che-host>/#<devfile-url>?remotes={<git-repo-url>}.

Metadata

Metadata

Assignees

Labels

area/git/dev-environment-configIssues and PRs related to the automatic setup of git within a cloud development environmentarea/git/oauth-servicesOAuth support to authenticate developers with their GitHub, GitLab, Bitbucket etc...accountskind/epicA long-lived, PM-driven feature request. Must include a checklist of items that must be completed.roadmap/3-monthsEpics that are planned to complete in the short term (within 3 months)severity/P1Has a major impact to usage or development of the system.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions