Skip to content

Add REZ_USED_LOCAL_RESOLVE context environment variable#1378

Merged
JeanChristopheMorinPerso merged 3 commits intoAcademySoftwareFoundation:masterfrom
JoshkVFX:master
Nov 15, 2022
Merged

Add REZ_USED_LOCAL_RESOLVE context environment variable#1378
JeanChristopheMorinPerso merged 3 commits intoAcademySoftwareFoundation:masterfrom
JoshkVFX:master

Conversation

@JoshkVFX
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@nerdvegas How's that look?

@JeanChristopheMorinPerso
Copy link
Copy Markdown
Member

Thanks for documenting it! To me it looks great.

Copy link
Copy Markdown
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