Skip to content

Epic(experiment): Allow creating a new repository from within the IDE #6904

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

Closed
Tracked by #7722
jankeromnes opened this issue Nov 25, 2021 · 5 comments
Closed
Tracked by #7722
Labels
component: ide meta: stale This issue/PR is stale and will be closed soon team: IDE type: epic type: feature request New feature or request

Comments

@jankeromnes
Copy link
Contributor

jankeromnes commented Nov 25, 2021

It would be cool to have a quick & convenient way to create a new repository from inside the IDE.

This would play particularly well when combined with this other feature request: #6903, as opening a workspace based on an archive will give you a workspace without any repository (i.e. no git init was run).

Maybe the IDE could even detect that you currently don't have a repository, and proactively propose that you create one (either immediately, or if you try to push). I imagine that it could simply prompt the user for a repository name, and then automatically initialize the local repository & create the remote repository.

Alternatively, maybe there are already good VS Code extensions to accomplish this (e.g. maybe the GitHub and GitLab extensions we already have can do that?). Then it would just be a matter of making sure they are installed by default and pre-authenticated in Gitpod.

@akosyakov
Copy link
Member

Also a user can go to GitHub create a repo and follow GH guidance as he will do on local machine? Should not we ship rather than gh cli instead: https://cli.github.com/manual/gh_repo_create

@akosyakov
Copy link
Member

akosyakov commented Nov 26, 2021

Actually VS Code already has something built-in:

  • if you don't have git repo yet:

Screenshot 2021-11-26 at 10 22 45

Screenshot 2021-11-26 at 10 22 55

  • if you have repo and try to push:

Screenshot 2021-11-26 at 10 23 21

Screenshot 2021-11-26 at 10 23 25

@akosyakov
Copy link
Member

For GitLab though. We will need to enhance built-in git vscode extension.

@loujaybee
Copy link
Member

loujaybee commented Nov 29, 2021

Thanks for raising @jankeromnes !

This feels a little like we're solving a problem we think users will have. I agree with @akosyakov here that there are ways to do this within VS Code (if the user is versed) or via the old-school terminal approach.

I think it's best to proceed with this issue by lifting the restriction around requiring a repo to clone, and then assess if users do struggle with this repo set up before implementing a solution.

Would I be correct to assume that this issue is motivated by a concern that we don't want to encourage users to use gitpod environments in a repo-agnostic way, as that devalues the proposition around configuring/codifying your repo in code?

@loujaybee loujaybee changed the title Allow creating a new repository from within the IDE Epic(experiment): Allow creating a new repository from within the IDE Dec 21, 2021
@loujaybee loujaybee moved this to Proposed in 🚀 IDE Team Dec 21, 2021
@stale
Copy link

stale bot commented Mar 25, 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 Mar 25, 2022
@stale stale bot closed this as completed Apr 8, 2022
@stale stale bot moved this to Done in 🍎 WebApp Team Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ide meta: stale This issue/PR is stale and will be closed soon team: IDE type: epic type: feature request New feature or request
Projects
Archived in project
Status: Scheduled
Development

No branches or pull requests

3 participants