Skip to content
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

add default gitpod.yml file #5337

Closed
mike-seagull opened this issue Aug 23, 2021 · 7 comments
Closed

add default gitpod.yml file #5337

mike-seagull opened this issue Aug 23, 2021 · 7 comments

Comments

@mike-seagull
Copy link

A useful feature for me would be the ability to add a default gitpod.yml file for my profile. Alot of the time I end up using the same config file for many of my projects and it would be useful to keep from needing to copy a file between projects. And it becomes a hassle when I need to update this file everywhere if I want to change something.

@shism2
Copy link

shism2 commented Aug 24, 2021

Good idea

@svenefftinge
Copy link
Member

Can share what you put into your .gitpod.yml files? They are meant to define what is needed for a specific project, so all developers on that project can enjoy the same working setup.

@mike-seagull
Copy link
Author

@shism2
Copy link

shism2 commented Aug 24, 2021 via email

@svenefftinge
Copy link
Member

Here are examples where I used the same config file in each project.

Looks like you'd like to use your own default image? As soon as you start collaborating with others this would break the project setup unfortunately. E.g. others might miss a tool or use a different version. This configuration drift issues is one key problem Gitpod is solving.
There is however a need for user-level additions. We currently only support settings and extensions here, but will add user-specific dotfile repos soon.

@svenefftinge
Copy link
Member

svenefftinge commented Aug 26, 2021

Ideally there would be some way to select a default gitpod.yml to add or
some sort of mechanism that automatically notifies the user about a missing
gitpod.yml or begins the "gp init" command automatically.

Yes, we are building a .gitpod.yml inference functionality which we apply when setting up new projects as part of our upcoming project creation flow. We might totally add a notification in the IDE, to generate that .gitpod.yml if a repo doesn't have one.

@svenefftinge
Copy link
Member

I'll close this as fixed by #5236 (infer default .gitpod.yml), a duplicate of #5198 (user customization through dotfiles) and "won't fix" for user-level project configuration (due to reasons above). Let me know if I missed something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants