diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-05-31 15:34:21 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-05-31 19:50:06 +0100 |
| commit | 5f45edbebe310decb06f955d95665a6ad387c6cb (patch) | |
| tree | d6da1d3148e55aa75fc28dca22ad70aa2a5fd224 /tests/git_remote_nostr/push.rs | |
| parent | 6f74dd518fbb74dfd2abbe2e1c5bb5df7a7d0562 (diff) | |
feat(push): prevent push if no ann event
To ensure additional maintainers publish an annoucement event,
require it for them to push
Diffstat (limited to 'tests/git_remote_nostr/push.rs')
| -rw-r--r-- | tests/git_remote_nostr/push.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/git_remote_nostr/push.rs b/tests/git_remote_nostr/push.rs index d041a89..eab2422 100644 --- a/tests/git_remote_nostr/push.rs +++ b/tests/git_remote_nostr/push.rs | |||
| @@ -1833,3 +1833,11 @@ async fn push_new_pr_branch_creates_proposal() -> Result<()> { | |||
| 1833 | 1833 | ||
| 1834 | Ok(()) | 1834 | Ok(()) |
| 1835 | } | 1835 | } |
| 1836 | |||
| 1837 | mod push_from_another_maintainer { | ||
| 1838 | // TODO that has issued announcement | ||
| 1839 | // - that is listed by trusted maintainer - succeeds | ||
| 1840 | // - that isn't listed by trusted maintainer - fails | ||
| 1841 | // TODO that hasn't yet issued announcement | ||
| 1842 | // - that is listed by trusted maintainer - fails | ||
| 1843 | } | ||