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

More pleasantly handle broken or missing git repositories #17747

Merged
merged 5 commits into from
Nov 22, 2021

Commits on Nov 21, 2021

  1. More pleasantly handle broken or missing git repositories

    In go-gitea#17742 it was noted that there a completely invalid git repository underlying a
    repo on gitea.com. This happened due to a problem during a migration however, it
    is not beyond the realms of possibility that a corruption could occur to another
    user.
    
    This PR adds a check to RepoAssignment that will detect if a repository loading has
    failed due to an absent git repository. It will then show a page suggesting the user
    contacts the administrator or deletes the repository.
    
    Fix go-gitea#17742
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Nov 21, 2021
    Configuration menu
    Copy the full SHA
    162fec1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fa89f4 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2021

  1. Update options/locale/locale_en-US.ini

    Co-authored-by: techknowlogick <techknowlogick@gitea.io>
    zeripath and techknowlogick authored Nov 22, 2021
    Configuration menu
    Copy the full SHA
    8b1996e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d3f965 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80e2791 View commit details
    Browse the repository at this point in the history