You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dynamically localise packages as you resolve a request.
Motivation
Sometimes, you're aware of what packages run slow and can explicitly localise the ones that interest you. Other times you rely on #6 (Automatic Localisation) to localise for you.
But other times you want to resolve a request for the first time and just want everything running locally.
The --transient flag removes localised packages once you exit the context, for those quick-and-dirty sessions where you've got some requirements and a task at hand, but it's a one-off and you don't expect to return.
If packages are already local at the time of the request, nothing is localised and it's practically a no-op, that guarantees everything is local every time you run it, and takes the appropriate measures if it isn't already.
The text was updated successfully, but these errors were encountered:
Goal
Dynamically localise packages as you resolve a request.
Motivation
Sometimes, you're aware of what packages run slow and can explicitly localise the ones that interest you. Other times you rely on #6 (Automatic Localisation) to localise for you.
But other times you want to resolve a request for the first time and just want everything running locally.
Implementation
This command wraps
rez env
with a prior call tolocalise
, to first localise the request prior to entering the context.The
--transient
flag removes localised packages once you exit the context, for those quick-and-dirty sessions where you've got some requirements and a task at hand, but it's a one-off and you don't expect to return.If packages are already local at the time of the request, nothing is localised and it's practically a no-op, that guarantees everything is local every time you run it, and takes the appropriate measures if it isn't already.
The text was updated successfully, but these errors were encountered: