Re: [pgsql-www] Failed to make v10 branch: gitmaster push hook needs adjustment - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [pgsql-www] Failed to make v10 branch: gitmaster push hook needs adjustment
Date
Msg-id CABUevEwKxa_OQ8bLsgYaeXp+_p3uMUbifayJUFP0pXJLfSV6sw@mail.gmail.com
Whole thread Raw
In response to [pgsql-www] Failed to make v10 branch: gitmaster push hook needs adjustment  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [pgsql-www] Failed to make v10 branch: gitmaster push hook needs adjustment  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-www


On Mon, Aug 14, 2017 at 11:37 PM, Tom Lane <tgl@sss.pgh.pa.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@gitmaster.postgresql.org/postgresql.git
 ! [remote rejected] master -> REL_10_STABLE (hook declined)
error: failed to push some refs to 'ssh://git@gitmaster.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.
 
--

pgsql-www by date:

Previous
From: Tom Lane
Date:
Subject: [pgsql-www] Failed to make v10 branch: gitmaster push hook needs adjustment
Next
From: Tom Lane
Date:
Subject: Re: [pgsql-www] Failed to make v10 branch: gitmaster push hook needs adjustment