gitea/modules
zeripath 7cc7f0ed75
TestRepository_GetTag intermittently panics due to an NPE ()
There are repeated panics in tests due to TestRepository_GetTag failing
to run properly.  This happens when we attempt to reset the internal
repo for a tag which has failed to load. The problem is - the panic that
this is causing is preventing us from finding what the real error is.

This PR simply moves the failure out so we have a chance to see what
really is failing.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
activitypub Create pub/priv keypair for federation ()
analyze Use git attributes to determine generated and vendored status for language stats and diffs ()
appstate Decouple unit test code from business code ()
auth Add bundle download for repository ()
avatar Simplify parameter types ()
base Simplify parameter types ()
cache Test cache during init ()
charset Simplify parameter types ()
context Simplify parameter types ()
convert Some repository refactors ()
csv Properly determine CSV delimiter ()
doctor Move keys to models/asymkey ()
emoji Run processors on whole of text ()
eventsource Simplify parameter types ()
generate switch to maintained lib ()
git TestRepository_GetTag intermittently panics due to an NPE ()
gitgraph Simplify parameter types ()
graceful Make SSL cipher suite configurable ()
hcaptcha hCaptcha Support ()
highlight Add .gitattribute assisted language detection to blame, diff and render ()
hostmatcher Simplify parameter types ()
httpcache Use a variable but a function for IsProd because of a slight performance increment ()
httplib refactor: move from io/ioutil to io and os package ()
indexer Prevent hang in git cat-file if repository is not a valid repository and other fixes ()
json Move repository model into models/repo ()
lfs Use `hostmatcher` to replace `matchlist`, improve security ()
log Simplify parameter types ()
markup Simplify parameter types ()
metrics Add metrics to get issues by repository ()
migration Use fmt.Sprintf correctly ()
nosql Remove unnecessary variable assignments ()
notification Simplify parameter types ()
options refactor: move from io/ioutil to io and os package ()
password Fixed assert statements. ()
pprof refactor: move from io/ioutil to io and os package ()
private Move keys to models/asymkey ()
process Make Requests Processes and create process hierarchy. Associate OpenRepository with context. ()
proxy Return nil proxy function if proxy not enabled ()
public refactor: move from io/ioutil to io and os package ()
queue Prevent deadlock in TestPersistableChannelQueue ()
recaptcha refactor: move from io/ioutil to io and os package ()
references Simplify parameter types ()
repository Make AvatarRenderedSizeFactor configurable and set it to 3 ()
secret Simplify parameter types ()
session Reset Session ID on login ()
setting Simplify parameter types ()
ssh Simplify parameter types ()
storage refactor: move from io/ioutil to io and os package ()
structs Add option to define refs in issue templates ()
svg refactor: move from io/ioutil to io and os package ()
sync Fix missing unlock in uniquequeue ()
templates Simplify parameter types ()
test Move repository model into models/repo ()
timeutil Allow mocking timeutil ()
translation Use index of the supported tags to choose user lang ()
typesniffer Read expected buffer size ()
updatechecker Use JSON module instead of stdlib json ()
upload Simplify parameter types ()
uri Dump github/gitlab/gitea repository data to a local directory and restore to gitea ()
user Add gitea-vet ()
util Simplify parameter types ()
validation Upgrade chi to v5 ()
web Simplify parameter types ()