This repository was archived by the owner on Nov 3, 2026. It is now read-only.
Repository navigation
refactor!: meta_core discovers only .meta.yaml - #14
Merged
Merged
Conversation
meta discovers its config only as .meta.yaml (and, until Matt confirms its removal, .meta.yml). The .meta and .meta.json names, the JSON parse path and ConfigFormat are gone: every config is parsed as YAML, which reads JSON content too. A folder with only .meta or .meta.json is not a workspace. BREAKING CHANGE: rename a .meta or .meta.json config to .meta.yaml (same content). [[tasks/harmony-2878]]
Matt approved dropping .meta and .meta.json; .meta.yml was not in his note, so it goes in its own commit to keep or drop. With one name a folder can no longer hold two configs, so the "Multiple meta config files" error and its tests go too. BREAKING CHANGE: rename a .meta.yml config to .meta.yaml. [[tasks/harmony-2878]]
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
…YAML Review round 1. The old-name test checks only its own folder, then shows .meta.yaml is the config next to .meta, .meta.json and .meta.yml. A YAML file named alt.json parses, which the old extension check refused. [[tasks/harmony-2878]]
Review round 2. JSON-style content now goes through the YAML parser; meta's own duplicate-key check still names the key. [[tasks/harmony-2878]]
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.
META_CONFIG_NAMES(four names) becomesMETA_CONFIG_NAME = ".meta.yaml".ConfigFormat, the JSON parse path and the "Multiple meta config files" error are deleted.find_meta_config_in,find_meta_config,meta_config_atandfind_parent_meta_configreturnOption<PathBuf>instead ofOption<(PathBuf, ConfigFormat)>.OrphanWarning::parent_formatis gone. An unreadable.meta.yamlis still an error. New tests:old_config_names_are_not_config(old names alone are not a config;.meta.yamlbeside them is) andany_config_file_is_read_as_yaml. Messages say.meta.yaml.Part of gitkb/meta#132 (meta reads only
.meta.yaml), which has the reasoning, the breaking-change note and the verification. Merge together with it.Task:
[[tasks/harmony-2878]]