-
Notifications
You must be signed in to change notification settings - Fork 159
refactor: split commands/marketplace.py into per-command modules #821
Copy link
Copy link
Closed
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).enhancementDeprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.good first issueGood for newcomersGood for newcomerspriority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).type/refactorInternal restructure, no behavior change.Internal restructure, no behavior change.
Milestone
Metadata
Metadata
Assignees
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).enhancementDeprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.Deprecated: use type/feature. Kept for issue history; will be removed in milestone 0.10.0.good first issueGood for newcomersGood for newcomerspriority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).type/refactorInternal restructure, no behavior change.Internal restructure, no behavior change.
Type
Projects
Status
Done
Summary
src/apm_cli/commands/marketplace.pyhas grown to 1,835 lines and contains 9 subcommands (init,build,validate,check,outdated,doctor,publish, plus thepluginsubgroup wiring). This makes it the largest command file in the codebase and a bottleneck for code review.Proposed structure
Acceptance criteria
_render_build_table,_get_console, etc.) extracted to__init__.pyor a_helpers.pyContext
This was identified as merge condition C1 in the APM Expert Review Panel for PR #790. The Python Architect flagged it as a god-module that kills review velocity. The CEO ratified filing it as a follow-up issue rather than blocking the current PR.
Related: #722, #790