intersystems / intersystems/ipm
cache Command for Local Source Management
- Dominant language
- ObjectScript
- Stars
- 41
- Forks
- 29
- Avg merge
- 23h 54m
- Merged PRs (30d)
- 4
Description
Currently, The module source code to a local directory (e.g., `/usr/irissys/ipm/`). While this acts as a local repository, there is no native way to manage these files within the ZPM shell. Users must manually delete folders.
### **The Proposal**
Introduce a `cache` command modeled after the existing `history` command pattern. This command will allow users to clean and prune the physical files stored in the IPM installation directory.
### **Feature Breakdown**
1. **`cache clean []`**: Deletes the folder in `/ipm/` and clears the internal metadata (`list -ss` entry).
2. **`cache prune`**: Identifies folders on disk that do not match an active installation in any namespace and deletes them.
Contributor guide
Assessment
This issue has not been assessed yet.