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

[release-v0.14] Update github.com/go-git/go-git/v5 from v5.12.0 to v5.13.1 #1768

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.0

require (
github.com/docker/cli v27.3.1+incompatible
github.com/go-git/go-git/v5 v5.12.0
github.com/go-git/go-git/v5 v5.13.1
github.com/go-logr/logr v1.4.2
github.com/golang-jwt/jwt/v4 v4.5.1
github.com/google/go-containerregistry v0.20.2
Expand Down Expand Up @@ -35,15 +35,15 @@ require (
contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect
dario.cat/mergo v1.0.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/ProtonMail/go-crypto v1.0.0 // indirect
github.com/ProtonMail/go-crypto v1.1.3 // indirect
github.com/antlr4-go/antlr/v4 v4.13.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blendle/zapdriver v1.3.1 // indirect
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cloudflare/circl v1.5.0 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.15.1 // indirect
github.com/cyphar/filepath-securejoin v0.3.4 // indirect
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/docker/distribution v2.8.3+incompatible // indirect
github.com/docker/docker-credential-helpers v0.8.2 // indirect
Expand All @@ -53,7 +53,7 @@ require (
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.6.0 // indirect
github.com/go-git/go-billy/v5 v5.6.1 // indirect
github.com/go-logr/zapr v1.3.0 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
Expand Down
56 changes: 14 additions & 42 deletions go.sum

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion pkg/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package git

import (
"context"
"errors"
"fmt"

"github.com/go-git/go-git/v5/config"
Expand Down Expand Up @@ -45,7 +46,7 @@ func ValidateGitURLExists(ctx context.Context, urlPath string) error {
// path doesn't exist, func will return `authentication required`,
// this is maybe misleading. So convert this error message to:
// `remote repository unreachable`
if err == transport.ErrAuthenticationRequired {
if errors.Is(err, transport.ErrAuthenticationRequired) {
return fmt.Errorf("remote repository unreachable")
}

Expand Down
5 changes: 3 additions & 2 deletions vendor/github.com/ProtonMail/go-crypto/ocb/ocb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 9 additions & 57 deletions vendor/github.com/ProtonMail/go-crypto/openpgp/armor/armor.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 57 additions & 20 deletions vendor/github.com/ProtonMail/go-crypto/openpgp/armor/encode.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions vendor/github.com/ProtonMail/go-crypto/openpgp/canonical_text.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions vendor/github.com/ProtonMail/go-crypto/openpgp/ecdh/ecdh.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading