feat(gui): migrate clones from the GUI; diagnostics log and tray restart

- Migrate / Migrate all with confirmation, sequential runs, per-repo results
- bridge: allow 'add' only for dirs directly under a group
- log panics, exit reasons and daemon/tray events to <state>/grove-gui.log
- restart the tray service if its D-Bus connection ends

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-11-16 18:15:36 +01:00
1 parent 28e07aab56
commit ec6a3a04f3
10 files changed
+528 -25

No files matched your search

+1 -3
View File
@@ -296,9 +296,7 @@ fn remote_key(url: &str) -> Option<String> {
_ => path,
};
let path = path.trim_matches('/').trim_end_matches(".git");
let mut parts = path.rsplitn(2, '/');
let name = parts.next()?;
let owner = parts.next()?;
let (owner, name) = path.rsplit_once('/')?;
Some(format!("{host}/{owner}/{name}").to_lowercase())
}