-
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
Load Gitpod setup through URL params #3746
Comments
Important idea. |
AFAIU you described a mechanism that would allow to use "template repos" with Gitpod. We've just started working on a similar idea which would require the same "primitive": Gitpod config injection.( cmp. design doc) The idea is to basically have a wizard to streamline the initial repository configuration, without the need to re-start. This can be easily extended to tempalte-repositories as well. I will close this for now as we seem to have this on our roadmap already. Please re-open if you think it's not the case. |
Ah, just found the PR: #4428 |
@geropl by "wizard", did you mean https://gitpod.io/projects ? This issue is about allowing repos reuse existing (external) |
A way to provide external gitpod configuration and dockerfiles would be great - especially when working on larger projects where it isn't always appropriate to commit external tool configuration into the repository. An example there would be for working on Kubernetes - I have a fork that I work in (and just set up a GitPod workspace for), and can't commit the configuration to (if I want to maintain local master == upstream master). Currently I can provide an external gitpod.yml via settings, but can't provide a dockerfile through that interface. Expanding support to an external gitpod config repo would be great for managing and lifecycling that configuration - Plus give me a very convenient way to share the setup with other contributors when helping folks with their first contributions upstream. |
I don't quite understand why the configuration needs to sit in another git repository. Can you explain a bit more?
Yes, Gitpod does allow to setup a project that holds a configuration (currently only the |
The idea is to have a launcher that has gitpod configuration, rather than being intrusive on every single project. A random project (like a web project or something) doesn't need to have gitpod config itself (which also would need to be maintained). Instead, a launcher can launch it with config specified another way. Examples are https://github.com/drud/ddev-gitpod-launcher and https://github.com/shaal/DrupalPod. As you'll note in DrupalPod, the repositories being launched in gitpod are actually temporary forks of random Drupal.org issue repos, and while those could conceivably have gitpod config forced into them, it would just make a mess. |
Because it cannot always be in the project repository. For example, as an open-source contributor, I may want to use gitpod, but the project I am contributing to may not want to maintain a gitpod config in their sources. |
Also relates to: |
it will be a better solution if we figure out some way to fork the settings(just like environment ) from some repo made specifically for PHP that contains everything does LARAVEL projects need to get started just like the same way mentioned above. |
Sadly it looks like #4428 isn't available on the prod instance (I couldn't get it to work and looking at the code, it looks like it is explicitly disabled for
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Is your proposal related to a problem?
A PHP project that wants to use Gitpod, needs to create that setup, and then reload the workspace, which takes a long time.
Describe the solution you'd like
Load the required Gitpod setup through URL params, adding
gp=<repo_url>
, for example:https://gitpod.io/#https://github.com/drupal/drupal&gp=https://github.com/shaal/ddev-gitpod-setup
Gitpod will -
Describe alternatives you've considered
https://github.com/gitpod-io/definitely-gp seems to try solving a similar problem.
definitely-gp
is a more limited solution because it only includesgitpod.yml
andgitpod.Dockerfile
definitely-gp
official repo.Additional context
This feature will allow projects with complex setups like Drupal, to get contributions started with 1 click.
This feature can be added to the other feature request, using the UI to manage these complex URLs - Start Gitpod Workspace by pasting repo URL in dashboard #3715
The text was updated successfully, but these errors were encountered: