Skip to content

Commit

Permalink
fix(deps): update all non-major dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and patrickpichler committed Oct 22, 2024
1 parent 2524fd7 commit 626e222
Show file tree
Hide file tree
Showing 5 changed files with 548 additions and 499 deletions.
18 changes: 9 additions & 9 deletions apk/apk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "1.24.2-r9",
SrcName: "busybox",
SrcVersion: "1.24.2-r9",
Licenses: []string{"GPL-2.0"},
Licenses: []string{"GPL-2.0-only"},
DependsOn: []string{"[email protected]"},
},
{
Expand All @@ -43,7 +43,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "3.0.3-r0",
SrcName: "alpine-baselayout",
SrcVersion: "3.0.3-r0",
Licenses: []string{"GPL-2.0"},
Licenses: []string{"GPL-2.0-only"},
DependsOn: []string{"[email protected]", "[email protected]"},
},
{
Expand All @@ -52,7 +52,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "1.1-r0",
SrcName: "alpine-keys",
SrcVersion: "1.1-r0",
Licenses: []string{"GPL-3.0"},
Licenses: []string{"GPL-2.0-or-later"},
},
{
ID: "[email protected]",
Expand All @@ -69,7 +69,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "1.0.2h-r1",
SrcName: "openssl",
SrcVersion: "1.0.2h-r1",
Licenses: []string{"openssl"},
Licenses: []string{"OpenSSL"},
DependsOn: []string{"[email protected]", "[email protected]"},
},
{
Expand All @@ -78,7 +78,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "1.0.2h-r1",
SrcName: "openssl",
SrcVersion: "1.0.2h-r1",
Licenses: []string{"openssl"},
Licenses: []string{"OpenSSL"},
DependsOn: []string{
"[email protected]",
"[email protected]",
Expand All @@ -90,7 +90,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "2.6.7-r0",
SrcName: "apk-tools",
SrcVersion: "2.6.7-r0",
Licenses: []string{"GPL-2.0"},
Licenses: []string{"GPL-2.0-only"},
DependsOn: []string{
"[email protected]",
"[email protected]",
Expand All @@ -104,7 +104,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "1.1.6-r0",
SrcName: "pax-utils",
SrcVersion: "1.1.6-r0",
Licenses: []string{"GPL-2.0"},
Licenses: []string{"GPL-2.0-only"},
DependsOn: []string{"[email protected]"},
},
{
Expand All @@ -113,7 +113,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "1.1.14-r10",
SrcName: "musl",
SrcVersion: "1.1.14-r10",
Licenses: []string{"MIT", "BSD-3-Clause", "GPL-2.0"},
Licenses: []string{"MIT", "BSD-3-Clause", "GPL-2.0-or-later"},
DependsOn: []string{
"[email protected]",
"[email protected]",
Expand All @@ -125,7 +125,7 @@ func TestParseApkInfo(t *testing.T) {
Version: "0.7-r0",
SrcName: "libc-dev",
SrcVersion: "0.7-r0",
Licenses: []string{"GPL-3.0"},
Licenses: []string{"GPL-2.0-or-later"},
DependsOn: []string{"[email protected]"},
},
{
Expand Down
2 changes: 1 addition & 1 deletion artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (a Artifact) getCachedLayers(ctx context.Context, ids []string) (map[string
return blobs, nil
}

func (Artifact) Clean(_ types.ArtifactReference) error {
func (Artifact) Clean(_ artifact.Reference) error {
return nil
}

Expand Down
9 changes: 5 additions & 4 deletions dpkg/copyright_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ func Test_dpkgLicenseAnalyzer_Analyze(t *testing.T) {
Type: types.LicenseTypeDpkg,
FilePath: "usr/share/doc/zlib1g/copyright",
Findings: []types.LicenseFinding{
{Name: "GPL-1.0"},
{Name: "Artistic"},
{Name: "GPL-1.0-or-later"},
{Name: "Artistic-2.0"},
{Name: "BSD-4-clause-POWERDOG"},
{Name: "Zlib"},
},
Expand All @@ -48,7 +48,7 @@ func Test_dpkgLicenseAnalyzer_Analyze(t *testing.T) {
Type: types.LicenseTypeDpkg,
FilePath: "usr/share/doc/adduser/copyright",
Findings: []types.LicenseFinding{
{Name: "GPL-2.0"},
{Name: "GPL-2.0-only"},
},
PkgName: "adduser",
},
Expand All @@ -65,7 +65,8 @@ func Test_dpkgLicenseAnalyzer_Analyze(t *testing.T) {
Type: types.LicenseTypeDpkg,
FilePath: "usr/share/doc/apt/copyright",
Findings: []types.LicenseFinding{
{Name: "GPL-2.0"},
{Name: "GPL-2.0-or-later"},
{Name: "GPL-2.0-only"},
},
PkgName: "apt",
},
Expand Down
Loading

0 comments on commit 626e222

Please sign in to comment.