Created attachment 390712 [details, diff] 0001-qlop-s-support-git-sync-messages.patch The new version of Portage is going to have git syncing support which uses a bit different output like: 1234567890: >>> Git pull successful: /path 1234567890: >>> Git clone successful I'm attaching a patch to handle that output along with rsync output in 'qlop -s'.
+1 on this as "qlop -s" doesn't work with the latest portage at all.
other tools also hit with this .. Bug #540050 for genlop
(In reply to Albert W. Hopkins from comment #1) > +1 on this as "qlop -s" doesn't work with the latest portage at all. That's a different issue. File a new bug report.
Comment on attachment 390712 [details, diff] 0001-qlop-s-support-git-sync-messages.patch >- if (strncmp(buf+12, "=== Sync completed with", 23) != 0) >+ if (strncmp(buf+12, "=== Sync completed with", 23) != 0 >+ && strncmp(buf+12, ">>> Git pull successful:", 24) != 0 >+ && strncmp(buf+12, ">>> Git clone successful", 24) != 0) line the code up with the ( if (.... && ...) is this specific to git ? what about other vcs's ? >+ if ((p = strstr(q, "with")) != NULL) >+ { brace style is all wrong. no one writes this -- please cuddle them.
i think this works now with the current sync format: 1431764402: === sync 1431764402: >>> Syncing repository 'gentoo' into '/usr/portage'... 1431764460: === Sync completed for gentoo portage uses that regardless of the sync module. i don't think we really need to add support for the old sync formats.