Recently I’ve been having a weird issue with both Drone 0.4 and 0.5; it stopped showing the build author.
I’m using Gogs (latest, private mode) as a remote, and I can confirm the author is set in the Webhook payload.
The interesting thing is that the author’s avatar is picked up by Drone. It’s just the author’s name and email address that are missing (empty strings in JSON responses).
This is the part of the Gogs webhook payload containing the author’s info:
{
...
"pusher": {
"id": 1,
"username": "michael",
"full_name": "Michael de Wit",
"email": "whatever@does-not-exist.test",
"avatar_url": "https://gogs.somewhere.com/avatars/1"
},
"sender": {
"id": 1,
"username": "michael",
"full_name": "Michael de Wit",
"email": "whatever@does-not-exist.test",
"avatar_url": "https://gogs.somewhere.com/avatars/1"
}
}
And this is the relevant part of the Drone response:
{
...
"refspec": "",
"remote": "",
"title": "",
"message": "something\n",
"timestamp": 1479899155,
"author": "",
"author_avatar": "https://gogs.somewhere.com/avatars/1",
"author_email": "",
"link_url": "https://gogs.somewhere.com/org/project/compare/sha1...sha2",
"signed": true,
"verified": true
}
What is causing this, and how can I fix it?