fix: DefaultBranch event filter didn't work with namespaced refs
added src/bin/default_branch.rs
@@ -0,0 +1,13 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified src/ci_event.rs
@@ -14,6 +14,8 @@ use radicle::{
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -506,12 +508,15 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -532,7 +537,7 @@ fn patch_id(refname: &str) -> Result<PatchId, ParseError> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/filter.rs
@@ -12,7 +12,7 @@ use radicle::{
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -203,15 +203,17 @@ impl EventFilter {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|