{"action":"opened","issue":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/5058","repository_url":"https://api.github.com/repos/go-gitea/gitea","labels_url":"https://api.github.com/repos/go-gitea/gitea/issues/5058/labels{/name}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/5058/comments","events_url":"https://api.github.com/repos/go-gitea/gitea/issues/5058/events","html_url":"https://github.com/go-gitea/gitea/issues/5058","id":368406361,"node_id":"MDU6SXNzdWUzNjg0MDYzNjE=","number":5058,"title":"Using deploy key with write access, commits not counted","user":{"login":"Exagone313","id":11819703,"node_id":"MDQ6VXNlcjExODE5NzAz","avatar_url":"https://avatars1.githubusercontent.com/u/11819703?v=4","gravatar_id":"","url":"https://api.github.com/users/Exagone313","html_url":"https://github.com/Exagone313","followers_url":"https://api.github.com/users/Exagone313/followers","following_url":"https://api.github.com/users/Exagone313/following{/other_user}","gists_url":"https://api.github.com/users/Exagone313/gists{/gist_id}","starred_url":"https://api.github.com/users/Exagone313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Exagone313/subscriptions","organizations_url":"https://api.github.com/users/Exagone313/orgs","repos_url":"https://api.github.com/users/Exagone313/repos","events_url":"https://api.github.com/users/Exagone313/events{/privacy}","received_events_url":"https://api.github.com/users/Exagone313/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-09T21:30:26Z","updated_at":"2018-10-09T21:30:26Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"- Gitea version (or commit ref): 1.5.2\r\n- Git version: 2.19.1\r\n- Operating system: Arch Linux\r\n- Database (use `[x]`):\r\n  - [x] PostgreSQL\r\n  - [ ] MySQL\r\n  - [ ] MSSQL\r\n  - [ ] SQLite\r\n- Can you reproduce the bug at https://try.gitea.io: don't want to register :/\r\n  - [ ] Yes (provide example URL)\r\n  - [ ] No\r\n  - [ ] Not relevant\r\n- Log gist: irrelevant, nothing special?\r\n\r\n## Steps to reproduce\r\n\r\n* Set up a new SSH key as deploy key with write access to a repo (try with both an empty and non empty repo)\r\n* Make one (or more) commit and push\r\n\r\n## Expected result\r\n\r\n* Nothing abnormal, it counts all the commits\r\n\r\n## Actual result\r\n\r\n* Commit count is off by one (or more)\r\n* Files may **not** be shown (!) if there is no commit made by a real user, it'll show the initial *Quick Guide*\r\n\r\n## Screenshots\r\n\r\n![screen shot 2018-10-09 at 21 19 57-fullpage](https://user-images.githubusercontent.com/11819703/46699390-2c9c1a80-cc09-11e8-8845-cf4ad255c195.png)\r\n\r\n"}}
{"actor":{"display_login":"Exagone313"}}