if (this.paused || this.queue.size < 1 ) {
return;
}
+
+ foreach(var q in this.queue) {
+ if (!q.shouldIgnore() && !q.repo.is_wip_branch()) {
+ NewBranch.singleton().show(q.repo);
+ return;
+ }
+
+ }
+
+
+
GLib.debug("GitMonitor.runQueue\n");
this.queueRunning = true;
this.repo = GitRepo.get(this.gitpath);
// trigger the suggestion to start a new branch
- if (!this.shouldIgnore() && !this.repo.is_wip_branch()) {
- NewBranch.singleton().show(this.repo);
- }
+
}
}
+
public RooTicket? loadTicket(string id)
{
var table = new GLib.HashTable<string, string>(str_hash, str_equal);
- table.insert("query[viewtype]","active");
- table.insert("developer_id","494");
+ table.insert("query[viewtype]","me");
table.insert("limit","999");
table.insert("sort","summary");
table.insert("dir","ASC");