Add configurable default install target (apm config target) with install-time fallback precedence#1881
Draft
Copilot wants to merge 2 commits into
Draft
Add configurable default install target (apm config target) with install-time fallback precedence#1881Copilot wants to merge 2 commits into
apm config target) with install-time fallback precedence#1881Copilot wants to merge 2 commits into
Conversation
Co-authored-by: danielmeppiel <51440732+danielmeppiel@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add ability to save default target for apm install
Add configurable default install target (Jun 23, 2026
apm config target) with install-time fallback precedence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
apm installrequired repeating--targetfor common workflows. This change adds a persisted default target and wires it into target resolution without changing existing override semantics.Config key surface
targettoapm config:apm config set target <value>apm config get targetapm config unset targetapm_cli.config:get_install_target()set_install_target()unset_install_target()Install resolution behavior
install/phases/targets.pynow resolves target precedence as:--targetapm.ymltarget/targetsapm config target--targetand manifest targets continue to override the config default.Tests and docs alignment
apm-guidecommand corpus to include the new key and precedence chain.Type of change
Testing
Spec conformance (OpenAPM v0.1)
If this PR changes behaviour that an OpenAPM v0.1
req-XXXcovers,confirm the three-step ritual (see CONTRIBUTING.md "Adding or
changing a normative requirement"):
docs/src/content/docs/specs/openapm-v0.1.mdupdated(new/changed
<a id="req-XXX"></a>anchor + prose + Appendix Crow).
docs/src/content/docs/specs/manifests/openapm-v0.1.requirements.ymlupdated.
@pytest.mark.req("req-XXX")test undertests/spec_conformance/added or extended.CONFORMANCE.{md,json}regenerated viauv run --extra dev python -m tests.spec_conformance.gen_statementand committed.