gitea/modules
Justin Sievenpiper a2c20a6cab
Add Redis Sentinel Authentication Support ()
Gitea was not able to supply any authentication parameters to it. So this brings support to do that, along with some light extraction of a couple of bits into some separate functions for easier testing.

I looked at other libraries supporting similar RedisUri-style connection strings (e.g. Lettuce), but it looks like this type of configuration is beyond what would typically be done in a connection string. Since gitea doesn't have configuration options for manually specifying all this redis connection detail, I went ahead and just chose straightforward names for these new parameters.
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset
context Add Package Registry ()
convert Add Package Registry ()
csv
doctor Make git.OpenRepository accept Context ()
emoji
eventsource
generate
git Make git.OpenRepository accept Context ()
gitgraph Make git.OpenRepository accept Context ()
graceful
hcaptcha
highlight
hostmatcher
httpcache
httplib
indexer Make git.OpenRepository accept Context ()
json
lfs
log
markup Make git.OpenRepository accept Context ()
metrics
migration
nosql Add Redis Sentinel Authentication Support ()
notification Add Package Registry ()
options
packages Add Package Registry ()
password
pprof
private
process
proxy
public
queue
recaptcha
references
repository Make git.OpenRepository accept Context ()
secret
session
setting Add Package Registry ()
ssh
storage Add Package Registry ()
structs Add Package Registry ()
svg
sync
templates Add Package Registry ()
test Make git.OpenRepository accept Context ()
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util Add Package Registry ()
validation
web