Advise requested when a repo split occurs
000.fbsd at quip.cz
Mon Oct 24 10:34:25 UTC 2016
Ultima wrote on 2016/10/22 21:14:
> Some what recently a couple of the ports I maintain split into two, one
> being -server, and the other being -client. The code was more or less
> cloned then removed some make args/files that one would be used to enable
> Currently the code is so similar it would be possible to create a slave
> port and use the same patches, makefile and plist with minimal changes,
> however I have no idea the direction this split may go and this maybe short
> lived. So onto my topic for this post.
> Would it be better to create a new port with mostly duplicate code and
> remove/add the little changes required? Or as previously stated make a
> slave port and use the common code.
> I am struggling to decide on this and would appreciate opinions.
I think it is fine to use slave port first. See some databases like
MySQL or PostgreSQL.
When server and client will diverge too much in the future, you can
rework it as too separate ports.
More information about the freebsd-ports