diff --git a/vendor/github.com/Songmu/retry/BUILD.bazel b/vendor/github.com/Songmu/retry/BUILD.bazel new file mode 100644 index 0000000000..ddc3640c2b --- /dev/null +++ b/vendor/github.com/Songmu/retry/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["retry.go"], + importmap = "github.com/jetstack/tarmak/vendor/github.com/Songmu/retry", + importpath = "github.com/Songmu/retry", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/google/go-github/github/BUILD.bazel b/vendor/github.com/google/go-github/github/BUILD.bazel new file mode 100644 index 0000000000..428ae03804 --- /dev/null +++ b/vendor/github.com/google/go-github/github/BUILD.bazel @@ -0,0 +1,99 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "activity.go", + "activity_events.go", + "activity_notifications.go", + "activity_star.go", + "activity_watching.go", + "admin.go", + "admin_stats.go", + "apps.go", + "apps_installation.go", + "apps_marketplace.go", + "authorizations.go", + "checks.go", + "doc.go", + "event.go", + "event_types.go", + "gists.go", + "gists_comments.go", + "git.go", + "git_blobs.go", + "git_commits.go", + "git_refs.go", + "git_tags.go", + "git_trees.go", + "github.go", + "github-accessors.go", + "gitignore.go", + "interactions.go", + "interactions_orgs.go", + "interactions_repos.go", + "issues.go", + "issues_assignees.go", + "issues_comments.go", + "issues_events.go", + "issues_labels.go", + "issues_milestones.go", + "issues_timeline.go", + "licenses.go", + "messages.go", + "migrations.go", + "migrations_source_import.go", + "migrations_user.go", + "misc.go", + "orgs.go", + "orgs_hooks.go", + "orgs_members.go", + "orgs_outside_collaborators.go", + "orgs_projects.go", + "orgs_users_blocking.go", + "projects.go", + "pulls.go", + "pulls_comments.go", + "pulls_reviewers.go", + "pulls_reviews.go", + "reactions.go", + "repos.go", + "repos_collaborators.go", + "repos_comments.go", + "repos_commits.go", + "repos_community_health.go", + "repos_contents.go", + "repos_deployments.go", + "repos_forks.go", + "repos_hooks.go", + "repos_invitations.go", + "repos_keys.go", + "repos_merging.go", + "repos_pages.go", + "repos_prereceive_hooks.go", + "repos_projects.go", + "repos_releases.go", + "repos_stats.go", + "repos_statuses.go", + "repos_traffic.go", + "search.go", + "strings.go", + "teams.go", + "teams_discussion_comments.go", + "teams_discussions.go", + "teams_members.go", + "timestamp.go", + "users.go", + "users_administration.go", + "users_blocking.go", + "users_emails.go", + "users_followers.go", + "users_gpg_keys.go", + "users_keys.go", + "without_appengine.go", + ], + importmap = "github.com/jetstack/tarmak/vendor/github.com/google/go-github/github", + importpath = "github.com/google/go-github/github", + visibility = ["//visibility:public"], + deps = ["//vendor/github.com/google/go-querystring/query:go_default_library"], +) diff --git a/vendor/github.com/tcnksm/ghr/BUILD.bazel b/vendor/github.com/tcnksm/ghr/BUILD.bazel new file mode 100644 index 0000000000..49b887b737 --- /dev/null +++ b/vendor/github.com/tcnksm/ghr/BUILD.bazel @@ -0,0 +1,33 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "cli.go", + "ghr.go", + "github.go", + "local.go", + "main.go", + "version.go", + ], + importmap = "github.com/jetstack/tarmak/vendor/github.com/tcnksm/ghr", + importpath = "github.com/tcnksm/ghr", + visibility = ["//visibility:private"], + deps = [ + "//vendor/github.com/Songmu/retry:go_default_library", + "//vendor/github.com/google/go-github/github:go_default_library", + "//vendor/github.com/mattn/go-colorable:go_default_library", + "//vendor/github.com/mitchellh/colorstring:go_default_library", + "//vendor/github.com/pkg/errors:go_default_library", + "//vendor/github.com/tcnksm/go-gitconfig:go_default_library", + "//vendor/github.com/tcnksm/go-latest:go_default_library", + "//vendor/golang.org/x/oauth2:go_default_library", + "//vendor/golang.org/x/sync/errgroup:go_default_library", + ], +) + +go_binary( + name = "ghr", + embed = [":go_default_library"], + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/tcnksm/go-gitconfig/BUILD.bazel b/vendor/github.com/tcnksm/go-gitconfig/BUILD.bazel new file mode 100644 index 0000000000..8ada93b307 --- /dev/null +++ b/vendor/github.com/tcnksm/go-gitconfig/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["gitconfig.go"], + importmap = "github.com/jetstack/tarmak/vendor/github.com/tcnksm/go-gitconfig", + importpath = "github.com/tcnksm/go-gitconfig", + visibility = ["//visibility:public"], +) diff --git a/vendor/github.com/tcnksm/go-latest/BUILD.bazel b/vendor/github.com/tcnksm/go-latest/BUILD.bazel new file mode 100644 index 0000000000..762d90306b --- /dev/null +++ b/vendor/github.com/tcnksm/go-latest/BUILD.bazel @@ -0,0 +1,21 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = [ + "github.go", + "html.go", + "html_meta.go", + "json.go", + "latest.go", + ], + importmap = "github.com/jetstack/tarmak/vendor/github.com/tcnksm/go-latest", + importpath = "github.com/tcnksm/go-latest", + visibility = ["//visibility:public"], + deps = [ + "//vendor/github.com/google/go-github/github:go_default_library", + "//vendor/github.com/hashicorp/go-version:go_default_library", + "//vendor/golang.org/x/net/html:go_default_library", + "//vendor/golang.org/x/net/html/atom:go_default_library", + ], +) diff --git a/vendor/golang.org/x/sync/errgroup/BUILD.bazel b/vendor/golang.org/x/sync/errgroup/BUILD.bazel new file mode 100644 index 0000000000..4eccafbdbe --- /dev/null +++ b/vendor/golang.org/x/sync/errgroup/BUILD.bazel @@ -0,0 +1,9 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library") + +go_library( + name = "go_default_library", + srcs = ["errgroup.go"], + importmap = "github.com/jetstack/tarmak/vendor/golang.org/x/sync/errgroup", + importpath = "golang.org/x/sync/errgroup", + visibility = ["//visibility:public"], +)