-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Description
Pin specific package versions to prevent unwanted updates.
Requirements
- Version pinning configuration
- Pin files management
- Prevent accidental updates
- Override mechanism
- Pin validation
- Export/import pin configurations
Acceptance Criteria
- Pin specific versions
- Prevent updates to pinned packages
- Override with flags
- Pin configuration files
- Import/export pins
- Validation and warnings
- Unit tests included (>80% coverage)
- Documentation with pinning strategies
Example Usage
$ cortex pin add postgresql@14.10
✓ Pinned postgresql to version 14.10
$ cortex update
Updating packages...
⊘ postgresql (pinned to 14.10)
✓ nginx 1.24.0 → 1.25.0
$ cortex pin list
postgresql: 14.10 (pinned 5 days ago)
python: 3.11.* (pinned to minor version)
$ cortex update postgresql --force
⚠️ Package is pinned. Override? [y/N]:Skills: Python, version management, package constraints
Bounty: $25 upon merge
Priority: Medium