@@ -27,14 +27,17 @@ pub fn review(
|
|||||||
return Ok(());
|
return Ok(());
|
||||||
}
|
}
|
||||||
|
|
||||||
for (backend, packages) in todo_per_backend.into_iter() {
|
'outer: for (backend, packages) in todo_per_backend.into_iter() {
|
||||||
let mut actions = vec![];
|
let mut actions = vec![];
|
||||||
for package in packages {
|
for package in packages {
|
||||||
println!("{}: {package}", backend.get_section());
|
println!("{}: {package}", backend.get_section());
|
||||||
match get_action_for_package(package, &groups, &mut actions, &*backend)? {
|
match get_action_for_package(package, &groups, &mut actions, &*backend)? {
|
||||||
ContinueWithReview::Yes => continue,
|
ContinueWithReview::Yes => continue,
|
||||||
ContinueWithReview::No => return Ok(()),
|
ContinueWithReview::No => return Ok(()),
|
||||||
ContinueWithReview::NoAndApply => break,
|
ContinueWithReview::NoAndApply => {
|
||||||
|
reviews.push((backend, actions));
|
||||||
|
break 'outer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
reviews.push((backend, actions));
|
reviews.push((backend, actions));
|
||||||
|
|||||||
Reference in New Issue
Block a user