Willie
4dd62d4ce5
fix: treat tracked repos installed with --into as repos
...
`install --track --into org` clones to org/_repo, but skill discovery
only marked a skill as in-repo when the first path segment started with
"_". Everything downstream also assumed the repo name was that first
segment. Skills of such a repo were therefore treated as loose skills:
no source in the dashboard, not grouped under the repo, a skill count of
0 in `status`, and an install hint that pointed at the wrong name.
Discovery now records each skill's tracked repo root (RepoRelPath). A
first-segment "_" folder still counts as before; a deeper one counts
only when the walk saw it as a git clone, so a plain org/_drafts folder
stays a folder. The repo's .skillignore is looked up by the same root.
Consumers move from "first segment" to that root:
- the API exposes it as repoPath, and the dashboard groups, updates and
uninstalls repos by it;
- `list` and `status` use it for repo names and counts;
- batch uninstall accepts a nested repo name, so the dashboard can still
remove an --into repo now that its skills are in-repo;
- repo names sent to the dashboard by check and update-all use slash
paths, so they match repoPath on Windows too;
- the install hint suggests `skillshare update org/_repo`.
Fixes #470
2026-10-07 21:23:26 +08:00
..
2026-10-05 15:40:19 +08:00
2026-03-18 22:35:02 +08:00
2026-10-05 15:40:19 +08:00
2026-10-05 15:40:19 +08:00
2026-10-04 19:34:24 +08:00
2026-10-05 14:26:09 +08:00
2026-09-19 03:14:03 +08:00
2026-10-05 14:45:41 +08:00
2026-04-10 02:05:13 +08:00
2026-10-05 14:45:41 +08:00
2026-10-02 01:25:29 +08:00
2026-10-02 01:25:29 +08:00
2026-10-05 18:26:12 +08:00
2026-10-07 00:03:34 +08:00
2026-10-07 00:03:34 +08:00
2026-10-07 00:03:34 +08:00
2026-10-07 00:03:34 +08:00
2026-04-10 01:26:40 +08:00
2026-10-05 15:40:51 +08:00
2026-10-07 10:36:22 +08:00
2026-10-07 10:36:22 +08:00
2026-09-19 03:14:03 +08:00
2026-09-30 02:25:42 +08:00
2026-10-06 14:18:20 +08:00
2026-10-05 15:40:19 +08:00
2026-04-14 18:16:11 +08:00
2026-05-30 19:23:12 +08:00
2026-10-03 01:25:44 +08:00
2026-09-30 02:21:11 +08:00
2026-10-07 00:04:00 +08:00
2026-10-03 14:16:58 +08:00
2026-10-03 14:16:58 +08:00
2026-10-01 23:08:43 +08:00
2026-10-01 10:17:47 +08:00
2026-10-01 10:17:47 +08:00
2026-10-02 02:56:54 +08:00
2026-10-05 14:11:57 +08:00
2026-10-05 14:11:57 +08:00
2026-02-23 04:18:01 +08:00
2026-04-10 01:26:40 +08:00
2026-10-01 21:21:53 +08:00
2026-10-01 02:24:24 +08:00
2026-10-02 02:56:54 +08:00
2026-09-19 03:14:03 +08:00
2026-10-05 22:03:47 +08:00
2026-09-28 23:39:19 +08:00
2026-09-30 02:25:42 +08:00
2026-02-23 04:18:01 +08:00
2026-09-30 02:25:42 +08:00
2026-10-05 22:03:47 +08:00
2026-10-05 22:03:47 +08:00
2026-10-02 20:30:27 +08:00
2026-10-07 02:10:03 +08:00
2026-09-28 17:41:33 +08:00
2026-09-30 02:25:42 +08:00
2026-10-07 00:04:00 +08:00
2026-10-07 00:04:00 +08:00
2026-09-28 18:40:15 +08:00
2026-09-30 02:25:42 +08:00
2026-09-28 16:12:59 +08:00
2026-09-27 03:02:51 +08:00
2026-09-30 02:25:42 +08:00
2026-09-30 02:25:42 +08:00
2026-09-29 04:51:24 +08:00
2026-09-30 02:25:42 +08:00
2026-02-23 04:18:01 +08:00
2026-03-17 04:48:42 +08:00
2026-10-01 02:24:24 +08:00
2026-10-01 02:24:24 +08:00
2026-10-01 02:24:24 +08:00
2026-10-05 20:36:39 +08:00
2026-10-01 02:24:24 +08:00
2026-10-06 22:34:27 +08:00
2026-10-07 00:03:50 +08:00
2026-10-07 00:18:02 +08:00
2026-10-03 14:16:58 +08:00
2026-10-03 14:16:58 +08:00
2026-10-03 14:16:58 +08:00
2026-10-04 10:23:47 +08:00
2026-10-05 20:36:39 +08:00
2026-10-05 20:36:39 +08:00
2026-10-05 20:36:39 +08:00
2026-04-19 09:29:18 +08:00
2026-10-03 01:25:44 +08:00
2026-05-20 15:42:53 +08:00
2026-10-05 14:26:09 +08:00
2026-10-04 02:26:59 +08:00
2026-10-03 20:47:20 +08:00
2026-09-27 23:03:21 +08:00
2026-10-04 23:08:33 +08:00
2026-06-03 15:37:57 +08:00
2026-10-06 22:34:27 +08:00
2026-10-06 22:34:27 +08:00
2026-04-09 03:50:28 +08:00
2026-09-27 02:10:00 +08:00
2026-10-03 01:25:44 +08:00
2026-06-02 16:29:25 +08:00
2026-10-05 22:03:47 +08:00
2026-10-05 14:42:09 +08:00
2026-10-05 14:42:09 +08:00
2026-10-05 11:29:39 +08:00
2026-10-05 14:26:09 +08:00
2026-09-30 01:34:58 +08:00
2026-10-05 22:35:00 +08:00
2026-10-05 23:01:50 +08:00
2026-10-05 22:35:00 +08:00
2026-10-07 21:23:26 +08:00
2026-10-07 21:23:26 +08:00
2026-10-05 23:16:58 +08:00
2026-10-05 23:16:58 +08:00
2026-09-30 00:24:51 +08:00
2026-09-21 01:52:34 +08:00
2026-10-05 14:26:09 +08:00
2026-10-02 16:24:03 +08:00
2026-10-07 11:10:30 +08:00
2026-09-29 15:25:06 +08:00
2026-09-30 02:25:42 +08:00
2026-04-14 18:03:41 +08:00
2026-09-29 04:51:24 +08:00
2026-10-05 20:36:39 +08:00
2026-10-06 14:18:20 +08:00
2026-10-04 19:34:24 +08:00
2026-10-05 14:26:09 +08:00
2026-10-04 19:40:44 +08:00
2026-10-05 14:26:09 +08:00
2026-10-05 18:27:12 +08:00
2026-04-08 20:52:29 +08:00
2026-10-05 18:27:12 +08:00
2026-10-07 21:23:26 +08:00
2026-10-07 00:35:03 +08:00
2026-09-30 01:34:58 +08:00
2026-10-07 21:23:26 +08:00
2026-10-05 21:53:12 +08:00
2026-10-07 21:23:26 +08:00
2026-10-07 00:10:54 +08:00
2026-10-07 00:16:36 +08:00
2026-10-07 21:23:26 +08:00
2026-10-03 21:43:35 +08:00
2026-10-03 21:43:35 +08:00
2026-09-30 02:25:42 +08:00
2026-09-30 02:25:42 +08:00
2026-03-18 22:35:02 +08:00
2026-04-19 09:29:18 +08:00
2026-04-19 09:29:18 +08:00
2026-03-17 04:48:42 +08:00
2026-04-09 04:07:35 +08:00
2026-03-18 22:35:02 +08:00
2026-05-05 18:33:07 +08:00
2026-10-07 21:23:26 +08:00
2026-10-07 21:23:26 +08:00
2026-10-05 11:03:39 +08:00
2026-10-05 11:03:39 +08:00
2026-09-27 23:03:21 +08:00
2026-09-27 23:03:21 +08:00