Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using deploy key with write access, commits not counted #5058

Closed
1 of 7 tasks
Exagone313 opened this issue Oct 9, 2018 · 6 comments
Closed
1 of 7 tasks

Using deploy key with write access, commits not counted #5058

Exagone313 opened this issue Oct 9, 2018 · 6 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@Exagone313
Copy link
Contributor

  • Gitea version (or commit ref): 1.5.2
  • Git version: 2.19.1
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io: don't want to register :/
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: irrelevant, nothing special?

Steps to reproduce

  • Set up a new SSH key as deploy key with write access to a repo (try with both an empty and non empty repo)
  • Make one (or more) commit and push

Expected result

  • Nothing abnormal, it counts all the commits

Actual result

  • Commit count is off by one (or more)
  • Files may not be shown (!) if there is no commit made by a real user, it'll show the initial Quick Guide

Screenshots

screen shot 2018-10-09 at 21 19 57-fullpage

@techknowlogick techknowlogick added the issue/duplicate The issue has already been reported. label Oct 9, 2018
@techknowlogick
Copy link
Member

Closing as duplicate of #4424

@Exagone313
Copy link
Contributor Author

Ok, sorry, I didn't find this issue although I searched, but too many open issues.

@techknowlogick
Copy link
Member

@Exagone313 that's ok, the important thing is at least you searched.

@zeripath
Copy link
Contributor

zeripath commented Feb 4, 2019

This should be fixed by #5935 and its backport to v1.7 #5944

@Exagone313
Copy link
Contributor Author

Exagone313 commented Feb 4, 2019

I just had a quick look at the PR and I don't think it's going to fix actual repos. But maybe it just requires a new push or a new commit.

@zeripath
Copy link
Contributor

zeripath commented Feb 4, 2019

Those commits should prevent any further problems. In terms of fixing these repos - try pushing another commit and see if that solves it - if not I wonder if we should make an admin task that does an extreme cleanup.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

3 participants