gitea: [BUG] In 1.15.0, git push activites does not work, webhook on push not work

  • Gitea version (or commit ref): 1.15.0+dev-578-g8464fa15d
  • Git version:
  • Operating system: official docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (You edit a file commit it, this behavior will not show up in the dashboard, and if you have webhook, it will not trigger)
    • No
  • Log gist: Sorry, but I dont see any error/abnormals in logs of gitea.

Description

I upgraded my gitea image to the latest version in dockerhub. And the webhook no longer works, I found that my git push activities are not presenting in my dashboard. Looks like the new version gitea totally missed my git push activities.

Action You push a commit to a repo.

Expected

  • Your commit shows up in the dashboard, like below, image

  • The webhook of this repo will be triggered by this push

Actual

  • You can see your commit in the source code page
  • But your commit does not show up in the dashboard
  • The webhook is not triggered

Below is my recordings about that, all I test is to push a commit into the repo, and expect this action to be shown in the dashboad, and demostrate that it works in the older version, and not working in the newest one

Screenshots

good Git activities works in v1.14.4

bad Git activities breaks in v1.15.0

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 29 (18 by maintainers)

Most upvoted comments

@zeripath yeah 😦 That’s probably the best direction. I’ll send the PRs

I can reproduce this issue with a newly created docker instance on 1.15.0 (latest).

  • Create a docker container with 1.15.0 (latest)
  • Go through the basic configuration
  • Configure your ssh key
  • Create a new repository
  • Push to that repository via ssh
  • Find that the repository still shows the Setup Guide in the Web GUI
  • Cloning the repository from the remote to another folder works as expected

If you revert to 1.14.4 everything works as expected.

I can confirm; I have the same behavior in 1.15.0+dev-582-g3dcb3e907

Creating a new repository via UI, copy/paste initial commands and pushing README to master, and UI never shows code, but the introductory message. I veriefied that the data are actually pushed and the bare repository has the “first commit” pushed, but web-UI still displays hint on how to add origin or make first commit.