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

Create doctor command to fix repo_units broken by dumps from 1.14.3-1.14.6 (#17136) #17137

Merged
merged 8 commits into from
Sep 27, 2021

Commits on Sep 23, 2021

  1. Add repounit fixer for go-gitea#16961 (go-gitea#17136)

    Backport go-gitea#17136
    
    Unfortunately a number of people appear to have been bitten by the bug in the dump
    command.
    
    This PR adds a doctor command to attempt to fix the broken repo_units
    
    Fix go-gitea#16961
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    4c474e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2021

  1. Begin adding testcases

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    f91111b View commit details
    Browse the repository at this point in the history
  2. add more tests

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    a5b91df View commit details
    Browse the repository at this point in the history
  3. placate lint

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    06438c5 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2021

  1. ensure the fixer actually runs

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Sep 27, 2021
    Configuration menu
    Copy the full SHA
    1a599dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35e54cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b37a610 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6ffcd0 View commit details
    Browse the repository at this point in the history