mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-26 15:26:09 +00:00
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:
1 parent
28e07aab56
commit
ec6a3a04f3
10 files changed
+528
-25
No files matched your search
@@ -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())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user