This repository was archived by the owner on Nov 3, 2026. It is now read-only.
Repository navigation
feat(project): report each project's alias in project list --json - #22
Closed
gold-silver-copper wants to merge 3 commits into
Closed
gold-silver-copper wants to merge 3 commits into
gold-silver-copper wants to merge 3 commits into
Conversation
…asks/harmony-2794]]
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This was referenced Oct 28, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What and why
meta project list --jsonreports each project'snameandpath, but not the name meta's own--recursivecommands take for it.meta git worktree create --recursive --repoandmeta git worktree listname a project by its path from the workspace root (meta_core::config::build_project_map):child/libs/gcfor a project atlibs/gcinside the nested meta repochild. A tool that only reads meta's JSON (atc's workspace provider, under the rule that atc talks to meta only throughmeta … --json) had to rebuild that string from meta's naming rule.This adds
aliasto the JSON:child,child/libs/gc), the same keybuild_project_mapgives it;"alias": "."for the root, as--repo .takes it.meta git worktree list --jsonalready reportsaliasfor set members, so both commands now name members the same way. Nothing else changes; the field is additive.Tests
test_project_list_json_recursivenow uses a nested project cloned at a path other than its name (grandchildatlibs/gc) and assertsaliasis.for the root,child, andchild/libs/gc.cargo test -p meta_project_cli: 32 passed.Related
config_not_founderror). Same branch name in each repo.Task:
[[tasks/harmony-2794]](Any bot-generated summary appended below is not part of this description.)
Need help on this PR? Tag
@codesmith-botwith what you need.