[Kde-scm-interest] [Kde-pim] Git and the needs of KDE PIM

Thiago Macieira thiago at kde.org
Fri Jan 15 14:13:56 CET 2010

Em Sexta-feira 15 Janeiro 2010, às 12:00:56, Jeff Mitchell escreveu:
> On 01/15/2010 03:18 AM, Thiago Macieira wrote:
> > For Qt, we have one pre-receive script that makes sure the initial Qt
> > commit back in 1994 doesn't end up in the public repository.
> How come?  Just curious.

Because we don't want the old history of Qt to become public. There are 
certain commits talking about customers who forced us to do something we 
didn't want to, or one in particular where one developer was swearing about an 
important developer of another project.

Not to mention, of course, the names of every single developer who had ever 
worked for Trolltech. We cannot publish those names without each individual 
person's consent. (privacy laws)

That's why we had the history cut. The new Qt history, starting on 24 March 
2009, is clean and we maintain it as such. There are a couple of protections 
in place to ensure it is kept clean:

1) none of the old commits are allowed in the new repository. Since all old 
commits have the first commit as final ancestor, ensuring that the first commit 
doesn't end up in the repository ensures that none of the others do.

2) each developer or contributor is added to a whitelist or blacklist. Names 
that are in the black list are not allowed to appear in the commit messages. 
Only names in the whitelist are allowed to be in the Author or Committer field.

3) there's a 12-hour delay between the commit being allowed in the repository 
and it becoming public. In those 12 hours, the syncing can be stopped by 
pressing the big red button.

(We've not had to in the 8 months since it's been public)

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 63806 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20100115/06b03f59/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20100115/06b03f59/attachment-0001.sig 

More information about the Kde-scm-interest mailing list