Skip to content

Commit a323609

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into add-jas-tests
# Conflicts: # go.mod # go.sum
2 parents f0777d9 + 469a41d commit a323609

File tree

11 files changed

+58
-56
lines changed

11 files changed

+58
-56
lines changed

artifactory/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ func getRetryWaitTime(c *cli.Context) (waitMilliSecs int, err error) {
995995
}
996996

997997
func getRetryWaitTimeVerificationError() error {
998-
return errorutils.CheckError(errors.New("The '--retry-wait-time' option should have a numeric value with 's'/'ms' suffix. " + cliutils.GetDocumentationMessage()))
998+
return errorutils.CheckErrorf("The '--retry-wait-time' option should have a numeric value with 's'/'ms' suffix. " + cliutils.GetDocumentationMessage())
999999
}
10001000

10011001
func dockerPromoteCmd(c *cli.Context) error {

build/npm/v2-jf/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/npm/v2-jf/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jfrog-cli-v2-jf",
3-
"version": "2.45.0",
3+
"version": "2.46.0",
44
"description": "🐸 Command-line interface for JFrog Artifactory, Xray, Distribution, Pipelines and Mission Control 🐸",
55
"homepage": "https://github.com/jfrog/jfrog-cli",
66
"preferGlobal": true,

build/npm/v2/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/npm/v2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jfrog-cli-v2",
3-
"version": "2.45.0",
3+
"version": "2.46.0",
44
"description": "🐸 Command-line interface for JFrog Artifactory, Xray, Distribution, Pipelines and Mission Control 🐸",
55
"homepage": "https://github.com/jfrog/jfrog-cli",
66
"preferGlobal": true,

buildtools/cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ func GetNpmConfigAndArgs(c *cli.Context) (configFilePath string, args []string,
842842
}
843843

844844
if !exists {
845-
return "", nil, errorutils.CheckError(errors.New("no config file was found! Before running the npm command on a project for the first time, the project should be configured using the npm-config command"))
845+
return "", nil, errorutils.CheckErrorf("no config file was found! Before running the npm command on a project for the first time, the project should be configured using the npm-config command")
846846
}
847847
_, args = getCommandName(c.Args())
848848
return
@@ -914,7 +914,7 @@ func terraformCmd(c *cli.Context) error {
914914
case "publish", "p":
915915
return terraformPublishCmd(configFilePath, filteredArgs, c)
916916
default:
917-
return errorutils.CheckError(errors.New("Terraform command:\"" + cmdName + "\" is not supported. " + cliutils.GetDocumentationMessage()))
917+
return errorutils.CheckErrorf("Terraform command:\"" + cmdName + "\" is not supported. " + cliutils.GetDocumentationMessage())
918918
}
919919
}
920920

go.mod

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ require (
77
github.com/buger/jsonparser v1.1.1
88
github.com/go-git/go-git/v5 v5.8.1
99
github.com/gocarina/gocsv v0.0.0-20230616125104-99d496ca653d
10-
github.com/jfrog/build-info-go v1.9.7
10+
github.com/jfrog/build-info-go v1.9.8
1111
github.com/jfrog/gofrog v1.3.0
12-
github.com/jfrog/jfrog-cli-core/v2 v2.39.3
13-
github.com/jfrog/jfrog-client-go v1.31.4
12+
github.com/jfrog/jfrog-cli-core/v2 v2.41.0
13+
github.com/jfrog/jfrog-client-go v1.31.5
1414
github.com/jszwec/csvutil v1.8.0
1515
github.com/mholt/archiver/v3 v3.5.1
1616
github.com/stretchr/testify v1.8.4
17-
github.com/testcontainers/testcontainers-go v0.21.0
17+
github.com/testcontainers/testcontainers-go v0.23.0
1818
github.com/urfave/cli v1.22.14
1919
github.com/vbauerster/mpb/v7 v7.5.3
2020
github.com/xeipuuv/gojsonschema v1.2.0
@@ -35,15 +35,15 @@ require (
3535
github.com/acomagu/bufpipe v1.0.4 // indirect
3636
github.com/andybalholm/brotli v1.0.5 // indirect
3737
github.com/c-bata/go-prompt v0.2.5 // indirect
38-
github.com/cenkalti/backoff/v4 v4.2.0 // indirect
38+
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
3939
github.com/chzyer/readline v1.5.1 // indirect
4040
github.com/cloudflare/circl v1.3.3 // indirect
41-
github.com/containerd/containerd v1.6.19 // indirect
41+
github.com/containerd/containerd v1.7.3 // indirect
4242
github.com/cpuguy83/dockercfg v0.3.1 // indirect
4343
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
4444
github.com/davecgh/go-spew v1.1.1 // indirect
4545
github.com/docker/distribution v2.8.2+incompatible // indirect
46-
github.com/docker/docker v23.0.5+incompatible // indirect
46+
github.com/docker/docker v24.0.5+incompatible // indirect
4747
github.com/docker/go-connections v0.4.0 // indirect
4848
github.com/docker/go-units v0.5.0 // indirect
4949
github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect
@@ -60,11 +60,10 @@ require (
6060
github.com/google/uuid v1.3.0 // indirect
6161
github.com/gookit/color v1.5.4 // indirect
6262
github.com/hashicorp/hcl v1.0.0 // indirect
63-
github.com/imdario/mergo v0.3.15 // indirect
6463
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
6564
github.com/jedib0t/go-pretty/v6 v6.4.6 // indirect
6665
github.com/kevinburke/ssh_config v1.2.0 // indirect
67-
github.com/klauspost/compress v1.15.9 // indirect
66+
github.com/klauspost/compress v1.16.0 // indirect
6867
github.com/klauspost/cpuid/v2 v2.2.3 // indirect
6968
github.com/klauspost/pgzip v1.2.5 // indirect
7069
github.com/magiconair/properties v1.8.7 // indirect
@@ -81,7 +80,7 @@ require (
8180
github.com/morikuni/aec v1.0.0 // indirect
8281
github.com/nwaples/rardecode v1.1.0 // indirect
8382
github.com/opencontainers/go-digest v1.0.0 // indirect
84-
github.com/opencontainers/image-spec v1.1.0-rc2 // indirect
83+
github.com/opencontainers/image-spec v1.1.0-rc4 // indirect
8584
github.com/opencontainers/runc v1.1.5 // indirect
8685
github.com/owenrumney/go-sarif/v2 v2.2.0 // indirect
8786
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
@@ -115,20 +114,18 @@ require (
115114
golang.org/x/sys v0.11.0 // indirect
116115
golang.org/x/text v0.12.0 // indirect
117116
golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 // indirect
118-
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
119-
google.golang.org/grpc v1.55.0 // indirect
117+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
118+
google.golang.org/grpc v1.57.0 // indirect
120119
google.golang.org/protobuf v1.30.0 // indirect
121120
gopkg.in/ini.v1 v1.67.0 // indirect
122121
gopkg.in/warnings.v0 v0.1.2 // indirect
123122
gopkg.in/yaml.v3 v3.0.1 // indirect
124123
)
125124

126-
// replace github.com/jfrog/build-info-go => github.com/jfrog/build-info-go
125+
// replace github.com/jfrog/build-info-go => github.com/jfrog/build-info-go v1.8.9-0.20230820165857-52ff32c4d8eb
127126

128-
// replace github.com/jfrog/jfrog-cli-core/v2 => github.com/jfrog/jfrog-cli-core/v2 dev
127+
// replace github.com/jfrog/jfrog-cli-core/v2 => github.com/jfrog/jfrog-cli-core/v2 v2.31.1-0.20230823084658-46b57ad6ca5a
129128

130129
// replace github.com/jfrog/gofrog => github.com/jfrog/gofrog v1.2.6-0.20230418122323-2bf299dd6d27
131130

132-
// replace github.com/jfrog/jfrog-client-go => github.com/jfrog/jfrog-client-go v1.28.1-0.20230717090738-b2e0c7bcc026
133-
134-
replace github.com/jfrog/jfrog-cli-core/v2 => github.com/jfrog/jfrog-cli-core/v2 v2.31.1-0.20230821051007-8d07a9970ea3
131+
// replace github.com/jfrog/jfrog-client-go => github.com/jfrog/jfrog-client-go v1.28.1-0.20230803140217-0a5f43783ae8

0 commit comments

Comments
 (0)