Option to never create `.gitpod.yml`
Is your feature request related to a problem? Please describe
Sometimes when contributing to a repository, you don't want Gitpod to make a .gitpod.yml. You can add it to the gitignore, but many projects like to keep their gitignores minimal. An option to disable a gitpod.yml file from being created would be nice.
Describe the behaviour you'd like
An option in settings to stop gitpod from creating the file.
Describe alternatives you've considered
N/A
Additional context
Thanks for filing this feature request!
Note for the Meta team: If this is a highly requested and valuable feature, one relatively easy solution could be to make the .gitpod.yml inference code check for whether .gitignore has a .gitpod.yml entry, and in this case abandon guessing the config.
This would have the desired effect of not adding a .gitpod.yml to a workspace when the project "doesn't want it", and doesn't require a big implementation effort or UI design.
@jankeromnes I had suggested him to put /.gitpod.yml in his repository .gitignore but his point was: It’s just that I’m contributing to a project and don’t want to add unnecessary clutter cc @Milo123459
Ah @Milo123459. Ace suggestion. For anyone who needs this immediately, https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#excluding-local-files-without-creating-a-gitignore-file would be a good workaround for now.
Ah @Milo123459. Ace suggestion. For anyone who needs this immediately, https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#excluding-local-files-without-creating-a-gitignore-file would be a good workaround for now.
That's a nice alternative but unfortunately makes no difference since he will have to do that himself each time he opens a public repo where he wants to quick-contribute. Still the manual step remains.
@Milo123459 this is possible with the brand new dotfiles support. Just use this repo link: https://github.com/axonasif/autodel_gitpod_yml on the dotfiles field at https://gitpod.io/preferences/
Or copy the contents of install.sh if you have your own dotfiles repo.
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.
Can we revisit this? It's super annoying for me (and so many others) to have to delete this file on repo's we either don't want it on or don't have the say whether it exists or not
The dotfiles solution @axonasif gave is a great temporary solution but long term it feels like a workaround to patch a deceptive pattern
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.
Not stale :pray:
Not stale :pray:
@Milo123459 this is possible with the brand new dotfiles support. Just use this repo link: https://github.com/axonasif/autodel_gitpod_yml on the dotfiles field at https://gitpod.io/preferences/
Doesn't work for me for some reason - each new workspace contains .gitpod.yml even after I have added the repo to Preferences > Dotfiles.
I'd like a .gitpod.yml just not get created ever in any of my workspaces. Please add this checkbox somewhere, this is literally the only small (but very annoying) thing that stops me from being a paying customer :)
👋 @sergey-melnychuk can you try again? Should be working now.
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.
not stale