[Kde-scm-interest] Access control

Thiago Macieira thiago at kde.org
Sun Aug 16 12:39:34 CEST 2009


Thomas Zander wrote:
>On Wednesday 12. August 2009 22.33.10 Jeff Mitchell wrote:
>> 2) I was thinking about how you were talking about sending out commit
>> information via HTTP
>
>I don't think we should depend on anything happening based on that info,
> its not guaranteed that the call reaches the destination.
>Any assumptions about correctness-checks, logging being complete etc all
> go out the window if you can't be certain that the http call will 100%
> if the time be completed correctly.
>
>If gitorious.org doesn't allow kde-written post-commit hooks,
> gitorious.org is useless to us.

It doesn't have to be running *on* gitorious.org machines. At least, not 
for email/CIA/RSS/whatever reporting

That's how our old git-p4 hook worked in the office: the p4 machine sent out 
a UDP packet with the revision number. Another machine caught it and did 
the import. (the value was discarded)

We could do the same: the gitorious.org machine sends a UDP packet with 
the branches that changed and their new SHA-1. Another machine fetches and 
produces the commit logs. Worst case scenario is that someone is forgotten 
due to a dropped UDP packet.


Like I said, this works for reporting -- for anything that is run by a 
post-receive hook. For anything requiring a pre-receive hook (actually, 
pre-update, but the name is wrong in Git), it will have to be run on their 
servers. But we have fortunately very few of those and they require also 
very little maintenance.

-- 
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

Qt Developer Days 2009 | Registration Now Open!
Munich, Germany: Oct 12 - 14     San Francisco, California: Nov 2 - 4
      http://qt.nokia.com/qtdevdays2009
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-scm-interest/attachments/20090816/45ff855f/attachment.sig 


More information about the Kde-scm-interest mailing list