remove a pdsc entry in local repository if not found as installed pack#694
remove a pdsc entry in local repository if not found as installed pack#694
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request adds the ability to remove pack entries from local_repository.pidx using the cpackget rm command when the pack is not installed as a regular pack. Previously, users had to manually edit the local_repository.pidx file to remove pack references that were added via PDSC files.
Changes:
- Modified
PackIsInstalledto detect packs that exist only inlocal_repository.pidxwhen the installation directory doesn't exist - Updated
RemovePackto callRemovePdscwhen a pack is found in the local repository but not installed as a regular pack
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Coverage Impact ⬇️ Merging this pull request will decrease total coverage on Modified Files with Diff Coverage (6)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
…ersion was geven then remove any version
… there also was an installed one
… the same name as a local pack
…ng "already removed" info message

Fixes
Changes
Checklist