pub enum State {
FailingCi,
Broken,
Unpublished,
Critical,
StaleDeps,
Idle,
Clear,
}Expand description
What places a project in pma status, worst first. Each is a condition
with an action, so the order says what to do first: a failing check blocks
the repository, broken facts make the rest unreliable, unpublished work is
at risk, then the work itself, then upkeep.
Variants§
FailingCi
CI fails on the default branch.
Broken
TODO.md has lint errors, or the scan could not read the project.
Unpublished
Commits not pushed, or pma/ branches no open run owns.
Critical
Open items under ## Critical.
StaleDeps
Outdated dependencies at the last measurement.
Idle
No commit that counts as activity within the tier’s horizon.
Clear
None of the above.
Implementations§
Trait Implementations§
impl Copy for State
impl Eq for State
Source§impl Ord for State
impl Ord for State
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for State
impl PartialOrd for State
impl StructuralPartialEq for State
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnsafeUnpin for State
impl UnwindSafe for State
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.