docs: fix typo
This commit is contained in:
parent
c571e9ee8d
commit
0796df00d4
2 changed files with 1 additions and 30 deletions
|
@ -1,6 +1,6 @@
|
||||||
```mermaid
|
```mermaid
|
||||||
stateDiagram-v2
|
stateDiagram-v2
|
||||||
<!-- [*] --> CloneRepo :Start -->
|
[*] --> CloneRepo :on start
|
||||||
|
|
||||||
CloneRepo --> LoadConfigFromRepo :on repo config
|
CloneRepo --> LoadConfigFromRepo :on repo config
|
||||||
CloneRepo --> ValidateRepo :on server config
|
CloneRepo --> ValidateRepo :on server config
|
||||||
|
|
|
@ -28,35 +28,6 @@ impl Deref for RepoActorLog {
|
||||||
/// An actor that represents a Git Repository.
|
/// An actor that represents a Git Repository.
|
||||||
///
|
///
|
||||||
/// When this actor is started it is sent the [CloneRepo] message.
|
/// When this actor is started it is sent the [CloneRepo] message.
|
||||||
///
|
|
||||||
/// ```mermaid
|
|
||||||
/// stateDiagram-v2
|
|
||||||
/// [*] --> CloneRepo :START
|
|
||||||
///
|
|
||||||
/// CloneRepo --> LoadConfigFromRepo
|
|
||||||
/// CloneRepo --> ValidateRepo
|
|
||||||
///
|
|
||||||
/// LoadConfigFromRepo --> LoadedConfig
|
|
||||||
///
|
|
||||||
/// ValidateRepo --> WebhookRegistered
|
|
||||||
/// ValidateRepo --> StartMonitoring
|
|
||||||
/// ValidateRepo --> ValidateRepo :SLEEP 10s
|
|
||||||
///
|
|
||||||
/// LoadedConfig --> ValidateRepo
|
|
||||||
///
|
|
||||||
/// WebhookRegistered --> [*]
|
|
||||||
///
|
|
||||||
/// StartMonitoring --> AdvanceMainTo
|
|
||||||
/// StartMonitoring --> ValidateRepo :SLEEP 10s
|
|
||||||
///
|
|
||||||
/// AdvanceMainTo --> LoadConfigFromRepo
|
|
||||||
/// AdvanceMainTo --> ValidateRepo
|
|
||||||
///
|
|
||||||
/// [*] --> WebhookMessage :WEBHOOK
|
|
||||||
///
|
|
||||||
/// WebhookMessage --> ValidateRepo
|
|
||||||
/// ```
|
|
||||||
///
|
|
||||||
#[derive(Debug, derive_more::Display, derive_with::With)]
|
#[derive(Debug, derive_more::Display, derive_with::With)]
|
||||||
#[display("{}:{}:{}", generation, repo_details.forge.forge_alias(), repo_details.repo_alias)]
|
#[display("{}:{}:{}", generation, repo_details.forge.forge_alias(), repo_details.repo_alias)]
|
||||||
pub struct RepoActor {
|
pub struct RepoActor {
|
||||||
|
|
Loading…
Reference in a new issue