--On Sunday, October 9, 2005 11:40 PM -1000 "Qin ZHANG (Cedric)"
<[EMAIL PROTECTED]> wrote:
It just occurred to me that CVS and SVN sensors have common code. Version
7's plan is that each sensor goes to its own package. Do you have a way
to deal with this problem? Cheers, -cedric
Good question. I see the following possibilities:
(a) Two modules with replicated code. This is reasonable only if the
amount of common code is very small.
(b) Move most/all of the common code to some third module, make the two
modules dependent upon that other module. This makes sense if the common
code is likely to be useful to additional contexts beyond this one.
(c) Make one module dependent on the other. This is a good solution if one
sensor can be created by a very small change to the public API associated
with the the sensor.
(d) Make a single module containing both sensors. This is a good solution
if one sensor can be created by a very small change to the private API
associated with the other sensor.
Cheers,
Philip