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

[Question]: Configure Global project ID #268

Open
rjshrjndrn opened this issue Apr 11, 2024 · 2 comments
Open

[Question]: Configure Global project ID #268

rjshrjndrn opened this issue Apr 11, 2024 · 2 comments

Comments

@rjshrjndrn
Copy link

rjshrjndrn commented Apr 11, 2024

Is there any way to have global project id, say in the ~/.config/depot/depot.yaml, so that every git project doesn't have to have depot.json in .gitignore?

@jacobwgillespie
Copy link
Member

Hey! So the Depot CLI will actually search for a depot.json file in any parent directory when trying to resolve the project ID - are your git projects in a common directory? If they're all underneath your home directory for instance, a ~/depot.json would apply to all of them

@rjshrjndrn
Copy link
Author

Good to know that. But no, my projects doesn't have a common parent directory. But depot already have Api token stored in ~/. config/depot.yaml.cant we consider that as the global config file? And for project based config, per do rectory depot.json or yaml will take precedence?

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

2 participants