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

InteractiveUtils.versioninfo(): when verbose=true, print environment variables that might affect the NetworkOptions stdlib; also, try to redact some (but not all) sensitive environment variables #43836

Closed
wants to merge 2 commits into from

Conversation

DilumAluthge
Copy link
Member

No description provided.

…ent variables that might affect the `NetworkOptions` stdlib; also, try to redact some (but not all) sensitive environment variables
@DilumAluthge DilumAluthge force-pushed the dpa/netopts-env-vars-versioninfo-verbose branch from a218bca to 85ffe2e Compare January 17, 2022 06:55
@DilumAluthge DilumAluthge added the stdlib Julia's standard library label Jan 17, 2022
@fredrikekre
Copy link
Member

Could be implemented in https://github.com/JuliaLang/BugReporting.jl instead maybe?

@vtjnash
Copy link
Member

vtjnash commented Jan 24, 2022

BugReporting already contains a full copy of all of these secrets

@DilumAluthge
Copy link
Member Author

DilumAluthge commented Jan 25, 2022

One of the motivations for this PR is to help people diagnose errors that they encounter when they try to download and install packages. Putting this functionality into an external package would not work, because this PR is trying to help users that are not able to install any external packages.

@DilumAluthge
Copy link
Member Author

Bump @StefanKarpinski

@vtjnash
Copy link
Member

vtjnash commented Feb 9, 2022

@StefanKarpinski Is this a good list of variables, or is there a better way to print the full set of NetworkOptions information?

@DilumAluthge DilumAluthge marked this pull request as draft February 15, 2022 23:53
@DilumAluthge
Copy link
Member Author

@vtjnash Based on your idea here, perhaps this would go better in a NetworkOptions.__diagnostics__() function?

@DilumAluthge
Copy link
Member Author

Closing in favor of JuliaLang/NetworkOptions.jl#21

@DilumAluthge DilumAluthge deleted the dpa/netopts-env-vars-versioninfo-verbose branch February 16, 2022 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Julia's standard library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants