<#9571 feat: Auto-lock plugin definitions> Pull re...
# meltano-repo-activity
g
#9571 feat: Auto-lock plugin definitions Pull request opened by edgarrmondragon ## Description ## Related Issues • Closes #XXXX ## Summary by Sourcery Refactor plugin lockfile handling by centralizing logic in PluginLockService, enable auto-locking of plugin definitions with metadata and Hub fallback, simplify project add and CLI workflows by removing manual lock options, adjust related services and tests accordingly New Features: • Automatically lock plugin definitions on addition with metadata including default and deprecation flags • Provide methods to save and load plugin lockfiles with variant metadata and fetch definitions from the Hub when missing Enhancements: • Refactor PluginLockService to replace the old PluginLock class and consolidate save/load logic • Streamline project_plugins_service by removing unused DefinitionSource flags and improving error handling • Simplify CLI and project add service by dropping explicit lock options and auto-locking non-custom plugins • Integrate PluginLockService into LockedDefinitionService and manifest merge processes • Add logging for fetching plugin definitions from Meltano Hub client • Enhance PluginDefinition and Variant classes with extra metadata support and repr methods Tests: • Update tests to target PluginLockService API and remove coverage for the deprecated PluginLock class meltano/meltano