AcademySoftwareFoundation / AcademySoftwareFoundation/rez

build info should be available in early bound funcs

Open
#836 4 comments 0 reactions 0 assignees View on GitHub
enhancement rez-build
Dominant language
Python
Stars
1.1k
Forks
374
Avg merge
9d 12h
Merged PRs (30d)
5

Description

Early bound funcs can access a `building` boolean, but if True, there is no further access to build info (such as install path).

We should bind a new object, which is the same as the one in the upcoming 'pre_build_commands' feature: https://github.com/nerdvegas/rez/pull/825/files#diff-a40d02fd42f11a3aa670f277775c4f5eR228-R257

Contributor guide

Open the contributing guide

Research direction

Start with the early bound function handling and inspect the build-info object used by the referenced pre_build_commands feature in pull request #825. Confirm how the existing building boolean is bound and identify the corresponding build details, such as the install path. Done means early bound functions can access that object and its build information while building.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.