Skip to content

Epic: Start Fresh Projects #7722

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

Open
2 of 3 tasks
svenefftinge opened this issue Nov 26, 2021 · 5 comments
Open
2 of 3 tasks

Epic: Start Fresh Projects #7722

svenefftinge opened this issue Nov 26, 2021 · 5 comments
Assignees
Labels
meta: never-stale This issue can never become stale team: IDE team: webapp Issue belongs to the WebApp team type: epic

Comments

@svenefftinge
Copy link
Member

New projects are usually started in a dev environment. Therefore we want to allow starting workspaces that are not connected to a remote git repository. they might be completely empty or seeded based on an archive.

@svenefftinge svenefftinge changed the title Starting Fresh Projects Start Fresh Nov 26, 2021
@loujaybee
Copy link
Member

I really like the idea of letting a user configure a repo from a blank canvas (not associated to a repo).

Question for those reading: Would the intention be to nudge a user towards always creating a project configuration? Would weakening the (currently strong) connection of a workspace with a repo as a 1<>1 have any impacts on users perception of how Gitpod is to be used (to codify setup of a project / repo? Or are we open to experimenting with that?

I have a generic blank project that I use as my personal "start point" when I don't have (or want) a repo to start from.

@ntziolis
Copy link

Creating a new repo from an existing template repo would be a great start. Some further thoughts:

  • New projects are often created using CLI generators (angular, nx, ionic etc.)
  • Hence it would be great if a custom script could be executed ONCE at project creation
  • However these CLI commands require variable inputs (project name etc.)
  • These variables should be
    • collected prior to the setup script being executed
    • and the values should be available for the script to use

Based on the above I propose

  • creating "gitpod-templates"
  • and a corresponding gallery that also allows marking templates as public for others to use
  • when choosing a template with variables from the gallery a UI would be rendered to collect variable values and make them available as environment variables of the downstream project creation process.

A simple template structure could be something like:

  • name / description (to be displayed in library)
  • variables
    • name
    • type
      • initially could be text only
      • but later should allow more precise control like
        • providing a type
        • providing a set of valid values (think dropdown)
  • type specific properties
    • for clone type it would be the clone url
    • for script it would be the script

A template approach has the following advantages:

  • Enables CLI based project creation
  • Through use of a generator CLI enable templates that are always up to date during time of creation
    • This is a major issue when looking at how fast certain ecosystems move (angular etc.)
  • Enables sharing of complex up to date templates easily
    • One of my major beefs with stackblitz shared repos is that thy are almost always out of date

@svenefftinge svenefftinge transferred this issue from another repository Jan 20, 2022
@svenefftinge svenefftinge changed the title Start Fresh Epic: Start Fresh Jan 20, 2022
@svenefftinge svenefftinge changed the title Epic: Start Fresh Epic: Start Fresh Projects Jan 20, 2022
@svenefftinge svenefftinge added type: epic team: IDE team: webapp Issue belongs to the WebApp team labels Jan 20, 2022
@loujaybee loujaybee self-assigned this May 4, 2022
@jwpjrdev
Copy link
Contributor

jwpjrdev commented Jun 4, 2022

I wouldn't mind working on this a little. Are there any mockups for what such a menu would look like in the dashboard?

@stale
Copy link

stale bot commented Sep 8, 2022

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.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Sep 8, 2022
@stale stale bot closed this as completed Sep 25, 2022
@stale stale bot moved this to Done in 🚀 IDE Team Sep 25, 2022
@jwpjrdev
Copy link
Contributor

can someone make this never-stale?

@gtsiolis gtsiolis added meta: never-stale This issue can never become stale and removed meta: stale This issue/PR is stale and will be closed soon labels Sep 26, 2022
@loujaybee loujaybee reopened this Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: never-stale This issue can never become stale team: IDE team: webapp Issue belongs to the WebApp team type: epic
Projects
Status: Done
Development

No branches or pull requests

5 participants