Skip to content

feat(target): parse Forge repo and revision addresses#150

Merged
barrettruth merged 1 commit intomainfrom
feat/forge-target-parse
Apr 11, 2026
Merged

feat(target): parse Forge repo and revision addresses#150
barrettruth merged 1 commit intomainfrom
feat/forge-target-parse

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Problem

The normalized :Forge command layer still treats target-bearing modifiers like repo=, rev=, target=, head=, and base= as raw strings. That makes it impossible to carry explicit repo/revision/location intent through the command object cleanly.

Solution

Add a dedicated forge.target module that parses repo, revision, and location addresses, including alias-first repo resolution order. Thread those parsed target objects into forge.cmd.parse() so normalized commands now expose typed target data under parsed_modifiers.

Add a dedicated target parser for repo, revision, and location addresses so
normalized Forge commands can carry typed target data instead of raw strings.

This also threads parsed target modifiers into the command layer to prepare the
next stage of explicit target resolution and dispatch.
@barrettruth barrettruth merged commit 25e5068 into main Apr 11, 2026
8 checks passed
@barrettruth barrettruth deleted the feat/forge-target-parse branch April 11, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant