forgejo/modules
zeripath 2a565478d1
Tagger can be empty, as can Commit and Author - tolerate this (#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: techknowlogick <techknowlogick@gitea.io>
2021-05-12 01:11:42 -04:00
..
analyze
auth
avatar
base
cache
charset
context
convert
cron
csv
doctor
emoji
eventsource
generate
git Tagger can be empty, as can Commit and Author - tolerate this (#15835) 2021-05-12 01:11:42 -04:00
gitgraph
graceful
hcaptcha
highlight
httpcache
httplib
indexer
lfs
log
markup
matchlist
metrics
migrations
nosql
notification
options
password
pprof
private
process
public
queue
recaptcha
references
repofiles
repository
secret
session
setting
ssh
storage
structs
svg
sync
task
templates
test
timeutil
translation
upload
uri
user
util
validation
web