From 64747526c9f6ab43f9dac461d056bb42992573b4 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 20 Feb 2026 20:09:09 +0000 Subject: extract grasp/maintainership helpers to lib and auto-accept on push move apply_grasp_infrastructure, latest_event_repo_ref to lib/repo_ref.rs and wait_for_grasp_servers + grasp_servers_from_user_or_fallback to a new lib/accept_maintainership.rs so both binaries can share them. add accept_maintainership_with_defaults which publishes the co-maintainer's own Kind:30617 announcement with defaults (user grasp servers, shared metadata from existing events) then waits for grasp server provisioning and updates nostr.repo config and origin remote. replace the push error block with a call to accept_maintainership_with_defaults so pushing now silently accepts co-maintainership instead of failing. --- src/lib/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/mod.rs') diff --git a/src/lib/mod.rs b/src/lib/mod.rs index b388b23..1229e8c 100644 --- a/src/lib/mod.rs +++ b/src/lib/mod.rs @@ -1,3 +1,4 @@ +pub mod accept_maintainership; pub mod cli_interactor; pub mod client; pub mod fetch; -- cgit v1.2.3