{"record":{"id":"ce56e4402c4fa0a4","repo":"jdx/mise","slug":"no-configured-repo-matched-path-filter","errorCode":null,"errorMessage":"no configured repo matched path: {filter}","messagePattern":"no configured repo matched path: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/cli/bootstrap.rs","lineNumber":4375,"sourceCode":"        let repos = filter_repos(system::repos_from_config(&config), &self.paths)?;\n        system::repos::exec(&repos, &self.command, self.dry_run, self.continue_on_error).await\n    }\n}\n\nfn filter_repos(\n    repos: Vec<system::repos::RepoRequest>,\n    filters: &[String],\n) -> Result<Vec<system::repos::RepoRequest>> {\n    if filters.is_empty() {\n        return Ok(repos);\n    }\n    for filter in filters {\n        let expanded = crate::file::replace_path(filter);\n        if !repos\n            .iter()\n            .any(|repo| repo.path_raw == *filter || repo.path == expanded)\n        {\n            eyre::bail!(\"no configured repo matched path: {filter}\");\n        }\n    }\n    Ok(repos\n        .into_iter()\n        .filter(|repo| {\n            filters.iter().any(|filter| {\n                repo.path_raw == *filter || repo.path == crate::file::replace_path(filter)\n            })\n        })\n        .collect())\n}\n\nimpl BootstrapReposStatus {\n    async fn run(self) -> Result<()> {\n        let config = Config::get().await?;\n        let repos = system::repos_from_config(&config);\n        let mut any_missing = false;\n        let mut rows: Vec<Vec<String>> = vec![];","sourceCodeStart":4357,"sourceCodeEnd":4393,"githubUrl":"https://github.com/jdx/mise/blob/533346cc374382b41ec5ff70536252b2e96e725c/src/cli/bootstrap.rs#L4357-L4393","documentation":"mise's bootstrap command filters configured repos by path arguments. After collecting repos, it verifies that every path filter passed on the command line actually matches a configured repo — either by exact raw path or by the tilde/variable-expanded path. If any filter matches nothing, mise aborts rather than silently returning an empty or partial repo set.","triggerScenarios":"Running `mise bootstrap <path>` (or multiple paths) where at least one path is not registered in mise's configured repos: a typo'd path, a repo that was removed from the config, a path passed unexpanded (e.g. `~/repo` when config stores the absolute path — though expansion is attempted), or a relative path that doesn't string-match the configured absolute path.","commonSituations":"Developers rename or move repo directories and forget to update the bootstrap config; they pass shell-tilde paths in scripts where the configured entry uses a different form; or CI passes a path from an environment variable that resolves differently than the configured entry.","solutions":["Run `mise bootstrap` with no filter first to list configured repos and see the exact paths mise knows about","Correct the path argument to match a configured repo's path exactly (absolute path is safest)","Update the repo config entry if the repo was moved or renamed","Check for mismatched path forms (tilde vs absolute, trailing slash) between the argument and the configured value"],"exampleFix":"// before\n$ mise bootstrap ~/proj   # fails if config stores /home/me/proj differently\n// after\n$ mise bootstrap /home/me/proj  # exact configured path","handlingStrategy":"validation","validationCode":"mise bootstrap 2>/dev/null | awk '{print $1}' | grep -Fxq \"$path\" || echo \"not configured: $path\"","typeGuard":"validate_repo_filter() { local p=\"$1\"; mise bootstrap 2>/dev/null | grep -Fq \"$p\"; }","tryCatchPattern":null,"preventionTips":["List configured repos before filtering to confirm exact path spellings","Use absolute paths without tilde in scripts","Keep repo config entries in sync when moving/renaming directories","Add a preflight check in CI that all bootstrap paths are configured"],"tags":["cli","path-matching","repo-config"],"backgroundTag":"resource-not-found","analyzedSha":"533346cc374382b41ec5ff70536252b2e96e725c","analyzedAt":"2026-09-17T13:35:38.149Z","contentChangedAt":"2026-09-17T13:35:38.149Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}