mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-30 16:50:47 +08:00
Set patch status to merged automatically
When a merge is applied to a patch, we check whether the threshold of delegates has been reached, at which point we set the patch status to `merged`. This requires threading the identity document oid through the "apply" process.
This commit is contained in:
@@ -101,6 +101,7 @@ mod routes {
|
||||
"open": 1,
|
||||
"draft": 0,
|
||||
"archived": 0,
|
||||
"merged": 0,
|
||||
},
|
||||
"issues": {
|
||||
"open": 1,
|
||||
|
||||
@@ -751,6 +751,7 @@ mod routes {
|
||||
"open": 1,
|
||||
"draft": 0,
|
||||
"archived": 0,
|
||||
"merged": 0,
|
||||
},
|
||||
"issues": {
|
||||
"open": 1,
|
||||
@@ -781,6 +782,7 @@ mod routes {
|
||||
"open": 1,
|
||||
"draft": 0,
|
||||
"archived": 0,
|
||||
"merged": 0,
|
||||
},
|
||||
"issues": {
|
||||
"open": 1,
|
||||
@@ -2267,7 +2269,7 @@ mod routes {
|
||||
},
|
||||
"title": "A new `hello world`",
|
||||
"description": "change `hello world` in README to something else",
|
||||
"state": { "status": "open" },
|
||||
"state": { "status": "merged" },
|
||||
"target": "delegates",
|
||||
"tags": [],
|
||||
"revisions": [
|
||||
|
||||
Reference in New Issue
Block a user