Repository navigation
Re-sync proxy properties from the source and follow embeds - #194
Merged
Merged
Conversation
Re-sync now adds, updates and removes page properties to match the source, keeping tags::, the proxy keys, and the properties entity definitions name in entity-proxy-destination-properties::. --follow-embeds syncs embedded pages in the same batch. Refs #193 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…perties Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gitpa re-syncs episodes with logseq:entity:proxy:page:sync --follow-embeds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #193.
Re-sync brings source properties.
logseq:entity:proxy:page:syncnow adds properties the source gained, updates changed ones, and removes ones the source dropped. The destination keepstags::, the proxy keys, and any property an entity definition names in the newentity-proxy-destination-properties:::public.podcast-guid, podcast-published-at.A property only the destination has, and no definition claims, is removed on re-sync. The preview lists every property it adds, updates or removes, so a removal shows up before
--apply. The rule is stated on the Proxy Page definition, the sync task page, and Logseq/Entity/Definition.--follow-embedssyncs every page the page embeds, recursively, in one batch. gitpa'sepisode:syncdid this, so gitpa can drop it.GitP/mise/Task/episode/syncis deleted; GitP/How To/Prepare Podcast Metadata and the Mise Task naming example now point at the garden task. The journal and plan pages that mention it as history are left as they are.Verification:
python3 tests/test_core.py: 18 pass, 2 of them new (property merge with destination-owned keys, embed following).entity-proxy-destination-properties::, and a second run wrote nothing.Merge order: this PR first, then codekiln/gitpa#15 Retire episode:sync in favor of the garden proxy sync task, which vendors this branch's sync task. gitpa#15 targets the branch of codekiln/gitpa#12.
🤖 Generated with Claude Code