mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 08:42:32 -05:00
7f8e3192cd
* Allow common redis and leveldb connections Prevents multiple reopening of redis and leveldb connections to the same place by sharing connections. Further allows for more configurable redis connection type using the redisURI and a leveldbURI scheme. Signed-off-by: Andrew Thornton <art27@cantab.net> * add unit-test Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @lunny Signed-off-by: Andrew Thornton <art27@cantab.net> * add test Signed-off-by: Andrew Thornton <art27@cantab.net> * Update modules/cache/cache_redis.go * Update modules/queue/queue_disk.go * Update modules/cache/cache_redis.go * Update modules/cache/cache_redis.go * Update modules/queue/unique_queue_disk.go * Update modules/queue/queue_disk.go * Update modules/queue/unique_queue_disk.go * Update modules/session/redis.go Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv>
124 lines
5.8 KiB
Modula-2
124 lines
5.8 KiB
Modula-2
module code.gitea.io/gitea
|
|
|
|
go 1.14
|
|
|
|
require (
|
|
code.gitea.io/gitea-vet v0.2.1
|
|
gitea.com/lunny/levelqueue v0.3.0
|
|
gitea.com/macaron/binding v0.0.0-20190822013154-a5f53841ed2b
|
|
gitea.com/macaron/cache v0.0.0-20190822004001-a6e7fee4ee76
|
|
gitea.com/macaron/captcha v0.0.0-20190822015246-daa973478bae
|
|
gitea.com/macaron/cors v0.0.0-20190826180238-95aec09ea8b4
|
|
gitea.com/macaron/csrf v0.0.0-20190822024205-3dc5a4474439
|
|
gitea.com/macaron/gzip v0.0.0-20200827120000-efa5e8477cf5
|
|
gitea.com/macaron/i18n v0.0.0-20200910171939-7bbf54aa4c76
|
|
gitea.com/macaron/inject v0.0.0-20190805023432-d4c86e31027a
|
|
gitea.com/macaron/macaron v1.5.0
|
|
gitea.com/macaron/session v0.0.0-20200902202411-e3a87877db6e
|
|
gitea.com/macaron/toolbox v0.0.0-20190822013122-05ff0fc766b7
|
|
github.com/PuerkitoBio/goquery v1.5.1
|
|
github.com/alecthomas/chroma v0.8.0
|
|
github.com/blevesearch/bleve v1.0.10
|
|
github.com/couchbase/gomemcached v0.0.0-20191004160342-7b5da2ec40b2 // indirect
|
|
github.com/cznic/b v0.0.0-20181122101859-a26611c4d92d // indirect
|
|
github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 // indirect
|
|
github.com/cznic/strutil v0.0.0-20181122101858-275e90344537 // indirect
|
|
github.com/denisenkom/go-mssqldb v0.0.0-20200428022330-06a60b6afbbc
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible
|
|
github.com/dlclark/regexp2 v1.2.1 // indirect
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/editorconfig/editorconfig-core-go/v2 v2.1.1
|
|
github.com/emirpasic/gods v1.12.0
|
|
github.com/ethantkoenig/rupture v0.0.0-20180203182544-0a76f03a811a
|
|
github.com/facebookgo/ensure v0.0.0-20160127193407-b4ab57deab51 // indirect
|
|
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect
|
|
github.com/facebookgo/subset v0.0.0-20150612182917-8dac2c3c4870 // indirect
|
|
github.com/gliderlabs/ssh v0.2.2
|
|
github.com/glycerine/go-unsnap-stream v0.0.0-20190901134440-81cf024a9e0a // indirect
|
|
github.com/go-enry/go-enry/v2 v2.5.2
|
|
github.com/go-git/go-billy/v5 v5.0.0
|
|
github.com/go-git/go-git/v5 v5.1.0
|
|
github.com/go-redis/redis/v7 v7.4.0
|
|
github.com/go-sql-driver/mysql v1.5.0
|
|
github.com/go-swagger/go-swagger v0.25.0
|
|
github.com/go-testfixtures/testfixtures/v3 v3.4.0
|
|
github.com/gobwas/glob v0.2.3
|
|
github.com/gogs/chardet v0.0.0-20191104214054-4b6791f73a28
|
|
github.com/gogs/cron v0.0.0-20171120032916-9f6c956d3e14
|
|
github.com/google/go-github/v32 v32.1.0
|
|
github.com/google/uuid v1.1.1
|
|
github.com/gorilla/context v1.1.1
|
|
github.com/hashicorp/go-retryablehttp v0.6.7 // indirect
|
|
github.com/hashicorp/go-version v0.0.0-00010101000000-000000000000
|
|
github.com/huandu/xstrings v1.3.0
|
|
github.com/issue9/assert v1.3.2 // indirect
|
|
github.com/issue9/identicon v1.0.1
|
|
github.com/jaytaylor/html2text v0.0.0-20160923191438-8fb95d837f7d
|
|
github.com/jmhodges/levigo v1.0.0 // indirect
|
|
github.com/kballard/go-shellquote v0.0.0-20170619183022-cd60e84ee657
|
|
github.com/keybase/go-crypto v0.0.0-20200123153347-de78d2cb44f4
|
|
github.com/klauspost/compress v1.10.11
|
|
github.com/lafriks/xormstore v1.3.2
|
|
github.com/lib/pq v1.8.1-0.20200908161135-083382b7e6fc
|
|
github.com/lunny/dingtalk_webhook v0.0.0-20171025031554-e3534c89ef96
|
|
github.com/markbates/goth v1.61.2
|
|
github.com/mattn/go-colorable v0.1.7 // indirect
|
|
github.com/mattn/go-isatty v0.0.12
|
|
github.com/mattn/go-runewidth v0.0.9 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.0
|
|
github.com/mgechev/dots v0.0.0-20190921121421-c36f7dcfbb81
|
|
github.com/mgechev/revive v1.0.3-0.20200921231451-246eac737dc7
|
|
github.com/mholt/archiver/v3 v3.3.0
|
|
github.com/microcosm-cc/bluemonday v1.0.3-0.20191119130333-0a75d7616912
|
|
github.com/minio/minio-go/v7 v7.0.4
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/msteinert/pam v0.0.0-20151204160544-02ccfbfaf0cc
|
|
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
|
|
github.com/niklasfasching/go-org v1.3.2
|
|
github.com/oliamb/cutter v0.2.2
|
|
github.com/olivere/elastic/v7 v7.0.9
|
|
github.com/pelletier/go-toml v1.8.1
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/pquerna/otp v1.2.0
|
|
github.com/prometheus/client_golang v1.1.0
|
|
github.com/prometheus/procfs v0.0.4 // indirect
|
|
github.com/quasoft/websspi v1.0.0
|
|
github.com/remyoudompheng/bigfft v0.0.0-20190321074620-2f0d2b0e0001 // indirect
|
|
github.com/sergi/go-diff v1.1.0
|
|
github.com/shurcooL/httpfs v0.0.0-20190527155220-6a4d4a70508b // indirect
|
|
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd
|
|
github.com/stretchr/testify v1.6.1
|
|
github.com/syndtr/goleveldb v1.0.0
|
|
github.com/tecbot/gorocksdb v0.0.0-20181010114359-8752a9433481 // indirect
|
|
github.com/tinylib/msgp v1.1.2 // indirect
|
|
github.com/tstranex/u2f v1.0.0
|
|
github.com/unknwon/com v1.0.1
|
|
github.com/unknwon/i18n v0.0.0-20200823051745-09abd91c7f2c
|
|
github.com/unknwon/paginater v0.0.0-20151104151617-7748a72e0141
|
|
github.com/urfave/cli v1.20.0
|
|
github.com/xanzy/go-gitlab v0.37.0
|
|
github.com/yohcop/openid-go v1.0.0
|
|
github.com/yuin/goldmark v1.2.1
|
|
github.com/yuin/goldmark-highlighting v0.0.0-20200307114337-60d527fdb691
|
|
github.com/yuin/goldmark-meta v0.0.0-20191126180153-f0638e958b60
|
|
go.jolheiser.com/pwn v0.0.3
|
|
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
|
|
golang.org/x/net v0.0.0-20200904194848-62affa334b73
|
|
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
|
|
golang.org/x/sys v0.0.0-20200918174421-af09f7315aff
|
|
golang.org/x/text v0.3.3
|
|
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect
|
|
golang.org/x/tools v0.0.0-20200921210052-fa0125251cc4
|
|
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
|
gopkg.in/asn1-ber.v1 v1.0.0-20150924051756-4e86f4367175 // indirect
|
|
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
|
|
gopkg.in/ini.v1 v1.61.0
|
|
gopkg.in/ldap.v3 v3.0.2
|
|
gopkg.in/yaml.v2 v2.3.0
|
|
mvdan.cc/xurls/v2 v2.1.0
|
|
strk.kbt.io/projects/go/libravatar v0.0.0-20191008002943-06d1c002b251
|
|
xorm.io/builder v0.3.7
|
|
xorm.io/xorm v1.0.5
|
|
)
|
|
|
|
replace github.com/hashicorp/go-version => github.com/6543/go-version v1.2.3
|