Hello community, here is the log from the commit of package bazel-rules-go for openSUSE:Factory checked in at 2020-01-08 19:30:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bazel-rules-go (Old) and /work/SRC/openSUSE:Factory/.bazel-rules-go.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bazel-rules-go" Wed Jan 8 19:30:58 2020 rev:4 rq:761912 version:0.20.1 Changes: -------- --- /work/SRC/openSUSE:Factory/bazel-rules-go/bazel-rules-go.changes 2019-11-11 21:20:41.499627140 +0100 +++ /work/SRC/openSUSE:Factory/.bazel-rules-go.new.6675/bazel-rules-go.changes 2020-01-08 19:31:08.540601593 +0100 @@ -1,0 +2,7 @@ +Thu Dec 19 13:58:48 UTC 2019 - Madhu Mohan Nelemane <[email protected]> + +- Updated to version 0.20.1 + * updated patch to match 0.20.1 source: + [ 0001-bazel-Use-http_archive-instead-of-git_repository.patch ] + +------------------------------------------------------------------- Old: ---- bazel-rules-go-0.18.5.tar.xz New: ---- bazel-rules-go-0.20.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bazel-rules-go.spec ++++++ --- /var/tmp/diff_new_pack.IbUpdD/_old 2020-01-08 19:31:10.612602646 +0100 +++ /var/tmp/diff_new_pack.IbUpdD/_new 2020-01-08 19:31:10.656602668 +0100 @@ -1,7 +1,7 @@ # # spec file for package bazel-rules-go # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define src_install_dir /usr/src/%{name} Name: bazel-rules-go -Version: 0.18.5 +Version: 0.20.1 Release: 0 Summary: Go rules for Bazel License: Apache-2.0 ++++++ 0001-bazel-Use-http_archive-instead-of-git_repository.patch ++++++ --- /var/tmp/diff_new_pack.IbUpdD/_old 2020-01-08 19:31:10.832602758 +0100 +++ /var/tmp/diff_new_pack.IbUpdD/_new 2020-01-08 19:31:10.856602770 +0100 @@ -1,30 +1,13 @@ -From 74e4f31d017d2b97fcf343fdaf3335bdbecdc9c0 Mon Sep 17 00:00:00 2001 -From: Michal Rostecki <[email protected]> -Date: Fri, 13 Sep 2019 14:26:58 +0200 -Subject: [PATCH] bazel: Use http_archive instead of git_repository - -git_repository does not allow to: - -- override repository via CLI arguments -- prefetch the tarball and use prebuild cache or distdir - -which makes packaging in Linux distributions harder. - -Signed-off-by: Michal Rostecki <[email protected]> ---- - go/private/repositories.bzl | 165 +++++++++++++++++++++++------------- - 1 file changed, 106 insertions(+), 59 deletions(-) - -diff --git a/go/private/repositories.bzl b/go/private/repositories.bzl -index d2d75097..9b2c78ea 100644 ---- a/go/private/repositories.bzl -+++ b/go/private/repositories.bzl -@@ -21,7 +21,56 @@ load("@io_bazel_rules_go//go/private:nogo.bzl", "DEFAULT_NOGO", "go_register_nog +diff -Naur bazel-rules-go-0.20.1.orig/go/private/repositories.bzl bazel-rules-go-0.20.1/go/private/repositories.bzl +--- bazel-rules-go-0.20.1.orig/go/private/repositories.bzl 2019-10-18 04:00:16.000000000 +0200 ++++ bazel-rules-go-0.20.1/go/private/repositories.bzl 2019-12-19 14:27:58.812595038 +0100 +@@ -20,9 +20,42 @@ + load("@io_bazel_rules_go//go/private:nogo.bzl", "DEFAULT_NOGO", "go_register_nogo") load("@io_bazel_rules_go//go/platform:list.bzl", "GOOS_GOARCH") load("@io_bazel_rules_go//proto:gogo.bzl", "gogo_special_proto") - load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") -+ + load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +# master, as of 2019-03-03 +GOLANG_X_TOOLS_COMMIT = "589c23e65e65055d47b9ad4a99723bc389136265" +GOLANG_X_TOOLS_SHA = "2d78895bf626de1fd750d7ce90d092b5c909d75a623af7049234bd42d4f103d9" @@ -45,18 +28,6 @@ +GOGO_PROTOBUF_RELEASE = "1.2.1" +GOGO_PROTOBUF_SHA = "99e423905ba8921e86817607a5294ffeedb66fdd4a85efce5eb2848f715fdb3a" + -+# master, as of 2019-03-3 -+GOLANG_X_NET_COMMIT = "16b79f2e4e95ea23b2bf9903c9809ff7b013ce85" -+GOLANG_X_NET_SHA = "916d7b42140ec92fc85f67a58cf10c0ce3feec468ae1f919ff22720844731be6" -+ -+# v0.3.0, latest as of 2019-03-03 -+GOLANG_X_TEXT_COMMIT = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" -+GOLANG_X_TEXT_SHA = "339419ef0264faa388f9d20fc66025a896f32dfc9d6acec3ec83591870de2de4" -+ -+# master, as of 2019-03-03 -+GOLANG_X_SYS_COMMIT = "d455e41777fca6e8a5a79e34a14b8368bc11d9ba" -+GOLANG_X_SYS_SHA = "ed157d9ceeb5f12c59eb9cd821fccb7bff4d68c12d0e17369e2d2906e4b5fdd5" -+ +GRPC_GO_RELEASE = "1.19.0" +GRPC_GO_SHA = "299e274bb6f514f2bbfcbe067b65f5cc1fcfe5c4878ca1a05af2142169711c0a" + @@ -68,247 +39,124 @@ +GOOGLEAPIS_COMMIT = "41d72d444fbe445f4da89e13be02078734fb7875" +GOOGLEAPIS_SHA = "76c3286f238e7123229da9efe424bb597390d1d46bbc5b22ebc4795143d646a3" + -+# master as of 2019-03-03 -+GLOG_COMMIT = "23def4e6c14b4da8ac2ed8007337bc5eb5007998" -+GLOG_SHA = "ef225f77e38c3f071656a5bc529d7a66585e2ebc2b6149fa2bd4de1fb1ddacd6" -+ +GO_BINDATA_RELEASE = "3.13.0" +GO_BINDATA_SHA = "16d23471f8b092d36261fc6b162e4cc30b245bf3b9c28b0f548788e6180a5729" - ++ def go_rules_dependencies(): - """See /go/workspace.rst#go-rules-dependencies for full documentation.""" -@@ -36,32 +85,31 @@ def go_rules_dependencies(): + """Declares workspaces the Go rules depend on. Workspaces that use + rules_go should call this. +@@ -57,23 +90,24 @@ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", + ], +- sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44", ++ sha256 = BAZEL_SKYLIB_SHA, ++ strip_prefix = "bazel-skylib-" + BAZEL_SKYLIB_RELEASE, ++ urls = ["https://github.com/bazelbuild/bazel-skylib/archive/" + BAZEL_SKYLIB_RELEASE + ".tar.gz"], + ) # Needed for nogo vet checks and go/packages. _maybe( - git_repository, + http_archive, name = "org_golang_x_tools", -- # master, as of 2019-03-03 - remote = "https://go.googlesource.com/tools", -- commit = "589c23e65e65055d47b9ad4a99723bc389136265", # master, as of 2019-03-03 +- # master (latest) as of 2019-10-05 +- commit = "c9f9432ec4b21a28c4d47f172513698febb68e9c", + sha256 = GOLANG_X_TOOLS_SHA, + strip_prefix = "tools-" + GOLANG_X_TOOLS_COMMIT, + urls = ["https://github.com/golang/tools/archive/" + GOLANG_X_TOOLS_COMMIT + ".tar.gz"], patches = [ + "@io_bazel_rules_go//third_party:org_golang_x_tools-deletegopls.patch", "@io_bazel_rules_go//third_party:org_golang_x_tools-gazelle.patch", "@io_bazel_rules_go//third_party:org_golang_x_tools-extras.patch", ], patch_args = ["-p1"], -- shallow_since = "1551386336 +0000", +- shallow_since = "1570239844 +0000", # gazelle args: -go_prefix golang.org/x/tools ) - # Proto dependencies +@@ -95,12 +129,11 @@ + # We need to apply a patch to enable both go_proto_library and + # go_library with pre-generated sources. _maybe( - git_repository, + http_archive, name = "com_github_golang_protobuf", - remote = "https://github.com/golang/protobuf", -- commit = "c823c79ea1570fb5ff454033735a8e68575d1d0f", # v1.3.0, as of 2019-03-03 +- # v1.3.1 (latest) as of 2019-10-05 +- commit = "6c65a5562fc06764971b7c5d05c76c75e84bdbf7", +- shallow_since = "1562005321 -0700", + sha256 = GOLANG_PROTOBUF_SHA, + strip_prefix = "protobuf-" + GOLANG_PROTOBUF_RELEASE, + urls = ["https://github.com/golang/protobuf/archive/v" + GOLANG_PROTOBUF_RELEASE + ".tar.gz"], patches = [ "@io_bazel_rules_go//third_party:com_github_golang_protobuf-gazelle.patch", "@io_bazel_rules_go//third_party:com_github_golang_protobuf-extras.patch", - ], - patch_args = ["-p1"], -- shallow_since = "1549405252 -0800" - # gazelle args: -go_prefix github.com/golang/protobuf -proto disable_global - ) - -@@ -70,19 +118,19 @@ def go_rules_dependencies(): - # when go/def.bzl is loaded. The vendored copy of skylib in go/private/skylib - # may be used instead. - _maybe( -- git_repository, -+ http_archive, - name = "bazel_skylib", -- remote = "https://github.com/bazelbuild/bazel-skylib", -- commit = "6741f733227dc68137512161a5ce6fcf283e3f58", # 0.7.0, as of 2019-03-03 -- shallow_since = "1549647446 +0100", -+ sha256 = BAZEL_SKYLIB_SHA, -+ strip_prefix = "bazel-skylib-" + BAZEL_SKYLIB_RELEASE, -+ urls = ["https://github.com/bazelbuild/bazel-skylib/archive/" + BAZEL_SKYLIB_RELEASE + ".tar.gz"], - ) - - _maybe( -- git_repository, -+ http_archive, - name = "com_google_protobuf", -- remote = "https://github.com/protocolbuffers/protobuf", -- commit = "582743bf40c5d3639a70f98f183914a2c0cd0680", # v3.7.0, as of 2019-03-03 -- shallow_since = "1551387314 -0800", -+ sha256 = PROTOBUF_SHA, -+ strip_prefix = "protobuf-" + PROTOBUF_RELEASE, -+ urls = ["https://github.com/protocolbuffers/protobuf/archive/v" + PROTOBUF_RELEASE + ".tar.gz"], - ) - # Workaround for protocolbuffers/protobuf#5472 - # At master, they provide a macro that creates this dependency. We can't -@@ -101,24 +149,24 @@ def go_rules_dependencies(): - ) - +@@ -112,12 +145,11 @@ + # Extra protoc plugins and libraries. + # Doesn't belong here, but low maintenance. _maybe( - git_repository, + http_archive, name = "com_github_mwitkow_go_proto_validators", - remote = "https://github.com/mwitkow/go-proto-validators", -- commit = "1f388280e944c97cc59c75d8c84a704097d1f1d6", # master, as of 2019-03-03 +- # v0.2.0 (latest) as of 2019-10-05 +- commit = "d70d97bb65387105677cb21cee7318e4feb7b4b0", +- shallow_since = "1568733758 +0100", + sha256 = GO_PROTO_VALIDATORS_SHA, + strip_prefix = "go-proto-validators-" + GO_PROTO_VALIDATORS_COMMIT, + urls = ["https://github.com/mwitkow/go-proto-validators/archive/" + GO_PROTO_VALIDATORS_COMMIT + ".tar.gz"], patches = ["@io_bazel_rules_go//third_party:com_github_mwitkow_go_proto_validators-gazelle.patch"], patch_args = ["-p1"], -- shallow_since = "1549963709 +0000", # gazelle args: -go_prefix github.com/mwitkow/go-proto-validators -proto disable - ) - +@@ -126,12 +158,11 @@ + # Extra protoc plugins and libraries + # Doesn't belong here, but low maintenance. _maybe( - git_repository, + http_archive, name = "com_github_gogo_protobuf", - remote = "https://github.com/gogo/protobuf", -- commit = "ba06b47c162d49f2af050fb4c75bcbc86a159d5c", # v1.2.1, as of 2019-03-03 +- # v1.3.0 (latest) as of 2019-10-05 +- commit = "0ca988a254f991240804bf9821f3450d87ccbb1b", +- shallow_since = "1567336231 +0200", + sha256 = GOGO_PROTOBUF_SHA, + strip_prefix = "protobuf-" + GOGO_PROTOBUF_RELEASE, + urls = ["https://github.com/gogo/protobuf/archive/v" + GOGO_PROTOBUF_RELEASE + ".tar.gz"], patches = ["@io_bazel_rules_go//third_party:com_github_gogo_protobuf-gazelle.patch"], patch_args = ["-p1"], -- shallow_since = "1550471403 +0200", # gazelle args: -go_prefix github.com/gogo/protobuf -proto legacy - ) - -@@ -129,68 +177,68 @@ def go_rules_dependencies(): - - # GRPC dependencies - _maybe( -- git_repository, -+ http_archive, - name = "org_golang_x_net", -- remote = "https://go.googlesource.com/net", -- commit = "16b79f2e4e95ea23b2bf9903c9809ff7b013ce85", # master, as of 2019-03-3 -+ sha256 = GOLANG_X_NET_SHA, -+ strip_prefix = "net-" + GOLANG_X_NET_COMMIT, -+ urls = ["https://github.com/golang/net/archive/" + GOLANG_X_NET_COMMIT + ".tar.gz"], - patches = ["@io_bazel_rules_go//third_party:org_golang_x_net-gazelle.patch"], - patch_args = ["-p1"], -- shallow_since = "1551482021 +0000", - # gazelle args: -go_prefix golang.org/x/net - ) - - _maybe( -- git_repository, -+ http_archive, - name = "org_golang_x_text", -- remote = "https://go.googlesource.com/text", -- commit = "f21a4dfb5e38f5895301dc265a8def02365cc3d0", # v0.3.0, latest as of 2019-03-03 -+ sha256 = GOLANG_X_TEXT_SHA, -+ strip_prefix = "text-" + GOLANG_X_TEXT_COMMIT, -+ urls = ["https://github.com/golang/text/archive/" + GOLANG_X_TEXT_COMMIT + ".tar.gz"], - patches = ["@io_bazel_rules_go//third_party:org_golang_x_text-gazelle.patch"], - patch_args = ["-p1"], -- shallow_since = "1513256923 +0000", - # gazelle args: -go_prefix golang.org/x/text - ) - _maybe( -- git_repository, -+ http_archive, - name = "org_golang_x_sys", -- remote = "https://go.googlesource.com/sys", -- commit = "d455e41777fca6e8a5a79e34a14b8368bc11d9ba", # master, as of 2019-03-03 -+ sha256 = GOLANG_X_SYS_SHA, -+ strip_prefix = "sys-" + GOLANG_X_SYS_COMMIT, -+ urls = ["https://github.com/golang/sys/archive/" + GOLANG_X_SYS_COMMIT + ".tar.gz"], - patches = ["@io_bazel_rules_go//third_party:org_golang_x_sys-gazelle.patch"], - patch_args = ["-p1"], -- shallow_since = "1551616002 +0000", - # gazelle args: -go_prefix golang.org/x/sys - ) - - _maybe( -- git_repository, -+ http_archive, - name = "org_golang_google_grpc", -- remote = "https://github.com/grpc/grpc-go", -- commit = "2fdaae294f38ed9a121193c51ec99fecd3b13eb7", # v1.19.0, latest as of 2019-03-03 -+ sha256 = GRPC_GO_SHA, -+ strip_prefix = "grpc-go-" + GRPC_GO_RELEASE, -+ urls = ["https://github.com/grpc/grpc-go/archive/v" + GRPC_GO_RELEASE + ".tar.gz"], - patches = [ - "@io_bazel_rules_go//third_party:org_golang_google_grpc-gazelle.patch", - "@io_bazel_rules_go//third_party:org_golang_google_grpc-crosscompile.patch", - ], - patch_args = ["-p1"], -- shallow_since = "1551206709 -0800", - # gazelle args: -go_prefix google.golang.org/grpc -proto disable - ) - +@@ -147,11 +178,11 @@ + # Doesn't belong here, but it would be an annoying source of errors if + # this weren't generated with -proto disable_global. _maybe( - git_repository, + http_archive, name = "org_golang_google_genproto", - remote = "https://github.com/google/go-genproto", -- commit = "4f5b463f9597cbe0dd13a6a2cd4f85e788d27508", # master, as of 2019-03-03 +- # master (latest) as of 2019-10-05 +- commit = "c459b9ce5143dd819763d9329ff92a8e35e61bd9", + sha256 = GO_GENPROTO_SHA, + strip_prefix = "go-genproto-" + GO_GENPROTO_COMMIT, + urls = ["https://github.com/google/go-genproto/archive/" + GO_GENPROTO_COMMIT + ".tar.gz"], patches = ["@io_bazel_rules_go//third_party:org_golang_google_genproto-gazelle.patch"], patch_args = ["-p1"], -- shallow_since = "1551303189 -0700", # gazelle args: -go_prefix google.golang.org/genproto -proto disable_global - ) - +@@ -163,12 +194,11 @@ + # here. Gazelle should resolve dependencies to com_google_googleapis + # instead, and we should remove this. _maybe( - git_repository, + http_archive, name = "go_googleapis", -- # master as of 2019-01-17 - remote = "https://github.com/googleapis/googleapis", -- commit = "41d72d444fbe445f4da89e13be02078734fb7875", # master, as of 2019-03-03 +- # master (latest) as of 2019-10-05 +- commit = "ceb8e2fb12f048cc94caae532ef0b4cf026a78f3", +- shallow_since = "1570228637 -0700", + sha256 = GOOGLEAPIS_SHA, + strip_prefix = "googleapis-" + GOOGLEAPIS_COMMIT, + urls = ["https://github.com/googleapis/googleapis/archive/" + GOOGLEAPIS_COMMIT + ".tar.gz"], patches = [ "@io_bazel_rules_go//third_party:go_googleapis-deletebuild.patch", "@io_bazel_rules_go//third_party:go_googleapis-directives.patch", -@@ -198,28 +246,27 @@ def go_rules_dependencies(): - "@io_bazel_rules_go//third_party:go_googleapis-fix.patch", - ], - patch_args = ["-E", "-p1"], -- shallow_since = "1551404057 -0800", - ) - - # Needed for examples - _maybe( -- git_repository, -+ http_archive, - name = "com_github_golang_glog", -- remote = "https://github.com/golang/glog", -- commit = "23def4e6c14b4da8ac2ed8007337bc5eb5007998", # master as of 2019-03-03 -+ sha256 = GLOG_SHA, -+ strip_prefix = "glog-" + GLOG_COMMIT, -+ urls = ["https://github.com/golang/glog/archive/" + GLOG_COMMIT + ".tar.gz"], - patches = ["@io_bazel_rules_go//third_party:com_github_golang_glog-gazelle.patch"], - patch_args = ["-p1"], -- shallow_since = "1453852388 +1100", - # gazelle args: -go_prefix github.com/golang/glog - ) - _maybe( -- git_repository, -+ http_archive, - name = "com_github_kevinburke_go_bindata", -- remote = "https://github.com/kevinburke/go-bindata", -- commit = "53d73b98acf3bd9f56d7f9136ed8e1be64756e1d", # v3.13.0, latest as of 2019-03-03 -+ sha256 = GO_BINDATA_SHA, -+ strip_prefix = "go-bindata-" + GO_BINDATA_RELEASE, -+ urls = ["https://github.com/kevinburke/go-bindata/archive/v" + GO_BINDATA_RELEASE + ".tar.gz"], - patches = ["@io_bazel_rules_go//third_party:com_github_kevinburke_go_bindata-gazelle.patch"], - patch_args = ["-p1"], -- shallow_since = "1545009224 +0000", - # gazelle args: -go_prefix github.com/kevinburke/go-bindata - ) - --- -2.23.0 - ++++++ _service ++++++ --- /var/tmp/diff_new_pack.IbUpdD/_old 2020-01-08 19:31:11.024602855 +0100 +++ /var/tmp/diff_new_pack.IbUpdD/_new 2020-01-08 19:31:11.036602861 +0100 @@ -5,7 +5,8 @@ <param name="changesgenerate">enable</param> <param name="filename">bazel-rules-go</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="revision">refs/tags/0.18.5</param> + <param name="versionrewrite-pattern">v(.*)</param> + <param name="revision">refs/tags/v0.20.1</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.IbUpdD/_old 2020-01-08 19:31:11.080602884 +0100 +++ /var/tmp/diff_new_pack.IbUpdD/_new 2020-01-08 19:31:11.080602884 +0100 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/bazelbuild/rules_go</param> - <param name="changesrevision">2eb16d80ca4b302f2600ffa4f9fc518a64df2908</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">6731184dfb810f2d41b252b7e876fd7db5aafb68</param></service></servicedata> ++++++ bazel-rules-go-0.18.5.tar.xz -> bazel-rules-go-0.20.1.tar.xz ++++++ ++++ 48134 lines of diff (skipped)
