microsoft / microsoft/amplifier

Cleanup: Migrate remaining modules off config_compat.py in amplifier-app-cli

Open
#176 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.1k
Forks
261
Avg merge
3h 28m
Merged PRs (30d)
13

Description

Background

As part of the AppSettings consolidation (app bundle feature), we migrated most code to lib/settings.py. However, several modules still depend on lib/config_compat.py:

Files Still Using config_compat

  • paths.py - ConfigManager, ConfigPaths, Scope
  • provider_manager.py - ConfigManager
  • module_manager.py - ConfigManager
  • provider_loader.py - ConfigManager
  • provider_sources.py - ConfigManager

Task

Migrate these modules to use lib/settings.py AppSettings instead, then delete config_compat.py.

Notes

  • config_compat.py header already says: "New code should use lib/settings.py AppSettings instead"
  • This is a lower-priority cleanup task

Repository

amplifier-app-cli

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing lib/config_compat.py with lib/settings.py and AppSettings. Then inspect paths.py, provider_manager.py, module_manager.py, provider_loader.py, and provider_sources.py to trace their current configuration use. Done means those modules use AppSettings and config_compat.py can be deleted.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.