Skip to content

feat: add no-remote flag to command sync - #218

Open
Czcfsdx wants to merge 3 commits into
kantord:mainfrom
Czcfsdx:feat/no-remote
Open

feat: add no-remote flag to command sync#218
Czcfsdx wants to merge 3 commits into
kantord:mainfrom
Czcfsdx:feat/no-remote

Conversation

@Czcfsdx

@Czcfsdx Czcfsdx commented Aug 6, 2026

Copy link
Copy Markdown

When using blog sync --no-remote, it will only fetch the feeds and won't push local change or merge with remote change.

Czcfsdx added 3 commits August 6, 2026 00:56
Add `no-remote` flag to command `sync`
This flag is to tell the blogtato to not interact with the git remote
repository.
Add tests `test_parse_sync_with_no_remote` and
`test_parse_sync_with_feed_selectors_and_no_remote`
Add `no_remote` pattern for others sync parse tests.
Add 3 integration tests: `test_sync_no_remote_still_fetches_posts`,
`test_sync_no_remote_does_not_pull_remote_feed` and `test_sync_no_remote_does_not_push`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant