brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Heneveld <>
Subject Re: Repository splitting script
Date Mon, 07 Dec 2015 01:19:29 GMT

Richard, All-

I've carried this down the pitch a ways, in [1].

Big tasks remaining:
* script to clean out big binary litter files (refer to notes in an 
email a few weeks back, from Svet?)
* fix pom files on result of `` script so it 
builds (make this a diff / git cherry-pick we can just apply once all 
PRs are merged?)
* adjust move-w-history for new structure and whitelist

Anything else?


[1] .

On 05/12/2015 23:46, Richard Downer wrote:
> All,
> Per the recent vote on this list, we have decided to split the
> Brooklyn repository into a number of smaller modules.
> With some of my colleagues, I've been working on a script to do this,
> which preserves as much of the existing history, branches and tags as
> possible.
> You can find the script here:
> And the result of running the script:
> I'd be interested in your feedback!
> --
> One limitation of this script occurs when files are moved between
> locations that turn into different repositories after the split. My
> expectation is that files would suddenly appear in the new repository
> without history.
> Alex Heneveld has suggested a pre-processing phase which examines all
> the files currently in each proposed subrepo, and then examines the
> history to determine every filename that they have previously been
> known as, and uses that in the whitelist for selecting the contents of
> each subrepo. This would preserve history (although the subrepo
> history would look a bit odd, as the early history of the repo would
> have isolated files in random locations).
> I haven't implemented Alex's suggestion, but the design of this script
> would easily allow the results of the pre-processing phase to be
> integrated.
> Cheers
> Richard.

View raw message