Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go dependencies (skip blevesearch, meilisearch) #33655

Merged
merged 5 commits into from
Feb 20, 2025

Conversation

wxiaoguang
Copy link
Contributor

@wxiaoguang wxiaoguang commented Feb 20, 2025

No description provided.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 20, 2025
@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 20, 2025
@wxiaoguang
Copy link
Contributor Author

wxiaoguang commented Feb 20, 2025

go: upgraded cloud.google.com/go/compute/metadata v0.5.2 => v0.6.0
go: upgraded code.gitea.io/sdk/gitea v0.19.0 => v0.20.0
go: upgraded connectrpc.com/connect v1.17.0 => v1.18.1
go: upgraded github.com/Azure/azure-sdk-for-go/sdk/azcore v1.16.0 => v1.17.0
go: upgraded github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.4.1 => v1.6.0
go: upgraded github.com/Masterminds/semver/v3 v3.3.0 => v3.3.1
go: upgraded github.com/ProtonMail/go-crypto v1.1.4 => v1.1.5
go: upgraded github.com/PuerkitoBio/goquery v1.10.0 => v1.10.2
go: added github.com/RoaringBitmap/roaring/v2 v2.4.5
go: upgraded github.com/andybalholm/cascadia v1.3.2 => v1.3.3
go: upgraded github.com/aws/aws-sdk-go-v2 v1.32.3 => v1.36.2
go: upgraded github.com/aws/aws-sdk-go-v2/credentials v1.17.42 => v1.17.60
go: upgraded github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.22 => v1.3.33
go: upgraded github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.22 => v2.6.33
go: upgraded github.com/aws/aws-sdk-go-v2/service/codecommit v1.27.3 => v1.27.16
go: upgraded github.com/aws/smithy-go v1.22.0 => v1.22.3
go: upgraded github.com/bits-and-blooms/bitset v1.14.3 => v1.20.0
go: upgraded github.com/blevesearch/bleve/v2 v2.4.2 => v2.4.4
go: upgraded github.com/blevesearch/bleve_index_api v1.1.12 => v1.2.1
go: upgraded github.com/blevesearch/go-faiss v1.0.23 => v1.0.24
go: upgraded github.com/blevesearch/scorch_segment_api/v2 v2.2.16 => v2.3.3
go: upgraded github.com/blevesearch/vellum v1.0.10 => v1.1.0
go: upgraded github.com/blevesearch/zapx/v11 v11.3.10 => v11.4.1
go: upgraded github.com/blevesearch/zapx/v12 v12.3.10 => v12.4.1
go: upgraded github.com/blevesearch/zapx/v13 v13.3.10 => v13.4.1
go: upgraded github.com/blevesearch/zapx/v14 v14.3.10 => v14.4.1
go: upgraded github.com/blevesearch/zapx/v15 v15.3.16 => v15.4.1
go: upgraded github.com/blevesearch/zapx/v16 v16.1.7 => v16.2.1
go: added github.com/bmatcuk/doublestar/v4 v4.8.1
go: upgraded github.com/buildkite/terminal-to-html/v3 v3.16.3 => v3.16.6
go: upgraded github.com/caddyserver/certmagic v0.21.4 => v0.21.7
go: upgraded github.com/cloudflare/circl v1.5.0 => v1.6.0
go: upgraded github.com/cpuguy83/go-md2man/v2 v2.0.5 => v2.0.6
go: upgraded github.com/cyphar/filepath-securejoin v0.3.6 => v0.4.1
go: upgraded github.com/dlclark/regexp2 v1.11.4 => v1.11.5
go: upgraded github.com/fsnotify/fsnotify v1.7.0 => v1.8.0
go: upgraded github.com/go-ap/activitypub v0.0.0-20240910141749-b4b8c8aa484c => v0.0.0-20250212090640-aeb6499ba581
go: upgraded github.com/go-ap/errors v0.0.0-20240910140019-1e9d33cc1568 => v0.0.0-20250124135319-3da8adefd4a9
go: upgraded github.com/go-chi/chi/v5 v5.1.0 => v5.2.1
go: upgraded github.com/go-enry/go-enry/v2 v2.9.1 => v2.9.2
go: upgraded github.com/go-git/go-billy/v5 v5.6.1 => v5.6.2
go: upgraded github.com/go-git/go-git/v5 v5.13.1 => v5.13.2
go: upgraded github.com/go-ldap/ldap/v3 v3.4.8 => v3.4.10
go: upgraded github.com/go-sql-driver/mysql v1.8.1 => v1.9.0
go: upgraded github.com/go-webauthn/x v0.1.15 => v0.1.16
go: upgraded github.com/goccy/go-json v0.10.3 => v0.10.5
go: upgraded github.com/google/go-tpm v0.9.1 => v0.9.3
go: upgraded github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db => v0.0.0-20250208200701-d0013a598941
go: upgraded github.com/klauspost/compress v1.17.11 => v1.18.0
go: upgraded github.com/klauspost/cpuid/v2 v2.2.8 => v2.2.9
go: upgraded github.com/libdns/libdns v0.2.2 => v0.2.3
go: upgraded github.com/magiconair/properties v1.8.7 => v1.8.9
go: upgraded github.com/mailru/easyjson v0.7.7 => v0.9.0
go: upgraded github.com/mattn/go-colorable v0.1.13 => v0.1.14
go: added github.com/mattn/go-shellwords v1.0.12
go: upgraded github.com/meilisearch/meilisearch-go v0.29.1-0.20241106140435-0bf60fad690a => v0.31.0
go: added github.com/mholt/acmez/v3 v3.0.1
go: upgraded github.com/microsoft/go-mssqldb v1.7.2 => v1.8.0
go: upgraded github.com/miekg/dns v1.1.62 => v1.1.63
go: added github.com/minio/crc64nvme v1.0.1
go: upgraded github.com/minio/minio-go/v7 v7.0.80 => v7.0.87
go: upgraded github.com/pierrec/lz4/v4 v4.1.21 => v4.1.22
go: upgraded github.com/pjbgf/sha1cd v0.3.1 => v0.3.2
go: upgraded github.com/prometheus/client_golang v1.20.5 => v1.21.0
go: upgraded github.com/prometheus/common v0.60.1 => v0.62.0
go: upgraded github.com/rhysd/actionlint v1.7.3 => v1.7.7
go: upgraded github.com/rogpeppe/go-internal v1.13.1 => v1.13.2-0.20241226121412-a5dc8ff20d0a
go: upgraded github.com/sagikazarmark/locafero v0.6.0 => v0.7.0
go: upgraded github.com/skeema/knownhosts v1.3.0 => v1.3.1
go: upgraded github.com/spf13/afero v1.11.0 => v1.12.0
go: upgraded github.com/spf13/cast v1.7.0 => v1.7.1
go: upgraded github.com/spf13/pflag v1.0.5 => v1.0.6
go: upgraded github.com/wneessen/go-mail v0.5.2 => v0.6.2
go: upgraded gitlab.com/gitlab-org/api/client-go v0.119.0 => v0.123.0
go: upgraded go.etcd.io/bbolt v1.3.11 => v1.4.0
go: upgraded go.mongodb.org/mongo-driver v1.17.1 => v1.17.2
go: added go.uber.org/zap/exp v0.3.0
go: upgraded golang.org/x/crypto v0.32.0 => v0.33.0
go: upgraded golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c => v0.0.0-20250218142911-aa4b98e5adaa
go: upgraded golang.org/x/image v0.21.0 => v0.24.0
go: upgraded golang.org/x/mod v0.22.0 => v0.23.0
go: upgraded golang.org/x/net v0.34.0 => v0.35.0
go: upgraded golang.org/x/oauth2 v0.24.0 => v0.26.0
go: upgraded golang.org/x/sync v0.10.0 => v0.11.0
go: upgraded golang.org/x/sys v0.29.0 => v0.30.0
go: upgraded golang.org/x/text v0.21.0 => v0.22.0
go: upgraded golang.org/x/time v0.8.0 => v0.10.0
go: upgraded golang.org/x/tools v0.29.0 => v0.30.0
go: upgraded google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 => v0.0.0-20250219182151-9fdb1cabc7b2
go: upgraded google.golang.org/grpc v1.67.1 => v1.70.0
go: upgraded google.golang.org/protobuf v1.36.0 => v1.36.5
go: upgraded mvdan.cc/xurls/v2 v2.5.0 => v2.6.0

@wxiaoguang
Copy link
Contributor Author

wxiaoguang commented Feb 20, 2025

blevesearch

causes errors, revert to old version

go: upgraded github.com/blevesearch/bleve/v2 v2.4.2 => v2.4.4
go: upgraded github.com/blevesearch/bleve_index_api v1.1.12 => v1.2.1

meilisearch

causes test failures, revert to old version

go: upgraded github.com/meilisearch/meilisearch-go v0.29.1-0.20241106140435-0bf60fad690a => v0.31.0
 --- FAIL: TestMeilisearchIndexer (1.40s)
    tests.go:43: 
        	Error Trace:	/home/runner/work/gitea/gitea/modules/indexer/issues/internal/tests/tests.go:43
        	Error:      	Received unexpected error:
        	            	unaccepted status code found: 400 expected: [200], MeilisearchApiError Message: Unknown field `hybrid`: expected one of `q`, `offset`, `limit`, `page`, `hitsPerPage`, `attributesToRetrieve`, `attributesToCrop`, `cropLength`, `attributesToHighlight`, `showMatchesPosition`, `filter`, `sort`, `facets`, `highlightPreTag`, `highlightPostTag`, `cropMarker`, `matchingStrategy`, Code: bad_request, Type: invalid_request, Link: https://docs.meilisearch.com/errors#bad_request (path "POST /indexes/test_meilisearch_indexer_1740047407_v4/search" with method "Search")
        	Test:       	TestMeilisearchIndexer
FAIL

@wxiaoguang
Copy link
Contributor Author

wxiaoguang commented Feb 20, 2025

make tidy doesn't generate correct assets/go-licenses.json if there are different platform build tags.

@wxiaoguang wxiaoguang changed the title Update Go dependencies Update Go dependencies (skip blevesearch, meilisearch) Feb 20, 2025
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 20, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 20, 2025
@silverwind
Copy link
Member

make tidy doesn't generate correct assets/go-licenses.json if there are different platform build tags.

Do we need to run it multiple times with different platform tags? Go build tags are such a pain in the ass generally speaking.

@wxiaoguang
Copy link
Contributor Author

wxiaoguang commented Feb 20, 2025

Do we need to run it multiple times with different platform tags? Go build tags are such a pain in the ass generally speaking.

No idea, and no way at the moment. Yes, such a pain in the ass, sh*t .... (ok, I shouldn't say that 🤣 )

@wxiaoguang wxiaoguang merged commit e6759f3 into go-gitea:main Feb 20, 2025
26 checks passed
@GiteaBot GiteaBot added this to the 1.24.0 milestone Feb 20, 2025
@wxiaoguang wxiaoguang deleted the update-go-dep branch February 20, 2025 14:10
zjjhot added a commit to zjjhot/gitea that referenced this pull request Feb 21, 2025
* giteaofficial/main:
  Fix omitempty bug (go-gitea#33663)
  Upgrade golangci-lint to v1.64.5 (go-gitea#33654)
  Fix mCaptcha bug (go-gitea#33659)
  Update Go dependencies (skip blevesearch, meilisearch) (go-gitea#33655)
  Use test context in tests and new loop system in benchmarks (go-gitea#33648)
  Add missed changelogs (go-gitea#33649)
  [skip ci] Updated translations via Crowdin
  git graph: don't show detached commits (go-gitea#33645)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/dependencies modifies/internal size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants