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
num_watchers not updated when adding a bare repository #819
Labels
💊 bug
Something isn't working
Comments
psmit
added a commit
to psmit/gogs
that referenced
this issue
Jan 2, 2015
Hi @klausenbusk , can you check again see if problem is solved by above PR. |
Sorry, haven't got time yet to try.. I will at some point! :) |
@klausenbusk no problem, take your time. |
unknwon
added a commit
that referenced
this issue
Feb 3, 2015
Fix #819 by fetching the repository from db before updating
You can test on https://try.gogs.io/ as well. |
unknwon
changed the title
num_watchers not updated when adding a repository
num_watchers not updated when adding a bare repository
Feb 3, 2015
I can confirm that it work now.. |
@klausenbusk thanks your confirm! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you add a repository (private or public, doesn't matter), the num_watchers in the database is not updated.. So if you unwatch, the number of watchers can be negative..
See for yourself https://try.gogs.io/klausenbusk/test3 and https://try.gogs.io/klausenbusk/test4
v0.5.9.1229 Beta
2.2.1
Arch Linux
The text was updated successfully, but these errors were encountered: