Re: Somebody broke commit hook for git push --tags? - Mailing list pgsql-www

From Magnus Hagander
Subject Re: Somebody broke commit hook for git push --tags?
Date
Msg-id CABUevEzjkjKBBTb+iSNSTWQNGFVQYdMBKwevkZ1cppHuiimO1g@mail.gmail.com
Whole thread Raw
In response to Somebody broke commit hook for git push --tags?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-www
On Wed, Sep 25, 2019 at 12:20 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
When I tried to push the RC1 tag to gitmaster just now, I got

$ git push --tags
Total 0 (delta 0), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote:   File "hooks/post-receive", line 414, in <module>
remote:     raise Exception("Unknown tag type '%s'" % t)
remote: Exception: Unknown tag type 'b'commit''
To ssh://git@gitmaster.postgresql.org/postgresql.git
 * [new tag]         REL_12_RC1 -> REL_12_RC1
$

It looks like the tag got pushed anyway, but this was a bit scary.


That was indeed me. *This* was fallout from that deployment I did a few days ago that I was initially blaming a different problem on.

I've pushed what I believe is a fix to that.

//Magnus

pgsql-www by date:

Previous
From: Tom Lane
Date:
Subject: Somebody broke commit hook for git push --tags?
Next
From: Ahsan Hadi
Date:
Subject: wiki editor request