Willie
9f43310a3d
fix(update): repair skill sources recorded before the per-skill source fix ( #866 )
...
Before #863 , `install <repo> -s <skill>` recorded "<repo>/<path>" as the
skill's source. GitLab, Bitbucket and file:// sources parse that string as
another repository, so every path that parsed the recorded source failed
for those skills: `update` of a single skill, `install <name> --update`,
the dashboard update, and the local-changes diff. #863 only changed what
new installs record.
The record still holds the repository and the path, so RecordedSource
rebuilds the source from them when the written string parses as a
different repository, and the reinstall writes the record back in the
form that parses.
In project mode the config entry that declared the old string follows the
rewritten record, because teammates install from the config. An entry a
teammate changed stays as it is, and so does a record a batch update only
respelled. The config is reloaded first: `update --prune` saves it through
another copy, and saving the stale one brought pruned skills back.
`hub draft` and `hub index` published the old string as it was written;
they now publish the source that installs the skill.
Closes #862
2026-11-11 23:34:43 +08:00
..
2026-10-26 01:38:04 +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-11-06 14:55:35 +08:00
2026-11-06 13:56:53 +08:00
2026-11-09 23:30:37 +08:00
2026-10-13 22:42:05 +08:00
2026-10-13 22:42:05 +08:00
2026-10-05 18:26:12 +08:00
2026-10-08 12:01:42 +08:00
2026-11-11 23:17:54 +08:00
2026-10-07 00:03:34 +08:00
2026-11-11 23:17:54 +08:00
2026-10-10 01:06:23 +08:00
2026-10-10 01:06:23 +08:00
2026-11-06 23:49:30 +08:00
2026-11-11 11:59:57 +08:00
2026-09-19 03:14:03 +08:00
2026-09-30 02:25:42 +08:00
2026-10-12 13:59:59 +08:00
2026-10-29 16:47:38 +08:00
2026-10-05 15:40:19 +08:00
2026-11-11 11:59:57 +08:00
2026-05-30 19:23:12 +08:00
2026-10-13 15:00:39 +08:00
2026-10-08 15:52:47 +08:00
2026-10-08 16:19:32 +08:00
2026-09-30 02:21:11 +08:00
2026-10-08 16:41:09 +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-08 15:06:59 +08:00
2026-11-11 23:17:54 +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-11-09 11:59:50 +08:00
2026-09-19 03:14:03 +08:00
2026-10-05 22:03:47 +08:00
2026-11-06 21:19:50 +08:00
2026-11-06 21:19:50 +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-11-10 20:24:44 +08:00
2026-11-10 20:24:44 +08:00
2026-11-11 22:42:03 +08:00
2026-11-11 22:42: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-10-24 17:32:34 +08:00
2026-10-24 17:32:34 +08:00
2026-10-25 22:57:04 +08:00
2026-03-17 04:48:42 +08:00
2026-11-02 15:13:01 +08:00
2026-11-02 15:13:01 +08:00
2026-10-01 02:24:24 +08:00
2026-10-05 20:36:39 +08:00
2026-10-13 15:00:39 +08:00
2026-10-13 15:00:39 +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-12 22:34:05 +08:00
2026-10-12 17:34:33 +08:00
2026-10-11 00:43:47 +08:00
2026-11-11 22:42:03 +08:00
2026-10-05 20:36:39 +08:00
2026-10-13 02:50:17 +08:00
2026-10-05 20:36:39 +08:00
2026-10-13 10:41:27 +08:00
2026-10-13 10:41:27 +08:00
2026-10-29 16:47:38 +08:00
2026-10-29 16:47:38 +08:00
2026-11-02 15:13:01 +08:00
2026-11-02 15:13:01 +08:00
2026-11-09 15:06:55 +08:00
2026-11-09 15:06:55 +08:00
2026-11-11 23:17:54 +08:00
2026-10-26 01:38:04 +08:00
2026-10-23 02:07:54 +08:00
2026-11-06 23:49:30 +08:00
2026-11-06 23:49:30 +08:00
2026-04-09 03:50:28 +08:00
2026-11-09 21:49:52 +08:00
2026-11-09 21:49:52 +08:00
2026-11-11 23:17:54 +08:00
2026-11-11 23:17:54 +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-10-24 16:33:37 +08:00
2026-10-24 16:33:37 +08:00
2026-10-05 23:01:50 +08:00
2026-11-06 14:55:35 +08:00
2026-10-24 21:43:12 +08:00
2026-10-24 21:43:12 +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-10-29 16:47:38 +08:00
2026-10-29 16:47:38 +08:00
2026-10-26 01:55:34 +08:00
2026-10-29 16:47:38 +08:00
2026-10-29 16:47:38 +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-10-09 01:28:28 +08:00
2026-10-29 16:47:38 +08:00
2026-10-29 16:47:38 +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-10-31 17:25:04 +08:00
2026-10-31 17:25:04 +08:00
2026-10-07 21:41:43 +08:00
2026-11-11 22:42:03 +08:00
2026-09-30 01:34:58 +08:00
2026-11-11 22:42:03 +08:00
2026-11-05 22:44:03 +08:00
2026-10-22 00:39:12 +08:00
2026-10-08 00:05:10 +08:00
2026-10-22 00:39:12 +08:00
2026-10-24 16:33:37 +08:00
2026-10-26 15:59:32 +08:00
2026-11-11 23:34:43 +08:00
2026-11-11 11:59:57 +08:00
2026-11-04 16:51:03 +08:00
2026-11-11 11:59:57 +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-11-11 23:17:54 +08:00
2026-11-11 23:17:54 +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-11-11 23:17:54 +08:00
2026-10-07 21:35:05 +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
2026-11-09 11:59:50 +08:00
2026-11-09 11:59:50 +08:00