Age | Commit message (Collapse) | Author |
|
go: Update golang.org/x/exp digest to 2478ac8
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6518
Merged-by: John Cai <jcai@gitlab.com>
Approved-by: Justin Tobler <jtobler@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
Currenlty, github.com/grpc-ecosystem/go-grpc-middleware v1 is used
in our code base.
This commit upgrades gitalyauth and auth package to use go-grpc-middleware v2 auth
|
|
|
|
|
|
|
|
go: Update module golang.org/x/sync to v0.4.0
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6447
Merged-by: Toon Claes <toon@gitlab.com>
Approved-by: karthik nayak <knayak@gitlab.com>
Approved-by: Toon Claes <toon@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
|
|
go: Update module github.com/hashicorp/golang-lru/v2 to v2.0.7
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6431
Merged-by: Sami Hiltunen <shiltunen@gitlab.com>
Approved-by: James Fargher <jfargher@gitlab.com>
Approved-by: Sami Hiltunen <shiltunen@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
|
|
|
|
go: Update module github.com/getsentry/sentry-go to v0.24.1
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6394
Merged-by: Christian Couder <chriscool@tuxfamily.org>
Approved-by: Christian Couder <chriscool@tuxfamily.org>
Approved-by: Will Chandler <wchandler@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
|
|
into 'master'
go: Update google.golang.org/genproto/googleapis/rpc digest to 007df8e
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6358
Merged-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Approved-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
|
|
|
|
|
|
go: Update golang.org/x/exp digest to 9212866
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6343
Merged-by: Will Chandler <wchandler@gitlab.com>
Approved-by: Patrick Steinhardt <psteinhardt@gitlab.com>
Approved-by: Will Chandler <wchandler@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
grpc/backchannel: Simplify logging with yamux
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6330
Merged-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Approved-by: Sami Hiltunen <shiltunen@gitlab.com>
Approved-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
|
|
go: Update module github.com/pelletier/go-toml/v2 to v2.1.0
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6331
Merged-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Approved-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Approved-by: Christian Couder <chriscool@tuxfamily.org>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
go: Update module golang.org/x/sys to v0.12.0
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6321
Merged-by: Will Chandler <wchandler@gitlab.com>
Approved-by: Will Chandler <wchandler@gitlab.com>
Approved-by: John Cai <jcai@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
go: Update module gocloud.dev to v0.34.0
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6320
Merged-by: Justin Tobler <jtobler@gitlab.com>
Approved-by: Justin Tobler <jtobler@gitlab.com>
Approved-by: Christian Couder <chriscool@tuxfamily.org>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
|
|
Drop gitaly-git2go command and its infrastructure
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6317
Merged-by: John Cai <jcai@gitlab.com>
Approved-by: John Cai <jcai@gitlab.com>
Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
|
|
We're currently passing in an `io.WriteCloser()` to Yamux that is then
being used as logger. This has the consequence that we're quite tied to
the actual implementation of the logger because `WriterLevel()` is not
something that's typically available in other logging libraries. But
more importantly, it means that all log messages are now written at the
error level, which isn't quite what we want.
The current setup is actually a limitation of the Yamux package itself:
we can either pass in a log writer, or a `log.Logger`. We don't really
want either though. This limitation has been fixed upstream via 13a7bc0
(Fix hashicorp/yamux#72, abstract logger into interface, 2019-04-15),
which converts starts to accept an interface instead of a `log.Logger`.
The library didn't release a new version since then though, and given
that this is change has been implemented four years ago, it seems quite
unlikely that a new release will be created soonish. That being said
though, upgrading to that unstable version should be fine as the only
change between our current v0.1.1 and that commit is the change to use
that logger interface.
Let's upgrade Yamux to the version including this change and refactor
our code to pass the `logrus.FieldLogger` directly instead of passing
an `io.Writer`.
|
|
go: Update module golang.org/x/text to v0.13.0
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6327
Merged-by: Toon Claes <toon@gitlab.com>
Approved-by: Toon Claes <toon@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
Remove the now-unused gitaly-git2o command as well as its supporting
infrastructure.
|
|
go: Update module github.com/hashicorp/golang-lru/v2 to v2.0.6
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6312
Merged-by: Christian Couder <chriscool@tuxfamily.org>
Approved-by: Sami Hiltunen <shiltunen@gitlab.com>
Approved-by: Christian Couder <chriscool@tuxfamily.org>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
|
|
go: Update golang.org/x/exp digest to d852ddb
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6309
Merged-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Approved-by: Sami Hiltunen <shiltunen@gitlab.com>
Approved-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
go: Update github.com/ProtonMail/go-crypto digest to 3c4c8a2
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6300
Merged-by: James Fargher <jfargher@gitlab.com>
Approved-by: James Fargher <jfargher@gitlab.com>
Approved-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
|
|
|
|
go: Update module github.com/jackc/pgx/v5 to v5.4.3
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6214
Merged-by: Patrick Steinhardt <psteinhardt@gitlab.com>
Approved-by: Patrick Steinhardt <psteinhardt@gitlab.com>
Approved-by: John Cai <jcai@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
into 'master'
go: Update google.golang.org/genproto/googleapis/rpc digest to 6bfd019
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6248
Merged-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Approved-by: Patrick Steinhardt <psteinhardt@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
commit: More tests with SHA256 object format
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6233
Merged-by: Will Chandler <wchandler@gitlab.com>
Approved-by: karthik nayak <knayak@gitlab.com>
Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
|
|
go: Update module github.com/hashicorp/golang-lru/v2 to v2.0.5
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6227
Merged-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Approved-by: Quang-Minh Nguyen <qmnguyen@gitlab.com>
Approved-by: Will Chandler <wchandler@gitlab.com>
Co-authored-by: GitLab Renovate Bot <gitlab-bot@gitlab.com>
|
|
|
|
We introduced structured errors in the GetTreeEntries RPC. But without
additional MetadataItem's, its hard to debug the errors thrown by the
RPC. Let's add some MetadataItem's around the path and revision
provided.
|
|
Refactor tests for the FindCommit RPC to support testing with the SHA256
object format.
|