Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track patch sources, make the plugin ignore its own changes #479

Closed
wants to merge 5 commits into from
Closed

Track patch sources, make the plugin ignore its own changes #479

wants to merge 5 commits into from

Conversation

kennethloeffler
Copy link
Member

Closes #295.

This PR adds the newtype PeerId and adds a source: PeerId member to patch sets; this allows a subscriber to identify who was responsible for any given patch set. It uses this to make the plugin ignore changes that the plugin itself sent during two-way sync.

@kennethloeffler kennethloeffler changed the title Make the plugin ignore changes that originate from itself Track patch sources and make the plugin ignore its own changes Sep 21, 2021
@kennethloeffler kennethloeffler changed the title Track patch sources and make the plugin ignore its own changes Track patch sources, make the plugin ignore its own changes Sep 21, 2021
@LPGhatguy
Copy link
Contributor

This is a great change. I need to find time to sit down and review it (and other changes!)

@kennethloeffler kennethloeffler deleted the two-way-sync-track-patch-sources branch November 12, 2021 12:03
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.

Track "source" for PatchSet
2 participants