gitea/modules
zeripath a83cde2f3f
Tagger can be empty, as can Commit and Author - tolerate this (#15835) (#15839)
Backport #15835

Unfortunately some old repositories can have tags with empty Tagger, Commit
or Author. Go-Git variants will always have empty values for these whereas
the native git variant leaves them at nil. The simplest solution is just to
always have these set to empty Signatures.

v156 migration also makes the incorrect assumption that these cannot be empty.
Therefore add some handling to this and add logging and adjust broken
logging elsewhere in this migration.

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

Co-authored-by: 6543 <6543@obermui.de>
2021-05-12 20:09:16 +01:00
..
analyze
auth
avatar
base
cache
charset
context Defer closing the gitrepo until the end of the wrapped context functions (#15653) (#15746) 2021-05-07 18:28:02 +02:00
convert [API] pull notification subject status: add "merged" (#15344) (#15654) 2021-04-28 20:24:56 +01:00
cron
doctor Add err to log (#15813) (#15824) 2021-05-10 16:38:37 -04:00
emoji Fix several render issues (#14986) 2021-03-16 00:20:05 +01:00
eventsource Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
forms
generate
git Tagger can be empty, as can Commit and Author - tolerate this (#15835) (#15839) 2021-05-12 20:09:16 +01:00
gitgraph Fix bug on commit graph (#15517) (#15530) 2021-04-17 14:46:30 +02:00
graceful Drop back to use IsAnInteractiveSession for SVC (#15749) (#15762) 2021-05-07 17:44:35 +02:00
hcaptcha hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
highlight
httpcache Add ETag header (#15370) (#15552) 2021-04-20 12:01:58 -04:00
httplib fix webhook timeout bug (#15613) (#15621) 2021-04-26 14:42:12 +02:00
indexer If the default branch is not present do not report error on stats indexing (follow-up of #15546) (#15583) (#15594) 2021-04-22 22:30:18 +02:00
lfs
log
markup
matchlist
metrics
migrations Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) (#15816) 2021-05-10 21:14:59 +08:00
nosql Fix setting redis db path (#15698) (#15708) 2021-05-03 22:30:30 +01:00
notification
options
password
pprof
private Move restore repo to internal router and invoke from command to avoid open the same db file or queues files (#15790) (#15816) 2021-05-10 21:14:59 +08:00
process
public Add ETag header (#15370) (#15552) 2021-04-20 12:01:58 -04:00
queue Queue manager FlushAll can loop rapidly - add delay (#15733) (#15840) 2021-05-12 18:48:11 +01:00
recaptcha
references
repofiles
repository Set GIT_DIR correctly if it is not set (#15751) (#15769) 2021-05-07 20:01:25 +02:00
secret
session
setting
ssh
storage
structs
svg
sync
task
templates
test
timeutil
translation Use index of the supported tags to choose user lang (#15452) (#15488) 2021-04-15 16:47:43 +02:00
upload
uri
user
util
validation
web Defer closing the gitrepo until the end of the wrapped context functions (#15653) (#15746) 2021-05-07 18:28:02 +02:00