[Kde-scm-interest] Kopete git migration
Pali Rohár
pali.rohar at gmail.com
Thu Apr 18 20:20:53 UTC 2013
On Thursday 18 April 2013 22:13:08 Ben Cooksley wrote:
> On Fri, Apr 19, 2013 at 7:48 AM, Pali Rohár
> <pali.rohar at gmail.com> wrote:
> > On Thursday 18 April 2013 21:33:51 Jeremy Whiting wrote:
> >> By the way the post processing of kopete takes quite some
> >> time, as does the svn-all-fast-export run, even with a
> >> revlist to make it fast it took about 30 mins here. I
> >> guess that's just how kopete is since it has so much
> >> history, but I think we probably ought to not include so
> >> many unused things in the main kopete repo in my opinion.
> >> It's not a problem, but it sure makes kopete look messy in
> >> gitk and such to have so many branches lying around.
> >
> > Hi,
> >
> > problem why kopete-filter script is slow is due to first git
> > filter- branch call (and not only because of big history).
> >
> > Very slow is --tree-filter, because due to kde git policy
> > all commits with *.orig and *.rej filenames are rejected.
> > This filter removing that files on every commit with rm
> > -rf. Next problem is
>
> This is not necessary. We grant exceptions to the commit
> policies when migrating projects such as Kopete from
> Subversion.
>
Ok, but still did not solve problem. Recursive rm -rf on doc-user
is still needed...
> > with kdenetwork/doc directory which is imported into git
> > under name doc-user. But Urs already imported it by svn
> > revision 1340343 and svn2git cannot handle this, so after
> > svn rev, there are doc files two times (one under directory
> > doc-user and one under doc). So there is filter which
> > removing doc-user directory after svn revision 1340343. But
> > because git filter-branch, script checking for svn revision
> > number (in commit message) in each git commit in history
> > (very slow).
> >
--
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-scm-interest/attachments/20130418/cc956a5d/attachment.sig>
More information about the Kde-scm-interest
mailing list