upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.env.example
diff options
context:
space:
mode:
Diffstat (limited to '.env.example')
-rw-r--r--.env.example27
1 files changed, 26 insertions, 1 deletions
diff --git a/.env.example b/.env.example
index cb797a8..0789b28 100644
--- a/.env.example
+++ b/.env.example
@@ -202,4 +202,29 @@
202# CLI: --archive-read-only 202# CLI: --archive-read-only
203# Default: true if NGIT_ARCHIVE_ALL or NGIT_ARCHIVE_WHITELIST is set, false otherwise 203# Default: true if NGIT_ARCHIVE_ALL or NGIT_ARCHIVE_WHITELIST is set, false otherwise
204# Note: Setting to true without archive config causes startup error 204# Note: Setting to true without archive config causes startup error
205# NGIT_ARCHIVE_READ_ONLY= \ No newline at end of file 205# Note: Cannot be used with NGIT_REPOSITORY_WHITELIST (mutually exclusive)
206# NGIT_ARCHIVE_READ_ONLY=
207
208# ============================================================================
209# REPOSITORY WHITELIST
210# ============================================================================
211
212# Whitelist specific repos/pubkeys/identifiers for GRASP-01 acceptance
213# Comma-separated list supporting three formats (same as archive whitelist):
214# <npub> - Accept all repos from this pubkey (if they list our service)
215# <npub>/<identifier> - Accept specific repo (if it lists our service)
216# <identifier> - Accept repos with this identifier (if they list our service)
217#
218# Difference from archive whitelist:
219# - Repository whitelist: Announcements MUST list our service AND match whitelist
220# - Archive whitelist: Announcements don't need to list our service, just match whitelist
221#
222# CLI: --repository-whitelist <list>
223# Default: (empty - all repos listing our service are accepted)
224# Examples:
225# NGIT_REPOSITORY_WHITELIST=npub1alice...
226# NGIT_REPOSITORY_WHITELIST=npub1alice...,npub1bob.../linux
227# NGIT_REPOSITORY_WHITELIST=bitcoin-core,linux,rust
228# Note: Cannot be used with NGIT_ARCHIVE_READ_ONLY=true (mutually exclusive)
229# Note: When set, NIP-11 curation field will indicate curated repository acceptance
230# NGIT_REPOSITORY_WHITELIST= \ No newline at end of file