Re: Somebody broke commit hook for git push --tags?

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Somebody broke commit hook for git push --tags?
Дата
Msg-id CABUevEzjkjKBBTb+iSNSTWQNGFVQYdMBKwevkZ1cppHuiimO1g@mail.gmail.com
обсуждение исходный текст
Ответ на Somebody broke commit hook for git push --tags?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Somebody broke commit hook for git push --tags?
Следующее
От: Ahsan Hadi
Дата:
Сообщение: wiki editor request