[Freeipa-devel] tree reorganization proposal

Rob Crittenden rcritten at redhat.com
Tue Jan 27 19:34:29 UTC 2009


Now that I've muddled things up by importing Jason's tree into the 
master branch, here is how I propose we clean it up.

I'm purposely excluding Makefiles for now. I'm not sure they are going 
to be needed as we can probably cover the installation as part of 
setup.py. I'm particularly worried about my suggestion of 
ipaserver/tools. I'm not sure how flexible the python setuputils is to 
not include subdirs when it creates packages, and to move things around. 
This is mostly based on cosmetic and tidiness reasons. I still need to 
figure out how to build rpms from these.

mkdir ipaserver/install
mv ipa-server/ipaserver/* ipaserver/install

mkdir ipaserver/tools
mkdir ipaserver/tools/man
mv ipa-server/ipa-install/ipa-* ipaserver/tools
mv ipa-server/ipa-install/ipactl ipaserver/tools
mv ipa-server/ipa-upgradeconfig ipaserver/tools
mv ipa-server/ipa-ldap-updater ipaserver/tools
mv ipa-server/ipa-fix-CVE-2008-3274 ipaserver/tools
mv ipa-server/man/* ipaserver/tools/man

mv ipa-server/ipa-install/share ipaserver
mv ipa-server/ipa-install/updates/* ipaserver/updates

mkdir ipaserver/install
mv ipa-server/ipaserver/* ipa-server/install

mv ipa-server/selinux ipaserver
mv ipa-server/ipa-kpasswd ipaserver
mv ipa-server/ipa-slapi-plugins ipaserver

I think after this we can remove everything in ipa-server.

The resulting directories will look something like:

ipalib/
ipa-python/
ipaserver/tools/
ipaserver/
ipaserver/tools/
ipaserver/tools/man/
ipaserver/share/
ipaserver/install/
ipaserver/updates/
ipaserver/ipa-kpasswd/
ipaserver/ipa-slapi-plugins/
ipaserver/selinux/
ipawebui/
tests/
ipa-client/

ipa-admintools is going away and the radius tools and functionality will 
be folded into the server as time permits.

I suspect that ipa-python will be folded into ipalib at some point. Most 
of it is already re-implemented as it is. It very much depends on what 
the client installer will look like and whether we will include one in 
this tree or require people to use SSSD.

Lots of this is just moving things from ipa-server into ipaserver which 
make Jason wince.

rob




More information about the Freeipa-devel mailing list