-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Currently, dependency manager installs and removes dependencies by naming the virtual package based on the project directory location.
Proposed Feature:
Add support for naming virtual package created.
virt-pack myproject -- make
This would create the virtual package named myproject.
Similarly, removal could be scoped by name.
virt-pack --remove myproject
Expected Behavior:
If a name is provided, both installation and removal should be associated with that name.
If no name is provided, the behavior should remain exactly the same as current .
Users should be able to list all named virtual packages.
Ensure handling for cases where there is a pre-existing package with same name.
Proper handling for trying to remove a package which doesn't exist or trying to use characters that can't be part of a package name.
Benefits:
Adds flexibility while keeping backward compatibility.
Notes:
The functionality of virt-pack -- build_command and virt-pack --remove must remain unchanged when no name is supplied, to ensure compatibility with existing workflows.
Make sure to test using the directories in the code-base.