[bind10-dev] svn reorganization (again) for languages and for reviewed branch
Jeremy C. Reed
jreed at isc.org
Fri Feb 19 20:16:08 UTC 2010
As discussed on the phone, chat, and emails, we are reorganizing the
subversion trees again.
But Shane and I discussed another solution.
A small problem with using language as a category is that it makes it
harder to find the components if we don't know what language it is coded
in.
Note we already have code that is not categorized by language, for
example all of src/bin/:
src/bin/auth/main.cc
src/bin/host/host.cc
src/bin/bind10/bind10.py.in
src/bin/bindctl/bindctl.py
src/bin/cfgmgr/b10-cfgmgr.py.in
src/bin/cmdctl/b10-cmdctl.py.in
src/bin/msgq/msgq.py.in
src/bin/stats/statsd.py
So these src/bin don't need to be changed. So no src/LANGUAGE/bin/FOO or
src/bin/LANGUAGE/FOO needed.
For lib my proposal is:
svn mv src/lib/auth/cpp/ src/lib/libauth
svn mv src/lib/cc/cpp/ src/lib/libcc
svn mv src/lib/cc/python src/lib/pycc
I don't have suggestion for ruby there. But if we ship components
separately it should have its own name, maybe ruby-cc or rbcc or rb-cc.
svn mv src/lib/config/cpp src/lib/libcfgclient
svn mv src/lib/config/python src/lib/pyconfig
(or match up to c++ name, so pycfgclient?)
Need to pick a place for src/lib/config/testdata which I assume is
shared between the C++ and Python tests. That would have to be resolved
however we move this. So just choose a place for now, maybe
src/lib/libcfgclient/testdata/.
svn mv src/lib/dns/cpp src/lib/libdns
Python libdns wrappers don't exist yet, but maybe: src/lib/pydns
svn mv src/lib/exceptions/cpp src/lib/libexceptions
But with that we still have the problem with include headers being
referenced that are from other parts of the source tree such as:
src/bin/auth/auth_srv.h:#include <cc/data.h>
src/bin/auth/auth_srv.h:#include <auth/data_source_static.h>
src/bin/auth/auth_srv.cc:#include <dns/name.h>
I brought that up in a different email since this is getting so long ...
More information about the bind10-dev
mailing list