[Kde-scm-interest] Kopete git migration

Torgny Nyblom nyblom at kde.org
Sat May 18 19:27:29 UTC 2013


On Saturday 18 May 2013 15.36.44 you wrote:
> 2013/5/18, Torgny Nyblom <nyblom at kde.org>:
> > On Friday 17 May 2013 17.30.30 Pali Rohár wrote:
> >> On Friday 17 May 2013 17:22:24 Urs Wolfer wrote:
> >> > Ok, I have mailed all maintainers. Once we get their approval,
> >> > we can start the final migration :)
> >> > 
> >> > Should I request Git repos for every project from KDE
> >> > sysadmins?
> >> > 
> >> > @Pali: What do you think about Kopete? Is it also ready?
> >> 
> >> Yes, now Kopete is ready. I fixed all problems and now all tags
> >> are annotated. All kopete plugins which do not have common
> >> history with kopete master was moved into separate rule files and
> >> will be in separate git repositories.
> >> 
> >> There could be one problem: Only on dewey server is conversion OK
> >> due to non deterministic behaviour of svn2git on files...
> > 
> > Just out of curiosity what do you mean by this? Do you have an example?
> 
> APR hashtables use randomized hashing, so the changes within a commit,
> or files in a directory when recursing, are iterated in a random
> order, which is even different between runs.
> 
> svn2git takes the path of the first rule that matches to put in the
> commit message metadata. If, for a certain commit, svn2git gets
> /trunk/KDE/kdenetwork/doc/kopete/index.docbook as the first change,
> the commit message will have "svn
> path=/trunk/KDE/kdenetwork/doc/kopete". Since it's random, the next
> time you convert it may get a source code file first instead, and the
> commit message will have "svn path=/trunk/KDE/kdenetwork/kopete"
> instead, changing the git hash of the commit and every commit that
> follows.

This is just a message and hash, not an issue as long as the same files are 
treated in the same manner each time.

/Regads
Torgny


More information about the Kde-scm-interest mailing list