From 89af75fd6eccb14756a805eedd5bc7caf572bd2f Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 20 Aug 2024 09:16:41 +0100 Subject: [PATCH] feat: improve quickstart guide copy for example to include a note about switching off PRs elsewhere --- src/routes/+page.svelte | 54 ++++++++++++++++------------- src/routes/quick-start/+page.svelte | 28 +++++++++++++-- 2 files changed, 55 insertions(+), 27 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 0d871e4..6f9c6b6 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -181,10 +181,7 @@

Quick Start

-

- Install ngit and - git-remote-nostr -

+

Install ngit and git-remote-nostr

@@ -293,36 +290,45 @@ my-repo
-
- git remote set-url - origin nostr://npub123/my-repo -
// pushing merged commits updates proposal status// push to nostr and git server(s) via remote helper
- git merge origin/pr/great-feature(e8246b2) -
-
- git push +
+ git remote set-url + origin nostr://npub123/my-repo +
+
+ // pushing merged commits updates proposal status +
+
+ git merge origin/pr/great-feature(e8246b2) +
+
+ git push +
- - diff --git a/src/routes/quick-start/+page.svelte b/src/routes/quick-start/+page.svelte index 85cdebb..56bb641 100644 --- a/src/routes/quick-start/+page.svelte +++ b/src/routes/quick-start/+page.svelte @@ -224,7 +224,7 @@
git remote add origin - https://codeberg.org/johnedoe/my-repo.git
@@ -243,13 +243,23 @@
  • -
    initialize and use the nostr remote:
    +
    initialize:
    ngit init
    +
    +
    +
  • +
  • +
    +
    + use the nostr remote to push state to nostr and git + server(s): +
    +
    git remote @@ -263,7 +273,7 @@
  • ensure all maintainers push to the nostr remote and not git - server directly so that the state is updated on nostr + server directly so that state on nostr remains in sync
@@ -348,6 +358,18 @@ +

5. consider turning off PRs and issues elsewhere

+
+
    +
  • + ie. on git server(s) so they are managed solely on nostr. +
  • +
  • + Note: for github use Repo Settings > Features for + issues but turning off PRs isn't yet possible. +
  • +
+