AcademySoftwareFoundation / AcademySoftwareFoundation/rez

add option to clear variant before install

Open
#289 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.1k
Forks
369
Avg merge
12d 3h
Merged PRs (30d)
5

Description

Currently, repeatedly doing a rez-build -i will reinstall over the old package. If you do things like rename python files, your install will stack up with older files since they are never deleted.

There should be a setting to have rez delete an installed package variant before installing into it.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the rez-build -i install path and how an installed package variant is selected. Define where the new setting belongs and verify that enabling it removes the existing variant contents before reinstalling, including the renamed-file case described here.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.