-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Create new project by cloning a template #5583
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
Comments
FWIW, with the /quickstart section in docs we (in words) followed a similar flow: https://www.gitpod.io/docs/quickstart/ruby-on-rails. Really looking forward to get this written in code and productized |
Are there any insights on the effort yet? Given the time until the official launch we should maybe postpone that and remove it from "needed for shipping" |
Thanks @JanKoehnlein! Moving this to the Next Iteration for now unless we manage put some effort on this for next week. |
Now, that new users land in the /new flow, we should allow them to pick a template to start fresh projects rather than only importing existing projects. I think it could be cool to design this feature, so that I can use a context URL with an archive or so, that is used. So people can build links to easily start projects based on their own templates. |
@jldec @JanKoehnlein happy to jump on a call to explore this in more depth. |
MVP design ideascc: @gtsiolis How about reusing the list of docs quickstart template repos from the website?
|
/schedule |
@jldec: Issue scheduled in the meta team (WIP: 0) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It would be nice to reuse something indeed, but this would
Instead, we should have a single page where users can pick the org, name and whether the repo should be public/private. And then generate and initialize the project for them based on an archive. |
See also #6645 |
FYI, I'd be interested in working on this, if nobody else wants to 😊 (and I'd wait for the required visual designs, but I'm also happy to discuss / help create these designs) |
/assign @jankeromnes Thanks Jan, let's start with a really minimal design as suggested by @svenefftinge It would be great to have the mechanics of new repo creation with error handling working so that we can better understand the necessary user interactions, while we work on the UI design in parallel.
|
Thanks @jldec, good idea! One small note: I believe that there are at least two ways to create a repo based on a template:
My current understanding is that we'll likely skip 1. for now (GitHub-only and more restrictive) and implement 2. (but try to follow established standards with respect to project name, commit author, commit message, etc) |
Yes - good point - I had similar intuitions, but after playing with the Vercel UI (see below) I think the "create repo" UX can be quite small & simple. See also comments above. |
Following yesterday's discussion (internal), we've decided to discontinue work on this issue (i.e. choosing a template during Project creation) for now, and instead focus on #6903 (opening archives in Gitpod); #6904 (allowing repository creation from the IDE); and #6906 (allowing Project creation from the IDE). |
In case this is helpful in the future, here is my work-in-progress branch implementing a "create a repository from a template repository" feature: https://github.com/gitpod-io/gitpod/compare/jx/project-templates It's able to successfully create new repositories from a GitHub or GitLab template, and has a minimal UI in the dashboard: |
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. |
I think we have chosen a different path with the new open workspace dialog and the auto-inference of the |
The new project flow, should allow users to pick a template and create a fresh project based on that.
As a result, a user should be able to create a fresh repository with the initial scaffolding provided by the picked template. The repo should be added to the githoster the user chose and live under the org/group the user had chosen during the project creation flow.
As with imported projects the user get directed to the configuration page, which should already run a prebuild if the
.gitpod.yml
exists.To be investigated:
The text was updated successfully, but these errors were encountered: