Re: Git repo problem? - Mailing list pgsql-www

From Magnus Hagander
Subject Re: Git repo problem?
Date
Msg-id CABUevExp9502DitAXFVXPz-GuWNVagyMiHO6kbpGmh3AnG_cnw@mail.gmail.com
Whole thread Raw
In response to Git repo problem?  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: Git repo problem?  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List pgsql-www
On Tue, Jun 11, 2019 at 7:34 AM Tatsuo Ishii <ishii@sraoss.co.jp> wrote:
Hi,

Today I saw an wired error message when I tried to push:

t-ishii$ t-ishii$ socksify git push
X11 forwarding request failed on channel 0
Counting objects: 8, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 1.36 KiB | 1.36 MiB/s, done.
Total 8 (delta 6), reused 0 (delta 0)
remote: Traceback (most recent call last):       
remote:   File "hooks/post-receive", line 437, in <module>       
remote:     while parse_commit_log(do_send_mail, lines):       
remote:   File "hooks/post-receive", line 209, in parse_commit_log       
remote:     l = lines.pop().decode('utf8', errors='ignore').strip()       
remote: AttributeError: 'str' object has no attribute 'decode'       
To ssh://git.postgresql.org/pgpool2.git
   9d7c5baf..d1a2e366  V3_7_STABLE -> V3_7_STABLE

It seems the commit was pushed successfully
(https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=b9ee8417ea74798c108498849d453e693246c3a1)
but the commit mail did not delivered.

Is there anything I need to care?


Hi!

That sounds a lot like the bug that Stephen bumped into during pgcon, and that we haven't fully tracked down yet. It only makes the commit email break, everything else should work as usual, so it's not that bad, but it should be fixed of course.

Did that push by any chance include a merge commit? That's our current theory on what's triggering the problem...

//Magnus
 

pgsql-www by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Git repo problem?
Next
From: Tatsuo Ishii
Date:
Subject: Re: Git repo problem?