feat: add manifest-driven config linking#27
Merged
Conversation
- Rename config.toml to conf.d/defaults.toml so mise use -g writes to config.toml without dirtying git - Add python, deno, bun, dart, flutter, cargo-binstall - Drop gradle and cmake - Regroup into Languages and Tools sections
Declarative mapping of config files to their symlink destinations. Not wired up yet; the apply logic comes next.
- Add apply_manifest() to parse manifest files and link files/directories - Add _link_directory() for recursive directory linking - Add _apply_chmod_directive() for permission directives - Refactor link_base_configs() to use apply_manifest - Refactor apply_config_overrides() to check for bundle manifest first, fall back to legacy case-statement for bundles without one - Refactor ensure_config_dirs() to read @chmod from manifest
- Add scripts/manifest with list, add, remove, and chmod commands - Supports --bundle flag for targeting bundle-specific manifests - Add just manifest recipe for convenience
- Add manifest CLI, config/manifest, and bundle manifest to README - Add manifest format examples to bundle creation guide - Add manifest roadmap items to TODO (state tracking, templates, ignore patterns, attributes, externals) - Clean up TODO title formatting
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.
Summary
safe_linkcalls inlink_base_configs()and the case-statement inapply_config_overrides()@chmodpermission directivesscripts/manifestCLI for managing manifest entries (add, remove, list, chmod)config.tomltoconf.d/defaults.tomlsomise use -gdoesn't dirty gitTest plan
@chmoddirectiveslink_base_configs()routes throughapply_manifest()and produces the same symlinks as beforeapply_config_overrides()falls back to legacy logic for bundles without a manifestjust dev lint(shellcheck + zsh syntax)./install.sh