docs: add readmes to each crate to direct users to main crate
All checks were successful
Rust / build (push) Successful in 1m38s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
All checks were successful
Rust / build (push) Successful in 1m38s
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
ci/woodpecker/cron/cron-docker-builder Pipeline was successful
ci/woodpecker/cron/push-next Pipeline was successful
ci/woodpecker/cron/tag-created Pipeline was successful
Closes kemitix/git-next#106
This commit is contained in:
parent
6981a7b5e3
commit
6c92f64f8b
13 changed files with 146 additions and 47 deletions
9
crates/actor-macros/README.md
Normal file
9
crates/actor-macros/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
9
crates/config/README.md
Normal file
9
crates/config/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
9
crates/file-watcher-actor/README.md
Normal file
9
crates/file-watcher-actor/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
9
crates/forge-forgejo/README.md
Normal file
9
crates/forge-forgejo/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
9
crates/forge-github/README.md
Normal file
9
crates/forge-github/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
9
crates/forge/README.md
Normal file
9
crates/forge/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
9
crates/git/README.md
Normal file
9
crates/git/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
36
crates/repo-actor/MESSAGES.md
Normal file
36
crates/repo-actor/MESSAGES.md
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
```mermaid
|
||||||
|
stateDiagram-v2
|
||||||
|
[*] --> CloneRepo :on start
|
||||||
|
|
||||||
|
CloneRepo --> LoadConfigFromRepo :on repo config
|
||||||
|
CloneRepo --> RegisterWebhook :on server config
|
||||||
|
|
||||||
|
LoadConfigFromRepo --> ReceiveRepoConfig
|
||||||
|
|
||||||
|
ValidateRepo --> CheckCIStatus :on next ahead of main
|
||||||
|
ValidateRepo --> AdvanceNext :on dev ahead of next
|
||||||
|
ValidateRepo --> [*] :on dev == next == main
|
||||||
|
ValidateRepo --> [*] :on non-retryable error
|
||||||
|
ValidateRepo --> ValidateRepo :on retryable error
|
||||||
|
|
||||||
|
CheckCIStatus --> ReceiveCIStatus
|
||||||
|
|
||||||
|
ReceiveCIStatus --> AdvanceMain :on Pass
|
||||||
|
ReceiveCIStatus --> ValidateRepo :on Pending
|
||||||
|
ReceiveCIStatus --> [*] :on Fail
|
||||||
|
|
||||||
|
AdvanceNext --> ValidateRepo
|
||||||
|
|
||||||
|
ReceiveRepoConfig --> RegisterWebhook
|
||||||
|
|
||||||
|
RegisterWebhook --> WebhookRegistered
|
||||||
|
|
||||||
|
WebhookRegistered --> ValidateRepo
|
||||||
|
|
||||||
|
AdvanceMain --> LoadConfigFromRepo :on repo config
|
||||||
|
AdvanceMain --> ValidateRepo :on server config
|
||||||
|
|
||||||
|
[*] --> WebhookNotification :on push
|
||||||
|
|
||||||
|
WebhookNotification --> ValidateRepo
|
||||||
|
```
|
|
@ -1,36 +1,9 @@
|
||||||
```mermaid
|
# git-next
|
||||||
stateDiagram-v2
|
|
||||||
[*] --> CloneRepo :on start
|
|
||||||
|
|
||||||
CloneRepo --> LoadConfigFromRepo :on repo config
|
## Trunk-based developement manager.
|
||||||
CloneRepo --> RegisterWebhook :on server config
|
|
||||||
|
|
||||||
LoadConfigFromRepo --> ReceiveRepoConfig
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
ValidateRepo --> CheckCIStatus :on next ahead of main
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
||||||
ValidateRepo --> AdvanceNext :on dev ahead of next
|
|
||||||
ValidateRepo --> [*] :on dev == next == main
|
|
||||||
ValidateRepo --> [*] :on non-retryable error
|
|
||||||
ValidateRepo --> ValidateRepo :on retryable error
|
|
||||||
|
|
||||||
CheckCIStatus --> ReceiveCIStatus
|
|
||||||
|
|
||||||
ReceiveCIStatus --> AdvanceMain :on Pass
|
|
||||||
ReceiveCIStatus --> ValidateRepo :on Pending
|
|
||||||
ReceiveCIStatus --> [*] :on Fail
|
|
||||||
|
|
||||||
AdvanceNext --> ValidateRepo
|
|
||||||
|
|
||||||
ReceiveRepoConfig --> RegisterWebhook
|
|
||||||
|
|
||||||
RegisterWebhook --> WebhookRegistered
|
|
||||||
|
|
||||||
WebhookRegistered --> ValidateRepo
|
|
||||||
|
|
||||||
AdvanceMain --> LoadConfigFromRepo :on repo config
|
|
||||||
AdvanceMain --> ValidateRepo :on server config
|
|
||||||
|
|
||||||
[*] --> WebhookNotification :on push
|
|
||||||
|
|
||||||
WebhookNotification --> ValidateRepo
|
|
||||||
```
|
|
||||||
|
|
17
crates/server-actor/MESSAGES.md
Normal file
17
crates/server-actor/MESSAGES.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
```mermaid
|
||||||
|
stateDiagram-v2
|
||||||
|
SERVER --> FileUpdated :on start
|
||||||
|
FILE_WATCHER_ACTOR --> FileUpdated : WatchFile
|
||||||
|
|
||||||
|
FileUpdated --> ReceiveServerConfig
|
||||||
|
|
||||||
|
ReceiveServerConfig --> ReceiveValidServerConfig
|
||||||
|
|
||||||
|
ReceiveValidServerConfig --> WEBHOOK_ACTOR:ShutdownWebhook
|
||||||
|
ReceiveValidServerConfig --> REPO_ACTOR:START
|
||||||
|
ReceiveValidServerConfig --> REPO_ACTOR:CloneRepo
|
||||||
|
ReceiveValidServerConfig --> WEBHOOK_ROUTER:START
|
||||||
|
ReceiveValidServerConfig --> WEBHOOK_ROUTER:AddWebhookRecipient
|
||||||
|
ReceiveValidServerConfig --> WEBHOOK_ACTOR:START
|
||||||
|
|
||||||
|
```
|
|
@ -1,17 +1,9 @@
|
||||||
```mermaid
|
# git-next
|
||||||
stateDiagram-v2
|
|
||||||
SERVER --> FileUpdated :on start
|
|
||||||
FILE_WATCHER_ACTOR --> FileUpdated : WatchFile
|
|
||||||
|
|
||||||
FileUpdated --> ReceiveServerConfig
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
ReceiveServerConfig --> ReceiveValidServerConfig
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
ReceiveValidServerConfig --> WEBHOOK_ACTOR:ShutdownWebhook
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
||||||
ReceiveValidServerConfig --> REPO_ACTOR:START
|
|
||||||
ReceiveValidServerConfig --> REPO_ACTOR:CloneRepo
|
|
||||||
ReceiveValidServerConfig --> WEBHOOK_ROUTER:START
|
|
||||||
ReceiveValidServerConfig --> WEBHOOK_ROUTER:AddWebhookRecipient
|
|
||||||
ReceiveValidServerConfig --> WEBHOOK_ACTOR:START
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
9
crates/server/README.md
Normal file
9
crates/server/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
9
crates/webhook-actor/README.md
Normal file
9
crates/webhook-actor/README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# git-next
|
||||||
|
|
||||||
|
## Trunk-based developement manager.
|
||||||
|
|
||||||
|
`git-next` is a combined server and command-line tool that enables trunk-based
|
||||||
|
development workflows where each commit must pass CI before being included in
|
||||||
|
the main branch.
|
||||||
|
|
||||||
|
See [git-next](https://crates.io/crates/git-next) for more information.
|
Loading…
Reference in a new issue