Add support of Github PR URLs to a git repo URL Factory #11045
Labels
kind/enhancement
A feature request - must adhere to the feature request template.
status/code-review
This issue has a pull request posted for it and is awaiting code review completion by the community.
Milestone
Description
Che supports the creation of factories for a Github repo https://www.eclipse.org/che/docs/factories-getting-started.html#invoke-factory-for-a-specific-git-repo
We can add a new feature: support of PR URLs to this Factory capability.
For a link like https://che-url/factory?url=https://github.com/eclipse/che/pull/10740 we would apply a factory that clones git repo and checks out to a PR branch.
Note that there might be 2 kinds of repos for a PR:
We can implement one of the cases for the beginning and create a separate issue for another one, or we can implement both in the same contribution.
Reproduction Steps
OS and version:
Diagnostics:
The text was updated successfully, but these errors were encountered: