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

Add logging to long migrations #11647

Merged
merged 6 commits into from
May 29, 2020

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented May 27, 2020

Also fix v136 to not use models

Closes #11645

Signed-off-by: Andrew Thornton [email protected]

Also fix v136 to not use models

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath zeripath added type/enhancement An improvement of existing functionality backport/v1.12 labels May 27, 2020
@zeripath zeripath added this to the 1.13.0 milestone May 27, 2020
@zeripath
Copy link
Contributor Author

Although an enhancement I think this should be backported because some of these migrations take time and people have complained about poor logging in these already.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 27, 2020
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels May 27, 2020
@zeripath
Copy link
Contributor Author

So this is weird I'm getting a log timeout for test ...

@6543
Copy link
Member

6543 commented May 27, 2020

It will may pass if #11646 was merged?

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath
Copy link
Contributor Author

@6543 the issue was that I had made it so that the migrations never actually finished! Fixed now!

models/migrations/v115.go Outdated Show resolved Hide resolved
models/migrations/v115.go Outdated Show resolved Hide resolved
@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
@zeripath
Copy link
Contributor Author

Make lg-tm work

@zeripath zeripath merged commit 495354c into go-gitea:master May 29, 2020
@zeripath zeripath deleted the add-logging-to-migrations branch May 29, 2020 22:18
zeripath added a commit to zeripath/gitea that referenced this pull request May 30, 2020
* Add logging to long migrations

Also fix v136 to not use models

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath zeripath added the backport/done All backports for this PR have been created label May 30, 2020
techknowlogick pushed a commit that referenced this pull request May 31, 2020
* Add logging to long migrations

Also fix v136 to not use models

Signed-off-by: Andrew Thornton <[email protected]>
ydelafollye pushed a commit to ydelafollye/gitea that referenced this pull request Jul 31, 2020
* Add logging to long migrations

Also fix v136 to not use models

Signed-off-by: Andrew Thornton <[email protected]>
@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
backport/done All backports for this PR have been created lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants