feat: receive and render canonical ref update events
Cope with the fact that the node can now emit events for canonical refs changing. This does NOT yet add a filter on canonical ref updates. But at least the Ci broker shouldn’t crash any more.
Signed-off-by: Lars Wirzenius liw@liw.fi
3 files changed
+47
-18
6f29315b
→
3782dc2b
modified src/ci_event.rs
@@ -12,7 +12,7 @@ use radicle::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -74,6 +74,12 @@ pub enum CiEventV1 {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -88,6 +94,7 @@ impl CiEvent {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -102,6 +109,7 @@ impl CiEvent {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -111,39 +119,25 @@ impl CiEvent {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -158,6 +152,7 @@ impl CiEvent {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/pages.rs
@@ -280,6 +280,12 @@ impl PageData {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/refs.rs
@@ -9,6 +9,34 @@ use radicle::{
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|