Craft your forge // Build your project // Grow your community freely
1---
2name: grafter
3purl: pkg:gitroot/gitroot/grafter@0.0.5?checksum=sha256:de248bc6ab15c2a49b45339e3802792a87fff4f5b63465cbd03c63dd304108a2®istry=https:%2F%2Fgitroot.dev%2Freleases%2F0.5.0
4homepage: https://gitroot.dev/app/plugins/grafter/
5doc: https://gitroot.dev/app/plugins/grafter/doc.html
6changelog: https://gitroot.dev/app/plugins/grafter/CHANGELOG.html
7---
8 9Every time you (or a contributor) push a branch, grafter plugin will create a `grafts/$nameBranch.md` in the git branch. This file is all you need to know to review, discuss, merge this branch. This is the start of this file:
1011```md
12---
13target: main
14status: draft
15reviewers: []
16---
17```1819You can discuss/review changes directly in this file or in the code. Status is `draft` when creating. Then user can set it at `review`, when the statu sis review, each change in the repository is added in this file:
2021````md
22## Push 1 commit
2324### :ok_hand: add test task
2526(5c87370cec82226b15259b918e4ed54eaa313472)
2728- +- [app/libs/rust/plugin/src/gitroot.rs](../app/libs/rust/plugin/src/gitroot.rs)
2930```diff
31--- a/app/libs/rust/plugin/src/gitroot.rs
32+++ b/app/libs/rust/plugin/src/gitroot.rs
33@@ -29,8 +29,8 @@
34 #[serde(rename_all = "camelCase")]
35 pub struct ForgeConf {
36 domain: String,
37- external_ssh_addr: String
38- external_http_addr: String
39+ external_ssh_addr: String,
40+ external_http_addr: String,
41 }
4243 #[derive(Debug, Deserialize)]
44```4546- +- [mise.toml](../mise.toml)
4748```diff
49--- a/mise.toml
50+++ b/mise.toml
51@@ -14,10 +14,13 @@
52 run = "make build"
5354 [tasks.init]
55-description = "Build the single binary"
56+description = "Configure your git client"
57 run = ".gitroot/init.sh"
5859 [tasks.issue]
60 description = "Create an issue"
61 run = ".gitroot/issue.sh"
6263+[tasks.test]
64+description = "Execute tests"
65+run = "make testall"
66```67````
6869When all is good put `merge` in status and if you have right to write in target, gitroot will merge and delete branche.