Integrate release recovery, semantic review, coverage and Windows packaging
This commit is contained in:
@@ -12,6 +12,7 @@ use iced::{
|
||||
};
|
||||
use oa_core::{transitions::*, *};
|
||||
use std::collections::BTreeSet;
|
||||
pub(crate) mod recovery;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum Event {
|
||||
@@ -38,6 +39,7 @@ pub enum Workflow {
|
||||
Ports(Box<crate::port_workflow::State>),
|
||||
Relation(Box<Relationship>),
|
||||
ManualTrace {
|
||||
base_fingerprint: String,
|
||||
name: String,
|
||||
source: Choice,
|
||||
target: Option<Choice>,
|
||||
@@ -45,6 +47,7 @@ pub enum Workflow {
|
||||
Transition(Box<Transition>),
|
||||
}
|
||||
pub struct Relationship {
|
||||
base_fingerprint: String,
|
||||
id: Id,
|
||||
pub name: String,
|
||||
pub kind: RelationKind,
|
||||
@@ -254,6 +257,7 @@ impl Workflow {
|
||||
return Err("Select an OA or SA element or relationship to trace.".into());
|
||||
}
|
||||
Ok(Self::ManualTrace {
|
||||
base_fingerprint: project_fingerprint(p),
|
||||
name: "Engineering correspondence".into(),
|
||||
source: choice(p, selected),
|
||||
target: None,
|
||||
@@ -292,6 +296,7 @@ impl Workflow {
|
||||
incoming: bool,
|
||||
) -> Self {
|
||||
let mut draft = Relationship {
|
||||
base_fingerprint: project_fingerprint(p),
|
||||
id: Id::new_v4(),
|
||||
name: String::new(),
|
||||
kind,
|
||||
@@ -345,6 +350,7 @@ impl Workflow {
|
||||
name,
|
||||
source,
|
||||
target,
|
||||
..
|
||||
} => match event {
|
||||
Event::RelationName(value) => *name = value,
|
||||
Event::Target(value) => *target = Some(value),
|
||||
@@ -610,6 +616,7 @@ impl Workflow {
|
||||
name,
|
||||
source,
|
||||
target,
|
||||
..
|
||||
} => {
|
||||
let mut choices = p
|
||||
.elements
|
||||
|
||||
Reference in New Issue
Block a user