d2b09d854f
Implement a new error handling library based on pkg/errors. It provides stack saving on wrapping and exports some function to add stack saving also to external errors. It also implements custom zerolog error formatting without adding too much verbosity by just printing the chain error file:line without a full stack trace of every error. * Add a --detailed-errors options to print error with they full chain * Wrap all error returns. Use errors.WithStack to wrap without adding a new messsage and error.Wrap[f] to add a message. * Add golangci-lint wrapcheck to check that external packages errors are wrapped. This won't check that internal packages error are wrapped. But we want also to ensure this case so we'll have to find something else to check also these.
48 lines
1.7 KiB
Modula-2
48 lines
1.7 KiB
Modula-2
module agola.io/agola
|
|
|
|
go 1.12
|
|
|
|
require (
|
|
code.gitea.io/sdk/gitea v0.12.0
|
|
github.com/Masterminds/squirrel v1.2.0
|
|
github.com/Microsoft/hcsshim v0.8.7 // indirect
|
|
github.com/bmatcuk/doublestar v1.2.2
|
|
github.com/containerd/continuity v0.0.0-20200107194136-26c1120b8d41 // indirect
|
|
github.com/docker/docker v1.13.1
|
|
github.com/elazarl/go-bindata-assetfs v1.0.0
|
|
github.com/ghodss/yaml v1.0.0
|
|
github.com/go-bindata/go-bindata v1.0.0
|
|
github.com/gofrs/uuid v4.2.0+incompatible
|
|
github.com/golang-jwt/jwt/v4 v4.0.0
|
|
github.com/google/go-cmp v0.4.0
|
|
github.com/google/go-containerregistry v0.0.0-20200212224832-c629a66d7231
|
|
github.com/google/go-github/v29 v29.0.3
|
|
github.com/google/go-jsonnet v0.15.0
|
|
github.com/gorilla/handlers v1.4.2
|
|
github.com/gorilla/mux v1.7.4
|
|
github.com/hashicorp/go-sockaddr v1.0.2
|
|
github.com/mattn/go-sqlite3 v2.0.3+incompatible
|
|
github.com/minio/minio-go/v6 v6.0.48
|
|
github.com/mitchellh/copystructure v1.0.0
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/opencontainers/runc v0.1.1 // indirect
|
|
github.com/rs/zerolog v1.26.1
|
|
github.com/sanity-io/litter v1.2.0
|
|
github.com/sgotti/gexpect v0.0.0-20210315095146-1ec64e69809b
|
|
github.com/spf13/cobra v0.0.5
|
|
github.com/xanzy/go-gitlab v0.26.0
|
|
go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738
|
|
go.starlark.net v0.0.0-20200203144150-6677ee5c7211
|
|
golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e
|
|
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
|
|
gopkg.in/src-d/go-billy.v4 v4.3.2
|
|
gopkg.in/src-d/go-git.v4 v4.13.1
|
|
gopkg.in/yaml.v2 v2.2.8
|
|
k8s.io/api v0.17.3
|
|
k8s.io/apimachinery v0.17.3
|
|
k8s.io/client-go v0.17.3
|
|
k8s.io/utils v0.0.0-20200124190032-861946025e34
|
|
)
|
|
|
|
replace github.com/docker/docker v1.13.1 => github.com/docker/engine v0.0.0-20200204220554-5f6d6f3f2203
|