#7364 src.fedoraproject.org does not send some commit notifications
Opened a year ago by fweimer. Modified a year ago

According to the web UI, I'm subscribed to Watch Issues, PRs, and Commits on these projects:

But I don't receive any commit notifications for libxcrypt and binutils. I do receive notifications for glibc.

Metadata Update from @bowlofeggs:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: src.fp.o

a year ago

This is more likely an FMN issue as FMN is meant to look at this information to determine if someone wants to receive the notifications.
And you are clearly marked as watching in the API:

One case notifications are not sent is when commits are pushed via HTTPS. In this case post-receive-fedmsg hook crashes.

remote: Emitting a message to the fedmsg bus.
remote: Traceback (most recent call last):
remote:   File "/usr/share/git-core/post-receive-fedmsg", line 138, in <module>
remote:     commits = map(_build_commit, revs)
remote:   File "/usr/share/git-core/post-receive-fedmsg", line 135, in _build_commit
remote:     agent=getlogin(),
remote:   File "/usr/share/git-core/post-receive-fedmsg", line 88, in getlogin
remote:     return os.environ['USER']
remote:   File "/usr/lib64/python2.7/UserDict.py", line 23, in __getitem__
remote:     raise KeyError(key)
remote: KeyError: 'USER'

@puiterwijk can we set the environment varible USER when pushing via https to fix @mizdebsk 's traceback?

@jcline or @abompard would you be able to look at this? It's kinda important that watchcommits works...

As far as I can see @fweimer has a rule that should be matching here. Can we at least confirm that the email was sent?

Login to comment on this ticket.