-
Notifications
You must be signed in to change notification settings - Fork 349
Add --category support to apm marketplace package add and set #2625
Copy link
Copy link
Labels
area/marketplacemarketplace.json schema, federation, authoring suite, source parity.marketplace.json schema, federation, authoring suite, source parity.area/package-authoringapm pack/unpack, plugin authoring, vendoring guidance, bundle format.apm pack/unpack, plugin authoring, vendoring guidance, bundle format.priority/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).theme/governanceGoverned by policy. apm-policy, audit, enforcement, enterprise rollout.Governed by policy. apm-policy, audit, enforcement, enterprise rollout.type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Description
Activity
Metadata
Metadata
Assignees
Labels
area/marketplacemarketplace.json schema, federation, authoring suite, source parity.marketplace.json schema, federation, authoring suite, source parity.area/package-authoringapm pack/unpack, plugin authoring, vendoring guidance, bundle format.apm pack/unpack, plugin authoring, vendoring guidance, bundle format.priority/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).theme/governanceGoverned by policy. apm-policy, audit, enforcement, enterprise rollout.Governed by policy. apm-policy, audit, enforcement, enterprise rollout.type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Type
Projects
- StatusShow more project fieldsIn Progress
Summary
Expose marketplace package categories through the
apm marketplace package addand
apm marketplace package setcommands.Problem
The marketplace manifest supports
categoryandtagson package entries, andAPM emits both in marketplace output when present. The CLI already exposes
--tags, but does not provide--category, forcing maintainers to editapm.ymlmanually for categories.Categories should be supported through the same CLI workflow as tags.
Marketplace categories are catalog-owned metadata. They may intentionally differ
from a package's own category so each marketplace can apply its own discovery
taxonomy without changing the source package.
Proposed change
Add
--category TEXTto:apm marketplace package addapm marketplace package setValidate non-empty values with the existing marketplace schema and persist the
category on the target
marketplace.packages[]entry, independently of anycategory declared in the source package manifest.
Acceptance criteria
--category.marketplace.packages[].apm marketplace checkandapm packpreserve and emit category and tags.