Closed (fixed)
Project:
Replication
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
21 Apr 2016 at 16:04 UTC
Updated:
20 Jun 2016 at 14:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
josephdpurcell commentedHere is a quick initial concept of how this might work just to get early feedback. I think at this point it will make sense to have a test on the Changes class.
Comment #3
josephdpurcell commenteduuids are strings!
This patch takes the approach that the doc ids filter does not leverage the same structure as other filters would.
Comment #4
Grayside commentedI would like to test this functionality, what needs to happen before that?
Comment #5
josephdpurcell commentedHey @grayside, I've completely rewritten the patch to include generic filters. I've created a PR on GitHub just for testing the work and plan to create a patch here sometime later this week: https://github.com/relaxedws/drupal-replication/pull/6
Comment #6
josephdpurcell commentedUpdating the description to be generic.
Comment #7
josephdpurcell commentedThere are two pull requests that go hand-in-hand, one for the Replication module (https://github.com/relaxedws/drupal-replication/pull/6) and the other for the Workspace module (https://github.com/timmillwood/drupal-workspace/pull/5). This ticket is for reviewing the Replication module PR, however we should validate that the ReplicationTaskInterface will work well for any ReplicatorInterface, such as in the Workspace module.
Here are a couple important notes about implementation:
Comment #8
josephdpurcell commentedThis latest patch removes "uuids" from Changes class and ReplicationTask class and makes it a parameter. So, to activate the UUID filter you would pass in filter=uuid and uuids=123,456.
Comment #9
josephdpurcell commentedThis patch extends #8 by automatically setting the filter to "uuid" if the "uuids" parameter is passed.
Comment #10
josephdpurcell commentedComment #12
jeqq commentedThank you @josephdpurcell!
Comment #13
JamesK commented@josephdpurcell this made my day! Awesome work!
Comment #26
jeqq commented