Open mottosso opened 5 years ago
This should also help tackle the issue of memcache holding onto packages post-deletion, as would typically be the case by manually deleting from outside of Rez. As memcached would have no reason to think a package has been deleted, without actually going out and querying the disk; defeating the purpose of caching in the first place.
It should also manage cleanup after removing a variant.
E.g.
~\packages\PySide\1.2.4\platform-windows\os-windows-10\python-2.7
1.2.4
if this was the only variant.PySide
if it was the only version.Otherwise, we'd end up with gaps all over the place.
Goal
Facilitate small companies and beginners of Rez during the initial learning stage and small-scale package management.
Motivation
As you learn about Rez, you'll want to create a lot of packages, a lot of which were for practice. Removing packages currently involves manually deleting a directory on disk, and doesn't account for deleting packages other than from file-system repositories. It also prevents tracking of deleted packages (for e.g. archival), if deleting happens outside of Rez.
Implementation
Like
rez cp
, add arez rm
command that does as advertised.Conditions
rez env
, and provide a message informing the user of such.