From 5f45edbebe310decb06f955d95665a6ad387c6cb Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Sat, 31 May 2025 15:34:21 +0100 Subject: feat(push): prevent push if no ann event To ensure additional maintainers publish an annoucement event, require it for them to push --- tests/git_remote_nostr/push.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests') 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<()> { Ok(()) } + +mod push_from_another_maintainer { + // TODO that has issued announcement + // - that is listed by trusted maintainer - succeeds + // - that isn't listed by trusted maintainer - fails + // TODO that hasn't yet issued announcement + // - that is listed by trusted maintainer - fails +} -- cgit v1.2.3