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

Fix handling of migration errors #12928

Merged
merged 2 commits into from
Sep 23, 2020

Conversation

zeripath
Copy link
Contributor

The migration type selection screen PR did not correctly handle errors
and any user input error on the migration page would simply redirect
back to the selection page. This meant that the error would simply be
lost and the user would be none the wiser as to what happened.

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

The migration type selection screen PR did not correctly handle errors
and any user input error on the migration page would simply redirect
back to the selection page. This meant that the error would simply be
lost and the user would be none the wiser as to what happened.

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath zeripath added this to the 1.13.0 milestone Sep 23, 2020
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Sep 23, 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 Sep 23, 2020
@codecov-commenter
Copy link

Codecov Report

Merging #12928 into master will increase coverage by 0.00%.
The diff coverage is 25.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #12928   +/-   ##
=======================================
  Coverage   43.07%   43.07%           
=======================================
  Files         658      658           
  Lines       72454    72455    +1     
=======================================
+ Hits        31211    31213    +2     
+ Misses      36186    36184    -2     
- Partials     5057     5058    +1     
Impacted Files Coverage Δ
modules/auth/repo_form.go 42.34% <ø> (ø)
routers/repo/migrate.go 45.29% <25.00%> (+0.47%) ⬆️
modules/queue/unique_queue_disk_channel.go 53.84% <0.00%> (-1.54%) ⬇️
models/repo_list.go 78.57% <0.00%> (-0.90%) ⬇️
modules/log/event.go 57.54% <0.00%> (+0.94%) ⬆️
modules/queue/workerpool.go 60.00% <0.00%> (+1.22%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f215e01...4817655. Read the comment docs.

@jolheiser jolheiser merged commit 3f522cd into go-gitea:master Sep 23, 2020
@zeripath zeripath deleted the fix-migration-errors branch September 23, 2020 20:34
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants