-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Summary
The module registry URL is now configurable via DEFAULTS.yaml and can be overridden by users in their settings.yaml files.
Changes Made
- Added registry_url to DEFAULTS.yaml - Centralized the default registry URL configuration
- Created get_system_registry_url() function - Similar to get_system_default_profile(), reads from DEFAULTS.yaml
- Updated RegistryClient - Now accepts optional registry_url parameter and defaults to system configuration
- Enhanced registry command output:
- Added 'Installed' column to show which modules are already installed
- Fixed Version column to use 'latest' field from JSON
- Fixed Type column to use 'module_type' field from JSON
- Added Tags column to display module tags
User Override Path
Users can now override the registry URL in their settings.yaml:
registry:
url: https://example.com/my-custom-registry/index.jsonFiles Modified
amplifier_app_cli/data/profiles/DEFAULTS.yaml- Added registry_url configurationamplifier_app_cli/data/profiles/__init__.py- Added get_system_registry_url() functionamplifier_app_cli/registry/client.py- Updated to read from configurationamplifier_app_cli/registry/commands/registry.py- Enhanced table output with installation status, version, type, and tags
Related
This complements the existing profile configuration system and follows the same pattern for system defaults with user overrides.
Metadata
Metadata
Assignees
Labels
No labels