Skip to content

Webhook POST data doesn't pass added/modified/removed info in commits section #4313

Closed
@p4a6i

Description

@p4a6i
  • Gitea version (or commit ref): 1.4.2
  • Git version: 2.13
  • Operating system: Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io: (URL is down at the time of issue)
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I created a web hook and pushed a change (Tried with both content types json and xml)
When a looked at payload sent by gitea in commit section
"commits": [
{
"id": "bffeb74224043ba2feb48d137756c8a9331c449a",
"message": "Webhooks Yay!",
"url": "http://localhost:3000/gitea/webhooks/commit/bffeb74224043ba2feb48d137756c8a9331c449a",
"author": {
"name": "Gitea",
"email": "[email protected]",
"username": "gitea"
},
"committer": {
"name": "Gitea",
"email": "[email protected]",
"username": "gitea"
},
"timestamp": "2017-03-13T13:52:11-04:00"
}
]

there is no added/modified/removed info

"commits": [
{
"id": "bffeb74224043ba2feb48d137756c8a9331c449a",
"message": "Webhooks Yay!",
"url": "http://localhost:3000/gitea/webhooks/commit/bffeb74224043ba2feb48d137756c8a9331c449a",
"author": {
"name": "Gitea",
"email": "[email protected]",
"username": "gitea"
},
"committer": {
"name": "Gitea",
"email": "[email protected]",
"username": "gitea"
},
"timestamp": "2017-03-13T13:52:11-04:00"
}
"added": ...

]

Metadata

Metadata

Assignees

Labels

issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/enhancementAn improvement of existing functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions