Re: Failed to make v10 branch: gitmaster push hook needs adjustment

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL WWW <pgsql-www(at)postgresql(dot)org>
Subject: Re: Failed to make v10 branch: gitmaster push hook needs adjustment
Date: 2017-08-14 21:44:50
Message-ID: CABUevEwKxa_OQ8bLsgYaeXp+_p3uMUbifayJUFP0pXJLfSV6sw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Mon, Aug 14, 2017 at 11:37 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> So I just tried to make the v10 branch, and was given the raspberry:
>
> $ git push origin master:refs/heads/REL_10_STABLE
> Total 0 (delta 0), reused 0 (delta 0)
> remote: Branch refs/heads/REL_10_STABLE violates the policy: Branch name
> does not match allowed regexp
> remote: error: hook declined to update refs/heads/REL_10_STABLE
> To ssh://git(at)gitmaster(dot)postgresql(dot)org/postgresql.git
> ! [remote rejected] master -> REL_10_STABLE (hook declined)
> error: failed to push some refs to 'ssh://git(at)gitmaster(dot)
> postgresql.org/postgresql.git'
>
> Presumably, there's some bit of logic there that's expecting two numeric
> portions and no underscore just after REL. Somebody please update it to
> expect the format REL_\d+_STABLE for future branch names.
>

That's indeed an oops. Forgot about that one.

Hook config updated, please try again.

--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Tom Lane 2017-08-14 22:02:40 Re: Failed to make v10 branch: gitmaster push hook needs adjustment
Previous Message Tom Lane 2017-08-14 21:37:32 Failed to make v10 branch: gitmaster push hook needs adjustment