Skip to content

Ability to disable reading the global configuration #1607

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

Open
DmitryCape opened this issue May 11, 2023 · 2 comments
Open

Ability to disable reading the global configuration #1607

DmitryCape opened this issue May 11, 2023 · 2 comments
Labels
CLI Product area component: config Feature Issue type

Comments

@DmitryCape
Copy link

Hi guys 👋

We have an issue with Sentry CLI, it always tries to read the global config from ~/.sentryclirc.

Unfortunately, we can't allow doing that due to security reasons and therefore we get an error:

"Failed to load {CONFIG_RC_FILE_NAME} file from the home folder."

Would be great to provide an opportunity to skip this step using env var and start reading from project_config_path.

let (global_filename, mut rv) = load_global_config_file()?;

Thanks!

@kamilogorek
Copy link
Contributor

Hey, that sounds like a really nice first issue if someone would like to contribute :)

@DmitryCape
Copy link
Author

Hey, that sounds like a really nice first issue if someone would like to contribute :)

Opened :)
#1609

@linear linear bot added the CLI Product area label Apr 7, 2025
@stephanie-anderson stephanie-anderson added CLI Product area and removed Status: Backlog labels Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Product area component: config Feature Issue type
Projects
None yet
Development

No branches or pull requests

3 participants