devworkspace-generator should support git repositories other than github.com #22105
Labels
area/devfile-registry
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P1
Has a major impact to usage or development of the system.
sprint/next
team/A
This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che
Milestone
Is your enhancement related to a problem? Please describe
Devfile registry build, and in particular the
devworkspace-generator
, requires that the samples are in git.luolix.top.If the samples are in GitHub enterprise repositories (e.g.
github.<mycompany>.com
) it's not possible to do a custom build of the registry.Here are a couple of places where github.com is hardcoded.
Describe the solution you'd like
Supporting resolvers for GH enterprise, BB, GitLab etc...maybe overkill.
An alternative could be that samples get cloned locally and then generate_devworkspace_templates.sh invokes
devworkspace-generator
using the parameter--devfile-path
rather than the--devfile-url
.Additional context
Note that currently, using parameter
--devfile-path
rather than--devfile-url
, results in a devworkspace without a project (even if the--project
parameter is provided):So that should be fixed first.
The text was updated successfully, but these errors were encountered: