Skip to content

Commit 8c08e84

Browse files
committed
No vendor
1 parent 0388483 commit 8c08e84

File tree

17 files changed

+58
-58
lines changed

17 files changed

+58
-58
lines changed

BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ go_library(
5353
"//tables/sofa",
5454
"//tables/unifiedlog",
5555
"//tables/wifi_network",
56-
"//vendor/github.com/osquery/osquery-go",
57-
"//vendor/github.com/osquery/osquery-go/plugin/table",
56+
"@com_github_osquery_osquery_go//:go_default_library",
57+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
5858
],
5959
)
6060

pkg/utils/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go_library(
1010
],
1111
importpath = "github.com/macadmins/osquery-extension/pkg/utils",
1212
visibility = ["//visibility:public"],
13-
deps = ["//vendor/github.com/osquery/osquery-go"],
13+
deps = ["@com_github_osquery_osquery_go//:go_default_library"],
1414
)
1515

1616
go_test(
@@ -22,7 +22,7 @@ go_test(
2222
],
2323
embed = [":utils"],
2424
deps = [
25-
"//vendor/github.com/stretchr/testify/assert",
26-
"//vendor/github.com/stretchr/testify/require",
25+
"@com_github_stretchr_testify//assert:go_default_library",
26+
"@com_github_stretchr_testify//require:go_default_library",
2727
],
2828
)

tables/alt_system_info/BUILD.bazel

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ go_library(
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/utils",
10-
"//vendor/github.com/micromdm/plist",
11-
"//vendor/github.com/osquery/osquery-go/plugin/table",
12-
"//vendor/golang.org/x/sync/errgroup",
10+
"@com_github_micromdm_plist//:go_default_library",
11+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
12+
"@org_golang_x_sync//errgroup",
1313
],
1414
)
1515

@@ -19,7 +19,7 @@ go_test(
1919
deps = [
2020
":alt_system_info",
2121
"//pkg/utils",
22-
"//vendor/github.com/stretchr/testify/assert",
23-
"//vendor/github.com/stretchr/testify/require",
22+
"@com_github_stretchr_testify//assert:go_default_library",
23+
"@com_github_stretchr_testify//require:go_default_library",
2424
],
2525
)

tables/authdb/BUILD.bazel

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ go_library(
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/utils",
10-
"//vendor/github.com/micromdm/plist",
11-
"//vendor/github.com/osquery/osquery-go/plugin/table",
10+
"@com_github_micromdm_plist//:go_default_library",
11+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
1212
],
1313
)
1414

@@ -18,7 +18,7 @@ go_test(
1818
embed = [":authdb"],
1919
deps = [
2020
"//pkg/utils",
21-
"//vendor/github.com/osquery/osquery-go/plugin/table",
22-
"//vendor/github.com/stretchr/testify/assert",
21+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
22+
"@com_github_stretchr_testify//assert:go_default_library",
2323
],
2424
)

tables/chromeuserprofiles/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ go_library(
66
importpath = "github.com/macadmins/osquery-extension/tables/chromeuserprofiles",
77
visibility = ["//visibility:public"],
88
deps = [
9-
"//vendor/github.com/osquery/osquery-go/plugin/table",
10-
"//vendor/github.com/pkg/errors",
9+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
10+
"@com_github_pkg_errors//:go_default_library",
1111
],
1212
)
1313

1414
go_test(
1515
name = "chromeuserprofiles_test",
1616
srcs = ["chrome_user_profiles_test.go"],
1717
embed = [":chromeuserprofiles"],
18-
deps = ["//vendor/github.com/stretchr/testify/assert"],
18+
deps = ["@com_github_stretchr_testify//assert:go_default_library"],
1919
)

tables/fileline/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ go_library(
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/utils",
10-
"//vendor/github.com/osquery/osquery-go/plugin/table",
10+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
1111
],
1212
)

tables/filevaultusers/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ go_library(
66
importpath = "github.com/macadmins/osquery-extension/tables/filevaultusers",
77
visibility = ["//visibility:public"],
88
deps = [
9-
"//vendor/github.com/osquery/osquery-go/plugin/table",
10-
"//vendor/github.com/pkg/errors",
9+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
10+
"@com_github_pkg_errors//:go_default_library",
1111
],
1212
)
1313

1414
go_test(
1515
name = "filevaultusers_test",
1616
srcs = ["filevaultusers_test.go"],
1717
embed = [":filevaultusers"],
18-
deps = ["//vendor/github.com/stretchr/testify/assert"],
18+
deps = ["@com_github_stretchr_testify//assert:go_default_library"],
1919
)

tables/macos_profiles/BUILD.bazel

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ go_library(
66
importpath = "github.com/macadmins/osquery-extension/tables/macos_profiles",
77
visibility = ["//visibility:public"],
88
deps = [
9-
"//vendor/github.com/micromdm/plist",
10-
"//vendor/github.com/osquery/osquery-go/plugin/table",
11-
"//vendor/github.com/pkg/errors",
9+
"@com_github_micromdm_plist//:go_default_library",
10+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
11+
"@com_github_pkg_errors//:go_default_library",
1212
],
1313
)
1414

@@ -17,5 +17,5 @@ go_test(
1717
srcs = ["macos_profiles_test.go"],
1818
embed = [":macos_profiles"],
1919
embedsrcs = ["test_profiles_stdout.plist"],
20-
deps = ["//vendor/github.com/stretchr/testify/assert"],
20+
deps = ["@com_github_stretchr_testify//assert:go_default_library"],
2121
)

tables/macosrsr/BUILD.bazel

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ go_library(
66
importpath = "github.com/macadmins/osquery-extension/tables/macosrsr",
77
visibility = ["//visibility:public"],
88
deps = [
9-
"//vendor/github.com/micromdm/plist",
10-
"//vendor/github.com/osquery/osquery-go/plugin/table",
11-
"//vendor/github.com/pkg/errors",
9+
"@com_github_micromdm_plist//:go_default_library",
10+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
11+
"@com_github_pkg_errors//:go_default_library",
1212
],
1313
)
1414

@@ -17,5 +17,5 @@ go_test(
1717
srcs = ["rsr_test.go"],
1818
embed = [":macosrsr"],
1919
embedsrcs = ["test_SystemVersion.plist"],
20-
deps = ["//vendor/github.com/stretchr/testify/assert"],
20+
deps = ["@com_github_stretchr_testify//assert:go_default_library"],
2121
)

tables/mdm/BUILD.bazel

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ go_library(
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/utils",
10-
"//vendor/github.com/micromdm/plist",
11-
"//vendor/github.com/osquery/osquery-go/plugin/table",
12-
"//vendor/github.com/pkg/errors",
10+
"@com_github_micromdm_plist//:go_default_library",
11+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
12+
"@com_github_pkg_errors//:go_default_library",
1313
],
1414
)
1515

@@ -18,7 +18,7 @@ go_test(
1818
srcs = ["mdm_test.go"],
1919
embed = [":mdm"],
2020
deps = [
21-
"//vendor/github.com/osquery/osquery-go/plugin/table",
22-
"//vendor/github.com/stretchr/testify/assert",
21+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
22+
"@com_github_stretchr_testify//assert:go_default_library",
2323
],
2424
)

tables/munki/BUILD.bazel

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ go_library(
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/utils",
10-
"//vendor/github.com/micromdm/plist",
11-
"//vendor/github.com/osquery/osquery-go/plugin/table",
12-
"//vendor/github.com/pkg/errors",
10+
"@com_github_micromdm_plist//:go_default_library",
11+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
12+
"@com_github_pkg_errors//:go_default_library",
1313
],
1414
)
1515

@@ -19,7 +19,7 @@ go_test(
1919
embed = [":munki"],
2020
embedsrcs = ["test_ManagedInstallReport.plist"],
2121
deps = [
22-
"//vendor/github.com/osquery/osquery-go/plugin/table",
23-
"//vendor/github.com/stretchr/testify/assert",
22+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
23+
"@com_github_stretchr_testify//assert:go_default_library",
2424
],
2525
)

tables/networkquality/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go_library(
66
importpath = "github.com/macadmins/osquery-extension/tables/networkquality",
77
visibility = ["//visibility:public"],
88
deps = [
9-
"//vendor/github.com/osquery/osquery-go/plugin/table",
10-
"//vendor/github.com/pkg/errors",
9+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
10+
"@com_github_pkg_errors//:go_default_library",
1111
],
1212
)

tables/pendingappleupdates/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ go_library(
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/utils",
10-
"//vendor/github.com/micromdm/plist",
11-
"//vendor/github.com/osquery/osquery-go/plugin/table",
12-
"//vendor/github.com/pkg/errors",
10+
"@com_github_micromdm_plist//:go_default_library",
11+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
12+
"@com_github_pkg_errors//:go_default_library",
1313
],
1414
)

tables/puppet/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ go_library(
1212
importpath = "github.com/macadmins/osquery-extension/tables/puppet",
1313
visibility = ["//visibility:public"],
1414
deps = [
15-
"//vendor/github.com/osquery/osquery-go/plugin/table",
16-
"//vendor/github.com/pkg/errors",
17-
"//vendor/gopkg.in/yaml.v3:yaml_v3",
15+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
16+
"@com_github_pkg_errors//:go_default_library",
17+
"@in_gopkg_yaml_v3//:go_default_library",
1818
],
1919
)

tables/sofa/BUILD.bazel

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ go_library(
1111
visibility = ["//visibility:public"],
1212
deps = [
1313
"//pkg/utils",
14-
"//vendor/github.com/hashicorp/go-version",
15-
"//vendor/github.com/osquery/osquery-go",
16-
"//vendor/github.com/osquery/osquery-go/plugin/table",
14+
"@com_github_hashicorp_go_version//:go_default_library",
15+
"@com_github_osquery_osquery_go//:go_default_library",
16+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
1717
],
1818
)
1919

@@ -31,7 +31,7 @@ go_test(
3131
],
3232
deps = [
3333
"//pkg/utils",
34-
"//vendor/github.com/osquery/osquery-go/plugin/table",
35-
"//vendor/github.com/stretchr/testify/assert",
34+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
35+
"@com_github_stretchr_testify//assert:go_default_library",
3636
],
3737
)

tables/unifiedlog/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ go_library(
55
srcs = ["unified_log.go"],
66
importpath = "github.com/macadmins/osquery-extension/tables/unifiedlog",
77
visibility = ["//visibility:public"],
8-
deps = ["//vendor/github.com/osquery/osquery-go/plugin/table"],
8+
deps = ["@com_github_osquery_osquery_go//plugin/table:go_default_library"],
99
)

tables/wifi_network/BUILD.bazel

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ go_library(
77
visibility = ["//visibility:public"],
88
deps = [
99
"//pkg/utils",
10-
"//vendor/github.com/osquery/osquery-go",
11-
"//vendor/github.com/osquery/osquery-go/plugin/table",
12-
"//vendor/github.com/pkg/errors",
10+
"@com_github_osquery_osquery_go//:go_default_library",
11+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
12+
"@com_github_pkg_errors//:go_default_library",
1313
],
1414
)
1515

@@ -20,7 +20,7 @@ go_test(
2020
embedsrcs = ["wdutil_out.txt"],
2121
deps = [
2222
"//pkg/utils",
23-
"//vendor/github.com/osquery/osquery-go/plugin/table",
24-
"//vendor/github.com/stretchr/testify/assert",
23+
"@com_github_osquery_osquery_go//plugin/table:go_default_library",
24+
"@com_github_stretchr_testify//assert:go_default_library",
2525
],
2626
)

0 commit comments

Comments
 (0)