-
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
Support reading devfiles from private repos other than GitHub/GitLab/Bitbucket/Azure #21951
Comments
related Dev Spaces issue https://issues.redhat.com/browse/CRW-3927 |
@l0rd given that we now support azure and basic OAuth I believe in order to resolve this issue we need to still fix:
|
Resolving the devfile using the user git credentials or SSH key is important too (today we can only do that with the PAT). But we can focus on those last 2 issues you mentioned, making things more stable and well documented, and use a separate issue for the resolver that uses git credentials or SSH key. |
I have created the last issue #22356 (documentation) for this epic. |
This issue has been fixed |
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 adevfile.yaml
at the root of it and creates the correspondingDevWorkspace
.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:
thethe workspace will fail to start.devfile.yaml
will be ignoredDescribe 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 usehttps://<che-host>/#<devfile-url>?remotes={<git-repo-url>}
.The text was updated successfully, but these errors were encountered: