Skip to content

Conversation

@ikretz
Copy link
Collaborator

@ikretz ikretz commented May 14, 2025

This PR replaces PackageManagerCommand with a more general PackageManager abstraction. PackageManager is still capable of running and dry-running user-provided commands for the backing package manager but will also be able to do other things (e.g., list all currently installed packages) down the road.

Otherwise, with the exception of some very minor refactoring, this PR is only moving around existing code and renaming things. No code behaviors have been changed.

Other changes (detail):

  • Rename InstallTarget --> Package
  • Rename InstallTargetVerifier --> PackageVerifier
  • Updating documentation
  • Updating tests
  • Updating dependencies to their latest compatible versions

@ikretz ikretz changed the title Add PackageManager abstraction layer [SECRES-2921] Add PackageManager abstraction layer May 14, 2025
@ikretz ikretz changed the title [SECRES-2921] Add PackageManager abstraction layer [SECRES-3123] Add PackageManager abstraction layer May 22, 2025
@ikretz ikretz changed the title [SECRES-3123] Add PackageManager abstraction layer [SECRES-3123] Replace PackageManagerCommand with PackageManager May 23, 2025
@ikretz ikretz marked this pull request as ready for review May 23, 2025 14:27
Copy link
Contributor

@sobregosodd sobregosodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
2 nits

@ikretz ikretz changed the title [SECRES-3123] Replace PackageManagerCommand with PackageManager Replace PackageManagerCommand with PackageManager May 23, 2025
@ikretz ikretz changed the title Replace PackageManagerCommand with PackageManager [SECRES-3123] Replace PackageManagerCommand with PackageManager May 23, 2025
@ikretz ikretz merged commit 6f913e0 into main May 23, 2025
92 checks passed
@ikretz ikretz deleted the ikretz/package-manager branch May 23, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants