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

RSTUDIO_PRODUCT is deprecated; support POSIT_PRODUCT #389

Open
mconflitti-pbc opened this issue Feb 24, 2025 · 0 comments · May be fixed by #391
Open

RSTUDIO_PRODUCT is deprecated; support POSIT_PRODUCT #389

mconflitti-pbc opened this issue Feb 24, 2025 · 0 comments · May be fixed by #391
Assignees
Labels
sdk Used for automation

Comments

@mconflitti-pbc
Copy link
Collaborator

mconflitti-pbc commented Feb 24, 2025

This calls for helper(s) to determine which environment is being used. For example:

  • client.is_running_on_connect()
  • client.is_running_on_workbench()

or something similar to encapsulate the check.

Need to check both RSTUDIO_PRODUCT and POSIT_PRODUCT since older versions of connect and workbench will not have the latter set, but when it is set, they will be the same value. RSTUDIO_PRODUCT has not yet been removed, only deprecated for now.

Once merged, ensure that any documentation examples in our products use these helpers for the latest version of this utility. Add fallback note if not on version that includes these helpers.

@github-actions github-actions bot added the sdk Used for automation label Feb 24, 2025
@mconflitti-pbc mconflitti-pbc self-assigned this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sdk Used for automation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant