Apologies for breaking the freeze and a suggestion

Aurélien Gâteau agateau at kde.org
Wed Jul 11 15:46:23 UTC 2012


Le mercredi 11 juillet 2012 11:23:28 Ben Cooksley a écrit :
> On Wed, Jul 11, 2012 at 5:06 AM, Allen Winter <winter at kde.org> wrote:
> > On Tuesday, July 10, 2012 06:32:04 PM Aurélien Gâteau wrote:
> >> Hi,
> >> 
> >> This morning I worked on two bug fixes for Gwenview which I pushed to the
> >> KDE/4.9 branch. Only later in the afternoon did I check email and
> >> realized I should not have pushed those changes as we were freezing for
> >> RC2. I want to apologize for that.
> >> 
> >> Since a "git push" is a bit too easy to do, I was wondering whether it
> >> would be possible to have a git hook which would disallow pushing in
> >> freeze mode. The hook could be designed to only allow commits if they
> >> have a
> >> "APPROVED_BY_RELEASE_TEAM" keyword in the commit message.
> >> 
> >> This would prevent clueless people like me from pushing when they should
> >> not. Do you think this is doable?
> > 
> > I don't know if it's doable.  But I like the idea.
> > 
> > Our awesome sysadmins might have some thoughts.
> 
> Whilst this would be possible, it would require maintaining a list of
> all KDE SC repositories which are affected by this freeze, and making
> changes around each freeze period to switch it on and off again.

I would imagine it would be possible to:
1. symlink the same hook in all KDE SC repositories so that the hook doesn't 
have to be duplicated.
2. make this hook read a configuration file so that one only has to update this 
one file for each freeze/unfreeze transition.
But I may be completely wrong.

Aurélien


More information about the release-team mailing list