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

[Feature Request]: Allow anonymization of the output when calling chpl --print-chpl-settings and friends? #25018

Open
lydia-duncan opened this issue May 8, 2024 · 1 comment

Comments

@lydia-duncan
Copy link
Member

lydia-duncan commented May 8, 2024

Summary of Feature

Description:
$CHPL_HOME/util/printchplenv has an anonymize flag that allows printing Chapel settings without details like the path to the user's installation of Chapel. The Chapel compiler itself provides a flag that generates some similar (if more detailed) information, --print-chpl-settings. Should there be an alternative to this flag or something that prints the same information but is anonymized?

Is this a blocking issue with no known work-arounds?
No, if a user really wants to sanitize the results, they can do so by hand (it's just annoying)

Code Sample

I'm personally ambivalent about what this should look like, here's some options:

chpl --print-chpl-settings-anonymous # or
chpl --print-chpl-settings --anonymize
@jabraham17
Copy link
Member

I would advocate for a flag like --print-anon-chpl-settings, --print-chpl-anon-settings, --print-chpl-settings-anon. I think --print-chpl-settings-anonymous is a really long flag to type, and a standalone --anonymize flag on chpl has no meaning without --print-chpl-settings.

This also matches printchplenv behavior. I don't know if it is intentional or not (its not documented anywhere), but printchplenv --anon and printchplenv --anonymize work the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants