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

Add REZ_USED_LOCAL_RESOLVE context environment variable #1378

Merged

Conversation

JoshkVFX
Copy link
Contributor

@JoshkVFX JoshkVFX commented Sep 15, 2022

Populate the environment variable "REZ_USED_LOCAL_RESOLVE" in the same style as REZ_USED_EPH_RESOLVE for any packages resolved to a local destination

Closes #1371

Let me know if there's a version number I need to bump or something

@JoshkVFX JoshkVFX requested a review from nerdvegas as a code owner September 15, 2022 04:21
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 15, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: JoshkVFX / name: Josh (9e01c5c)

Populate the environment variable "REZ_USED_LOCAL_RESOLVE" in the same style as REZ_USED_EPH_RESOLVE for any packages resolved to a local destination

Signed-off-by: Josh <josh@kelly.camera>
Signed-off-by: Josh <josh@kelly.camera>
Copy link
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. That's exactly what I was imagining.

Copy link
Contributor

@nerdvegas nerdvegas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm ok with what's been done here, but the docs need updating here: https://github.com/AcademySoftwareFoundation/rez/wiki/Environment-Variables#context-environment-variables

Take care to note that this new envvar will contain a subset of what's already in REZ_USED_RESOLVE.

You just need to update this file, the wiki will be updated for you: https://github.com/AcademySoftwareFoundation/rez/blob/master/wiki/pages/Environment-Variables.md

Signed-off-by: Josh <josh@kelly.camera>
@JoshkVFX JoshkVFX requested a review from a team as a code owner September 23, 2022 07:06
@JoshkVFX
Copy link
Contributor Author

@nerdvegas How's that look?

@JeanChristopheMorinPerso
Copy link
Member

Thanks for documenting it! To me it looks great.

Copy link
Contributor

@bpabel bpabel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JeanChristopheMorinPerso JeanChristopheMorinPerso requested review from nerdvegas and removed request for nerdvegas October 17, 2022 19:08
@JeanChristopheMorinPerso JeanChristopheMorinPerso added this to the 2.112.0 milestone Oct 22, 2022
@JeanChristopheMorinPerso JeanChristopheMorinPerso dismissed nerdvegas’s stale review November 15, 2022 01:19

The requested change was correctly made

@JeanChristopheMorinPerso JeanChristopheMorinPerso merged commit 44b3d51 into AcademySoftwareFoundation:master Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose an environment flag if any locally installed packages were resolved in the current context
5 participants