Skip to content

Allow "common" or "shared" payloads between variants. #2019

@herronelou

Description

@herronelou

Packages should have a way to specify a payload that is shared between all variants.

Motivation
Reduced data storage and file-wrangling.

Example:
Today I had to install 10 variants of a package (5 nuke versions x 2 OSes). Each variant is 300MB, but of that only 75MB is compiled for the OS/Nuke version, everything else is python and supporting data.
We want to modify the menu.py provided by the vendor slightly to suit our pipeline, and so I need to do that 10 times.
With a shared payload, we could have a package that's 975MB total, with a single menu.py to modify, instead of 3000MB and 10 menu.py.

Possible implementation
Being able to access {base} like we access {root} in the package definition might be sufficient, along with a way for certain rez commands such as rez-cp to understand what is a variant and what is a "shared" file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions