Add automatic NomadNet mirroring with first-run prompt and per-feed --nomirror control#117
Open
jamesdwilson wants to merge 1 commit into
Open
Add automatic NomadNet mirroring with first-run prompt and per-feed --nomirror control#117jamesdwilson wants to merge 1 commit into
jamesdwilson wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
nomadcastd/config.py, introducingmirror_to_nomadnetand a[mirroring]nomirrorlist plus helper functions to add/removenomirrorentries.nomadcastd/__main__.pywithfeeds add --nomirror,feeds lsnow reports mirror state, andfeeds rmcleans up nomirror entries.nomadcastd/storage.py(resolve_nomadnet_config_dir,nomadnet_storage_root,ensure_nomadnet_mirror, etc.) to create a symlinked mirror tree under~/.nomadnetwork/storage/files/nomadcast.nomadcastd/daemon.pyto call mirrors after RSS refresh and media caching whenmirror_to_nomadnetis enabled and the feed is not innomirror_uris.README.mdto document automatic mirroring, first-run prompt, config options, and CLI usage, and removed the old one-shot mirroring examples and the “ONE CLICK MIRROR” CTA in the sample page.examples/(the sample index no longer includes a mirror CTA).Testing
rg) to verify references were updated and mirror example files/pages removed, and inspected modified files to confirm the new config keys and CLI flag were wired through; these checks succeeded.Codex Task