[Kde-scm-interest] git conversion rules for split layout

Ian Monroe ian at monroe.nu
Fri Sep 10 17:55:47 CEST 2010


On Fri, Sep 10, 2010 at 10:46 AM, Thomas Zander <zander at kde.org> wrote:
> On Friday 10. September 2010 17.21.13 Arno Rehn wrote:
>> On Friday 10 September 2010 17:00:09 Niko Sams wrote:
>> > Hi,
>> >
>> > as the major issue with the split repository layout are the missing
>> > conversion rules,
>> > i'd like to contribute some rules. I wanted to start with kdeedu.
>> >
>> > The question I have is how proceed with those kdeedu subdirectories:
>> > cmake/
>> > data/
>> > doc/
>> > libkdeedu/
>>
>> To simplify matters, I'd write conversion rules for the monolithic module,
>> then use git mv & co. to move and distribute these subdirectories you
>> mentioned to the appropiate apps and libs and then use git-filter-branch to
>> split off individual kdeedu subdirectories into their own repositories.
>
> This would imply you are rewriting history; if you do the above I suggest you
> just don't convert the old history and just start fresh. It would have
> practically the same effect as you would never be able to get back to a state
> where things compiled as they were before the conversion
>
>> I think that's easier than writing svn2git rules for possibly every file in
>> those shared subdirectories you mentioned.
>
> This would be even easier.

Especially if kdeedu is anything like kdemultimedia, things probably
haven't moved around inside the repo much at all.

Ian


More information about the Kde-scm-interest mailing list