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

Doctor check & fix db consistency (#11111) #11676

Conversation

6543
Copy link
Member

@6543 6543 commented May 29, 2020

Backport #11111

needed to fix issue as described in #10280

  • rename check-db to check-db-version
  • add check-db-consistency:
  • find issues without existing repository
  • find pulls without existing issues
  • find tracked times without existing issues/pulls
  • find labels without repository or org reference

Co-authored-by: guillep2k 18600385+guillep2k@users.noreply.github.com
Co-authored-by: Lunny Xiao xiaolunwen@gmail.com

needed to fix issue as described in go-gitea#10280

* rename check-db to check-db-version
* add check-db-consistency:
* find issues without existing repository
* find pulls without existing issues
* find tracked times without existing issues/pulls
* find labels without repository or org reference

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label May 29, 2020
@zeripath zeripath added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label May 29, 2020
@zeripath zeripath added this to the 1.12.0 milestone May 29, 2020
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 29, 2020
@jolheiser jolheiser merged commit d9db28a into go-gitea:release/v1.12 May 29, 2020
@6543 6543 deleted the backport-doctor-db-consistency_11111 branch May 29, 2020 18:49
@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
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants