Skip to content
Draft
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
42 changes: 21 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ require (
github.com/google/go-containerregistry v0.20.3
github.com/google/go-containerregistry/pkg/authn/k8schain v0.0.0-20230919002926-dbcd01c402b2
github.com/google/go-containerregistry/pkg/authn/kubernetes v0.0.0-20230919002926-dbcd01c402b2
github.com/hashicorp/errwrap v1.1.0
github.com/hashicorp/go-cleanhttp v0.5.2
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/hashicorp/go-rootcerts v1.0.2
github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2
github.com/hashicorp/go-sockaddr v1.0.7
github.com/hashicorp/golang-lru v1.0.2
github.com/hashicorp/hcl v1.0.1-vault-7
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.2.0 // indirect
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/go-sockaddr v1.0.7 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/hashicorp/hcl v1.0.1-vault-7 // indirect
github.com/kelseyhightower/envconfig v1.4.0
github.com/letsencrypt/boulder v0.0.0-20240620165639-de9c06129bec
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c
github.com/ryanuber/go-glob v1.0.0
github.com/letsencrypt/boulder v0.0.0-20240620165639-de9c06129bec // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sigstore/cosign/v2 v2.5.0
github.com/sigstore/rekor v1.3.10
github.com/sigstore/sigstore v1.9.4
github.com/stretchr/testify v1.10.0
github.com/theupdateframework/go-tuf v0.7.0
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.45.0
golang.org/x/net v0.47.0
golang.org/x/crypto v0.45.0 // indirect
golang.org/x/net v0.47.0 // indirect
golang.org/x/sys v0.38.0 // indirect
golang.org/x/time v0.11.0
golang.org/x/time v0.11.0 // indirect
google.golang.org/grpc v1.71.1 // indirect
google.golang.org/protobuf v1.36.6
gopkg.in/yaml.v3 v3.0.1
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/api v0.32.3
k8s.io/apimachinery v0.32.3
k8s.io/client-go v0.32.3
Expand All @@ -57,11 +57,9 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.0
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.9.0
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.9.1
github.com/cenkalti/backoff/v4 v4.3.0
github.com/docker/docker v28.1.1+incompatible
github.com/docker/docker-credential-helpers v0.9.3
github.com/docker/go-connections v0.5.0
github.com/go-jose/go-jose/v4 v4.1.0
github.com/sigstore/protobuf-specs v0.4.1
github.com/sigstore/scaffolding v0.7.22
github.com/sigstore/sigstore-go v0.7.2
Expand Down Expand Up @@ -133,6 +131,7 @@ require (
github.com/blang/semver v3.5.1+incompatible // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/blendle/zapdriver v1.3.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/chrismellard/docker-credential-acr-env v0.0.0-20230304212654-82a0ddb27589 // indirect
Expand All @@ -159,6 +158,7 @@ require (
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-chi/chi v4.1.2+incompatible // indirect
github.com/go-ini/ini v1.67.0 // indirect
github.com/go-jose/go-jose/v4 v4.1.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.5.1 // indirect
github.com/go-logr/logr v1.4.2 // indirect
Expand Down
26 changes: 26 additions & 0 deletions hack/update-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,32 @@ go mod vendor

source $(dirname "$0")/../vendor/knative.dev/hack/library.sh

# Override update_licenses and check_licenses to use go-licenses v1.0.0
# v1.6.0 doesn't handle stdlib modules correctly (missing module info)
# See: https://github.com/google/go-licenses/issues/302
#
# github.com/alibabacloud-go/cr-20160607 is missing a LICENSE file in its
# published module, but the GitHub repo is Apache-2.0 licensed. We copy the
# license from the sibling cr-20181201 package before running go-licenses.
function update_licenses() {
local dst=$1
local dir=$2
shift
cp "${REPO_ROOT_DIR}/vendor/github.com/alibabacloud-go/cr-20181201/LICENSE" \
"${REPO_ROOT_DIR}/vendor/github.com/alibabacloud-go/cr-20160607/LICENSE" 2>/dev/null || true
go_run github.com/google/go-licenses@v1.0.0 \
save "${dir}" --save_path="${dst}" --force || \
{ echo "--- FAIL: go-licenses failed to update licenses"; return 1; }
}

function check_licenses() {
cp "${REPO_ROOT_DIR}/vendor/github.com/alibabacloud-go/cr-20181201/LICENSE" \
"${REPO_ROOT_DIR}/vendor/github.com/alibabacloud-go/cr-20160607/LICENSE" 2>/dev/null || true
go_run github.com/google/go-licenses@v1.0.0 \
check "${REPO_ROOT_DIR}/..." || \
{ echo "--- FAIL: go-licenses failed the license check"; return 1; }
}

go_update_deps "$@"

echo === Removing vendor/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright (c) 2009-present, Alibaba Cloud All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
201 changes: 0 additions & 201 deletions third_party/VENDOR-LICENSE/github.com/prometheus/procfs/LICENSE

This file was deleted.

This file was deleted.

Loading