]> source.dussan.org Git - gitea.git/blob - go.mod
Make `owner/repo/pulls` handlers use "PR reader" permission (#32254)
[gitea.git] / go.mod
1 module code.gitea.io/gitea
2
3 go 1.23
4
5 // rfc5280 said: "The serial number is an integer assigned by the CA to each certificate."
6 // But some CAs use negative serial number, just relax the check. related:
7 // Default TLS cert uses negative serial number #895 https://github.com/microsoft/mssql-docker/issues/895
8 godebug x509negativeserial=1
9
10 require (
11         code.gitea.io/actions-proto-go v0.4.0
12         code.gitea.io/gitea-vet v0.2.3
13         code.gitea.io/sdk/gitea v0.17.1
14         codeberg.org/gusted/mcaptcha v0.0.0-20220723083913-4f3072e1d570
15         connectrpc.com/connect v1.15.0
16         gitea.com/go-chi/binding v0.0.0-20240430071103-39a851e106ed
17         gitea.com/go-chi/cache v0.2.1
18         gitea.com/go-chi/captcha v0.0.0-20240315150714-fb487f629098
19         gitea.com/go-chi/session v0.0.0-20240316035857-16768d98ec96
20         gitea.com/lunny/dingtalk_webhook v0.0.0-20171025031554-e3534c89ef96
21         gitea.com/lunny/levelqueue v0.4.2-0.20230414023320-3c0159fe0fe4
22         github.com/42wim/httpsig v1.2.2
23         github.com/42wim/sshsig v0.0.0-20211121163825-841cf5bbc121
24         github.com/Azure/azure-sdk-for-go/sdk/azcore v1.12.0
25         github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.2
26         github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358
27         github.com/ProtonMail/go-crypto v1.0.0
28         github.com/PuerkitoBio/goquery v1.9.2
29         github.com/SaveTheRbtz/zstd-seekable-format-go/pkg v0.7.2
30         github.com/alecthomas/chroma/v2 v2.14.0
31         github.com/aws/aws-sdk-go v1.43.21
32         github.com/aws/aws-sdk-go-v2/credentials v1.17.30
33         github.com/aws/aws-sdk-go-v2/service/codecommit v1.25.1
34         github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
35         github.com/blevesearch/bleve/v2 v2.4.2
36         github.com/buildkite/terminal-to-html/v3 v3.12.1
37         github.com/caddyserver/certmagic v0.21.3
38         github.com/charmbracelet/git-lfs-transfer v0.2.0
39         github.com/chi-middleware/proxy v1.1.1
40         github.com/dimiro1/reply v0.0.0-20200315094148-d0136a4c9e21
41         github.com/djherbis/buffer v1.2.0
42         github.com/djherbis/nio/v3 v3.0.1
43         github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5
44         github.com/dustin/go-humanize v1.0.1
45         github.com/editorconfig/editorconfig-core-go/v2 v2.6.2
46         github.com/emersion/go-imap v1.2.1
47         github.com/emirpasic/gods v1.18.1
48         github.com/ethantkoenig/rupture v1.0.1
49         github.com/felixge/fgprof v0.9.4
50         github.com/fsnotify/fsnotify v1.7.0
51         github.com/gliderlabs/ssh v0.3.7
52         github.com/go-ap/activitypub v0.0.0-20240408091739-ba76b44c2594
53         github.com/go-ap/jsonld v0.0.0-20221030091449-f2a191312c73
54         github.com/go-chi/chi/v5 v5.0.13
55         github.com/go-chi/cors v1.2.1
56         github.com/go-co-op/gocron v1.37.0
57         github.com/go-enry/go-enry/v2 v2.8.8
58         github.com/go-git/go-billy/v5 v5.5.0
59         github.com/go-git/go-git/v5 v5.12.0
60         github.com/go-ldap/ldap/v3 v3.4.6
61         github.com/go-redsync/redsync/v4 v4.13.0
62         github.com/go-sql-driver/mysql v1.8.1
63         github.com/go-swagger/go-swagger v0.31.0
64         github.com/go-testfixtures/testfixtures/v3 v3.11.0
65         github.com/go-webauthn/webauthn v0.10.2
66         github.com/gobwas/glob v0.2.3
67         github.com/gogs/chardet v0.0.0-20211120154057-b7413eaefb8f
68         github.com/gogs/go-gogs-client v0.0.0-20210131175652-1d7215cd8d85
69         github.com/golang-jwt/jwt/v5 v5.2.1
70         github.com/google/go-github/v61 v61.0.0
71         github.com/google/licenseclassifier/v2 v2.0.0
72         github.com/google/pprof v0.0.0-20240618054019-d3b898a103f8
73         github.com/google/uuid v1.6.0
74         github.com/gorilla/feeds v1.2.0
75         github.com/gorilla/sessions v1.3.0
76         github.com/h2non/gock v1.2.0
77         github.com/hashicorp/go-version v1.7.0
78         github.com/hashicorp/golang-lru/v2 v2.0.7
79         github.com/huandu/xstrings v1.5.0
80         github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056
81         github.com/jhillyerd/enmime v1.2.0
82         github.com/json-iterator/go v1.1.12
83         github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
84         github.com/keybase/go-crypto v0.0.0-20200123153347-de78d2cb44f4
85         github.com/klauspost/compress v1.17.9
86         github.com/klauspost/cpuid/v2 v2.2.8
87         github.com/lib/pq v1.10.9
88         github.com/markbates/goth v1.80.0
89         github.com/mattn/go-isatty v0.0.20
90         github.com/mattn/go-sqlite3 v1.14.22
91         github.com/meilisearch/meilisearch-go v0.26.3
92         github.com/mholt/archiver/v3 v3.5.1
93         github.com/microcosm-cc/bluemonday v1.0.26
94         github.com/microsoft/go-mssqldb v1.7.2
95         github.com/minio/minio-go/v7 v7.0.77
96         github.com/msteinert/pam v1.2.0
97         github.com/nektos/act v0.2.63
98         github.com/niklasfasching/go-org v1.7.0
99         github.com/olivere/elastic/v7 v7.0.32
100         github.com/opencontainers/go-digest v1.0.0
101         github.com/opencontainers/image-spec v1.1.0
102         github.com/pkg/errors v0.9.1
103         github.com/pquerna/otp v1.4.0
104         github.com/prometheus/client_golang v1.19.1
105         github.com/quasoft/websspi v1.1.2
106         github.com/redis/go-redis/v9 v9.6.0
107         github.com/robfig/cron/v3 v3.0.1
108         github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
109         github.com/sassoftware/go-rpmutils v0.4.0
110         github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3
111         github.com/shurcooL/vfsgen v0.0.0-20230704071429-0000e147ea92
112         github.com/stretchr/testify v1.9.0
113         github.com/syndtr/goleveldb v1.0.0
114         github.com/tstranex/u2f v1.0.0
115         github.com/ulikunitz/xz v0.5.12
116         github.com/urfave/cli/v2 v2.27.2
117         github.com/xanzy/go-gitlab v0.105.0
118         github.com/xeipuuv/gojsonschema v1.2.0
119         github.com/yohcop/openid-go v1.0.1
120         github.com/yuin/goldmark v1.7.2
121         github.com/yuin/goldmark-highlighting/v2 v2.0.0-20230729083705-37449abec8cc
122         github.com/yuin/goldmark-meta v1.1.0
123         golang.org/x/crypto v0.26.0
124         golang.org/x/image v0.18.0
125         golang.org/x/net v0.28.0
126         golang.org/x/oauth2 v0.21.0
127         golang.org/x/sys v0.24.0
128         golang.org/x/text v0.17.0
129         golang.org/x/tools v0.24.0
130         google.golang.org/grpc v1.62.1
131         google.golang.org/protobuf v1.34.2
132         gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
133         gopkg.in/ini.v1 v1.67.0
134         gopkg.in/yaml.v3 v3.0.1
135         mvdan.cc/xurls/v2 v2.5.0
136         strk.kbt.io/projects/go/libravatar v0.0.0-20191008002943-06d1c002b251
137         xorm.io/builder v0.3.13
138         xorm.io/xorm v1.3.9
139 )
140
141 require (
142         cloud.google.com/go/compute/metadata v0.3.0 // indirect
143         dario.cat/mergo v1.0.0 // indirect
144         filippo.io/edwards25519 v1.1.0 // indirect
145         git.sr.ht/~mariusor/go-xsd-duration v0.0.0-20220703122237-02e73435a078 // indirect
146         github.com/Azure/azure-sdk-for-go/sdk/internal v1.9.0 // indirect
147         github.com/ClickHouse/ch-go v0.61.5 // indirect
148         github.com/ClickHouse/clickhouse-go/v2 v2.25.0 // indirect
149         github.com/DataDog/zstd v1.5.5 // indirect
150         github.com/Masterminds/goutils v1.1.1 // indirect
151         github.com/Masterminds/semver/v3 v3.2.1 // indirect
152         github.com/Masterminds/sprig/v3 v3.2.3 // indirect
153         github.com/Microsoft/go-winio v0.6.2 // indirect
154         github.com/RoaringBitmap/roaring v1.9.4 // indirect
155         github.com/andybalholm/brotli v1.1.0 // indirect
156         github.com/andybalholm/cascadia v1.3.2 // indirect
157         github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be // indirect
158         github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
159         github.com/aws/aws-sdk-go-v2 v1.30.4 // indirect
160         github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.16 // indirect
161         github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.16 // indirect
162         github.com/aws/smithy-go v1.20.4 // indirect
163         github.com/aymerick/douceur v0.2.0 // indirect
164         github.com/beorn7/perks v1.0.1 // indirect
165         github.com/bits-and-blooms/bitset v1.13.0 // indirect
166         github.com/blevesearch/bleve_index_api v1.1.10 // indirect
167         github.com/blevesearch/geo v0.1.20 // indirect
168         github.com/blevesearch/go-faiss v1.0.20 // indirect
169         github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
170         github.com/blevesearch/gtreap v0.1.1 // indirect
171         github.com/blevesearch/mmap-go v1.0.4 // indirect
172         github.com/blevesearch/scorch_segment_api/v2 v2.2.15 // indirect
173         github.com/blevesearch/segment v0.9.1 // indirect
174         github.com/blevesearch/snowballstem v0.9.0 // indirect
175         github.com/blevesearch/upsidedown_store_api v1.0.2 // indirect
176         github.com/blevesearch/vellum v1.0.10 // indirect
177         github.com/blevesearch/zapx/v11 v11.3.10 // indirect
178         github.com/blevesearch/zapx/v12 v12.3.10 // indirect
179         github.com/blevesearch/zapx/v13 v13.3.10 // indirect
180         github.com/blevesearch/zapx/v14 v14.3.10 // indirect
181         github.com/blevesearch/zapx/v15 v15.3.13 // indirect
182         github.com/blevesearch/zapx/v16 v16.1.5 // indirect
183         github.com/boombuler/barcode v1.0.1 // indirect
184         github.com/bradfitz/gomemcache v0.0.0-20230905024940-24af94b03874 // indirect
185         github.com/caddyserver/zerossl v0.1.3 // indirect
186         github.com/cention-sany/utf7 v0.0.0-20170124080048-26cad61bd60a // indirect
187         github.com/cespare/xxhash/v2 v2.3.0 // indirect
188         github.com/cloudflare/circl v1.3.9 // indirect
189         github.com/couchbase/go-couchbase v0.1.1 // indirect
190         github.com/couchbase/gomemcached v0.3.1 // indirect
191         github.com/couchbase/goutils v0.1.2 // indirect
192         github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
193         github.com/cyphar/filepath-securejoin v0.2.5 // indirect
194         github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
195         github.com/davidmz/go-pageant v1.0.2 // indirect
196         github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
197         github.com/dlclark/regexp2 v1.11.0 // indirect
198         github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43 // indirect
199         github.com/fatih/color v1.17.0 // indirect
200         github.com/felixge/httpsnoop v1.0.4 // indirect
201         github.com/fxamacker/cbor/v2 v2.6.0 // indirect
202         github.com/git-lfs/pktline v0.0.0-20230103162542-ca444d533ef1 // indirect
203         github.com/go-ap/errors v0.0.0-20240304112515-6077fa9c17b0 // indirect
204         github.com/go-asn1-ber/asn1-ber v1.5.7 // indirect
205         github.com/go-enry/go-oniguruma v1.2.1 // indirect
206         github.com/go-faster/city v1.0.1 // indirect
207         github.com/go-faster/errors v0.7.1 // indirect
208         github.com/go-fed/httpsig v1.1.1-0.20201223112313-55836744818e // indirect
209         github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
210         github.com/go-ini/ini v1.67.0 // indirect
211         github.com/go-openapi/analysis v0.23.0 // indirect
212         github.com/go-openapi/errors v0.22.0 // indirect
213         github.com/go-openapi/inflect v0.21.0 // indirect
214         github.com/go-openapi/jsonpointer v0.21.0 // indirect
215         github.com/go-openapi/jsonreference v0.21.0 // indirect
216         github.com/go-openapi/loads v0.22.0 // indirect
217         github.com/go-openapi/runtime v0.28.0 // indirect
218         github.com/go-openapi/spec v0.21.0 // indirect
219         github.com/go-openapi/strfmt v0.23.0 // indirect
220         github.com/go-openapi/swag v0.23.0 // indirect
221         github.com/go-openapi/validate v0.24.0 // indirect
222         github.com/go-webauthn/x v0.1.9 // indirect
223         github.com/goccy/go-json v0.10.3 // indirect
224         github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
225         github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
226         github.com/golang-sql/sqlexp v0.1.0 // indirect
227         github.com/golang/geo v0.0.0-20230421003525-6adc56603217 // indirect
228         github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
229         github.com/golang/protobuf v1.5.4 // indirect
230         github.com/golang/snappy v0.0.4 // indirect
231         github.com/google/btree v1.1.2 // indirect
232         github.com/google/go-querystring v1.1.0 // indirect
233         github.com/google/go-tpm v0.9.0 // indirect
234         github.com/gorilla/css v1.0.1 // indirect
235         github.com/gorilla/handlers v1.5.2 // indirect
236         github.com/gorilla/mux v1.8.1 // indirect
237         github.com/gorilla/securecookie v1.1.2 // indirect
238         github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 // indirect
239         github.com/hashicorp/errwrap v1.1.0 // indirect
240         github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
241         github.com/hashicorp/go-multierror v1.1.1 // indirect
242         github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
243         github.com/hashicorp/hcl v1.0.0 // indirect
244         github.com/imdario/mergo v0.3.16 // indirect
245         github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
246         github.com/jessevdk/go-flags v1.5.0 // indirect
247         github.com/josharian/intern v1.0.0 // indirect
248         github.com/kevinburke/ssh_config v1.2.0 // indirect
249         github.com/klauspost/pgzip v1.2.6 // indirect
250         github.com/kr/pretty v0.3.1 // indirect
251         github.com/kr/text v0.2.0 // indirect
252         github.com/libdns/libdns v0.2.2 // indirect
253         github.com/magiconair/properties v1.8.7 // indirect
254         github.com/mailru/easyjson v0.7.7 // indirect
255         github.com/markbates/going v1.0.3 // indirect
256         github.com/mattn/go-colorable v0.1.13 // indirect
257         github.com/mattn/go-runewidth v0.0.15 // indirect
258         github.com/mholt/acmez/v2 v2.0.1 // indirect
259         github.com/miekg/dns v1.1.61 // indirect
260         github.com/minio/md5-simd v1.1.2 // indirect
261         github.com/mitchellh/copystructure v1.2.0 // indirect
262         github.com/mitchellh/mapstructure v1.5.0 // indirect
263         github.com/mitchellh/reflectwalk v1.0.2 // indirect
264         github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
265         github.com/modern-go/reflect2 v1.0.2 // indirect
266         github.com/mrjones/oauth v0.0.0-20190623134757-126b35219450 // indirect
267         github.com/mschoch/smat v0.2.0 // indirect
268         github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
269         github.com/nwaples/rardecode v1.1.3 // indirect
270         github.com/oklog/ulid v1.3.1 // indirect
271         github.com/olekukonko/tablewriter v0.0.5 // indirect
272         github.com/onsi/ginkgo v1.16.5 // indirect
273         github.com/onsi/gomega v1.33.1 // indirect
274         github.com/paulmach/orb v0.11.1 // indirect
275         github.com/pelletier/go-toml/v2 v2.2.2 // indirect
276         github.com/pierrec/lz4/v4 v4.1.21 // indirect
277         github.com/pjbgf/sha1cd v0.3.0 // indirect
278         github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
279         github.com/prometheus/client_model v0.6.1 // indirect
280         github.com/prometheus/common v0.55.0 // indirect
281         github.com/prometheus/procfs v0.15.1 // indirect
282         github.com/rhysd/actionlint v1.7.1 // indirect
283         github.com/rivo/uniseg v0.4.7 // indirect
284         github.com/rogpeppe/go-internal v1.12.0 // indirect
285         github.com/rs/xid v1.6.0 // indirect
286         github.com/russross/blackfriday/v2 v2.1.0 // indirect
287         github.com/sagikazarmark/locafero v0.4.0 // indirect
288         github.com/sagikazarmark/slog-shim v0.1.0 // indirect
289         github.com/segmentio/asm v1.2.0 // indirect
290         github.com/shopspring/decimal v1.4.0 // indirect
291         github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c // indirect
292         github.com/sirupsen/logrus v1.9.3 // indirect
293         github.com/skeema/knownhosts v1.2.2 // indirect
294         github.com/sourcegraph/conc v0.3.0 // indirect
295         github.com/spf13/afero v1.11.0 // indirect
296         github.com/spf13/cast v1.6.0 // indirect
297         github.com/spf13/pflag v1.0.5 // indirect
298         github.com/spf13/viper v1.18.2 // indirect
299         github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect
300         github.com/subosito/gotenv v1.6.0 // indirect
301         github.com/toqueteos/webbrowser v1.2.0 // indirect
302         github.com/unknwon/com v1.0.1 // indirect
303         github.com/valyala/bytebufferpool v1.0.0 // indirect
304         github.com/valyala/fasthttp v1.55.0 // indirect
305         github.com/valyala/fastjson v1.6.4 // indirect
306         github.com/x448/float16 v0.8.4 // indirect
307         github.com/xanzy/ssh-agent v0.3.3 // indirect
308         github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
309         github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
310         github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
311         github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
312         github.com/zeebo/blake3 v0.2.3 // indirect
313         go.etcd.io/bbolt v1.3.10 // indirect
314         go.mongodb.org/mongo-driver v1.14.0 // indirect
315         go.opentelemetry.io/otel v1.27.0 // indirect
316         go.opentelemetry.io/otel/trace v1.27.0 // indirect
317         go.uber.org/atomic v1.11.0 // indirect
318         go.uber.org/multierr v1.11.0 // indirect
319         go.uber.org/zap v1.27.0 // indirect
320         golang.org/x/exp v0.0.0-20240314144324-c7f7c6466f7f // indirect
321         golang.org/x/mod v0.20.0 // indirect
322         golang.org/x/sync v0.8.0 // indirect
323         golang.org/x/time v0.5.0 // indirect
324         google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c // indirect
325         gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
326         gopkg.in/warnings.v0 v0.1.2 // indirect
327         gopkg.in/yaml.v2 v2.4.0 // indirect
328 )
329
330 replace github.com/hashicorp/go-version => github.com/6543/go-version v1.3.1
331
332 replace github.com/shurcooL/vfsgen => github.com/lunny/vfsgen v0.0.0-20220105142115-2c99e1ffdfa0
333
334 replace github.com/nektos/act => gitea.com/gitea/act v0.261.3
335
336 replace github.com/charmbracelet/git-lfs-transfer => gitea.com/gitea/git-lfs-transfer v0.2.0
337
338 // TODO: This could be removed after https://github.com/mholt/archiver/pull/396 merged
339 replace github.com/mholt/archiver/v3 => github.com/anchore/archiver/v3 v3.5.2
340
341 exclude github.com/gofrs/uuid v3.2.0+incompatible
342
343 exclude github.com/gofrs/uuid v4.0.0+incompatible
344
345 exclude github.com/goccy/go-json v0.4.11
346
347 exclude github.com/satori/go.uuid v1.2.0