sentry-cli icon indicating copy to clipboard operation
sentry-cli copied to clipboard

Allow specifying location of .sentryclirc

Open chrisspen opened this issue 3 years ago • 2 comments

The docs state that the default path to the sentry configuration file (.sentryclirc) is ~/.sentryclirc.

Placing this file in the user's home directory, with no way to change it, create problems if you have more than one project using Sentry. Specifically, it prevents you from using Sentry on more than one project, unless you're willing to abandon the configuration file altogether and pass all your project parameters directly on the command line.

Please provide an option to specify this path on the command line, or check for it in the current working directory. This would make Sentry much easier to use in a multi-project environment.

chrisspen avatar Sep 20 '22 21:09 chrisspen

Please provide an option (...) or check for it in the current working directory.

This is how it already works.

The config file is looked for upwards from the current path and defaults from ~/.sentryclirc are always loaded.

If you place .sentryclirc in your projects directory, it will be picked up.

kamilogorek avatar Sep 21 '22 08:09 kamilogorek

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Oct 13 '22 00:10 github-actions[bot]