[Freeipa-devel] [resend] tree reorganization proposal

Rob Crittenden rcritten at redhat.com
Tue Jan 27 21:37:03 UTC 2009


Simo Sorce wrote:
> On Tue, 2009-01-27 at 15:52 -0500, Rob Crittenden wrote:
>> [Simo found an error in the original document (I duplicated moving from 
>> ipa-server/ipaserver/* to ipaserver/install). Removed the duplication.]
>>
>> 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
>>
>> 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.
> 
> 
> Looks good to me, but what is the plan wrt the C stuff and Makefiles ?

I'm going to move all the Makefiles along with the ride. Some may not 
last forever but as a first step they'll move along.

rob




More information about the Freeipa-devel mailing list