commit etcd-for-k8s-image for openSUSE:Factory

2020-01-13 Thread root
Hello community,

here is the log from the commit of package etcd-for-k8s-image for 
openSUSE:Factory checked in at 2020-01-13 22:15:01

Comparing /work/SRC/openSUSE:Factory/etcd-for-k8s-image (Old)
 and  /work/SRC/openSUSE:Factory/.etcd-for-k8s-image.new.6675 (New)


Package is "etcd-for-k8s-image"

Mon Jan 13 22:15:01 2020 rev:4 rq:757584 version:3.4.3

Changes:

--- /work/SRC/openSUSE:Factory/etcd-for-k8s-image/etcd-for-k8s-image.changes
2019-10-23 15:47:59.330509018 +0200
+++ 
/work/SRC/openSUSE:Factory/.etcd-for-k8s-image.new.6675/etcd-for-k8s-image.changes
  2020-01-13 22:15:09.470341047 +0100
@@ -1,0 +2,36 @@
+Tue Dec 17 15:42:22 UTC 2019 - Richard Brown 
+
+- Remove incorrectly added go_provides and go_nostrip macros 
+
+---
+Tue Dec 17 13:01:51 UTC 2019 - rbr...@suse.com
+
+- Update to version 3.4.3:
+  * version: 3.4.3
+  * *: use Go 1.12.12
+  * rafthttp: add 3.4 stream type
+  * etcdserver: strip patch version in metrics
+  * etcdserver: strip patch version in cluster version
+  * etcdserver: unset old cluster version in metrics
+  * Add version, tag and branch checks to release script
+  * scripts: fix read failure prompt in release; use https for git clone.
+  * version: 3.4.2
+  * etcdserver: trace compaction request; add return parameter 'trace' to 
applierV3.Compaction() mvcc: trace compaction request; add input parameter 
'trace' to KV.Compact()
+  * etcdserver: trace raft requests.
+  * etcdserver: add put request steps. mvcc: add put request steps; add trace 
to KV.Write() as input parameter.
+  * pkg: use zap logger to format the structure log output.
+  * pkg: add field to record additional detail of trace; add stepThreshold to 
reduce log volume.
+  * pkg: create package traceutil for tracing. mvcc: add tracing steps:range 
from the in-memory index tree; range from boltdb. etcdserver: add tracing 
steps: agreement among raft nodes before linerized reading; authentication; 
filter and sort kv pairs; assemble the response.
+  * clientv3: Replace endpoint.ParseHostPort with net.SplitHostPort to fix 
IPv6 client endpoints
+  * clientv3: Set authority used in cert checks to host of endpoint
+  * tests/e2e: fix metrics tests
+  * etcdctl: fix member add command
+  * scripts/build-binary: fix darwin tar commands
+  * scripts/release: fix SHA256SUMS command
+  * version: 3.4.1
+  * scripts/release: fix docker push command
+  * integration: fix bug in for loop, make it break properly
+  * embed: expose ZapLoggerBuilder
+  * vendor: upgrade to gRPC v1.23.1
+
+---

Old:

  etcd-3.3.15.tar.xz

New:

  etcd-3.4.3.tar.gz
  vendor.tar.gz



Other differences:
--
++ etcd-for-k8s-image.spec ++
--- /var/tmp/diff_new_pack.w1ydFZ/_old  2020-01-13 22:15:13.418342878 +0100
+++ /var/tmp/diff_new_pack.w1ydFZ/_new  2020-01-13 22:15:13.430342884 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package etcd-for-k8s-image
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,17 @@
 #
 
 
+%define project go.etcd.io/etcd
 Name:   etcd-for-k8s-image
-Version:3.3.15
+Version:3.4.3
 Release:0
 Summary:Etcd and etcdtl for k8s image
 License:Apache-2.0
 Group:  System/Management
-Url:https://github.com/coreos/etcd
-Source: etcd-%{version}.tar.xz
-BuildRequires:  go1.12 >= 1.12.9
+URL:https://github.com/etcd-io/etcd
+Source0:etcd-%{version}.tar.gz
+Source1:vendor.tar.gz
+BuildRequires:  go1.12 >= 1.12.12
 BuildRequires:  golang-packaging
 BuildRequires:  golang(API) = 1.12
 ExcludeArch:%ix86
@@ -41,11 +43,18 @@
 %setup -q -n etcd-%{version} 
 
 %build
-%{goprep} github.com/coreos/etcd
-%{gobuild} .
-%{gobuild} etcdctl
-mkdir bin
-mv ../go/bin/etcd* bin
+# Can't use goprep and gobuild macros due to the packagename and projectname 
confusing things
+export GOPATH=$HOME/go
+export PATH=$PATH:$GOPATH/bin
+rm -rf $HOME/go/src
+mkdir -pv $HOME/go/src/%{project}
+find . -mindepth 1 -maxdepth 1 -exec cp -r {} $HOME/go/src/%{project} \;
+
+cd $HOME/go/src/%{project}
+go build -v -buildmode=pie -o bin/etcd %{project}
+go build -v -buildmode=pie -o bin/etcdctl %{project}/etcdctl
+mkdir -p $HOME/rpmbuild/BUILD/etcd-%{version}/bin
+mv bin/etcd* $HOME/rpmbuild/BUILD/etcd-%{version}/bin
 
 %install
 mkdir -p %{buildroot}%{_bindir}




commit etcd-for-k8s-image for openSUSE:Factory

2019-10-23 Thread root
Hello community,

here is the log from the commit of package etcd-for-k8s-image for 
openSUSE:Factory checked in at 2019-10-23 15:47:58

Comparing /work/SRC/openSUSE:Factory/etcd-for-k8s-image (Old)
 and  /work/SRC/openSUSE:Factory/.etcd-for-k8s-image.new.2352 (New)


Package is "etcd-for-k8s-image"

Wed Oct 23 15:47:58 2019 rev:3 rq:736853 version:3.3.15

Changes:

--- /work/SRC/openSUSE:Factory/etcd-for-k8s-image/etcd-for-k8s-image.changes
2019-09-11 10:23:08.587490291 +0200
+++ 
/work/SRC/openSUSE:Factory/.etcd-for-k8s-image.new.2352/etcd-for-k8s-image.changes
  2019-10-23 15:47:59.330509018 +0200
@@ -1,0 +2,5 @@
+Thu Oct 10 10:40:22 UTC 2019 - Richard Brown 
+
+- Update to etcd 3.3.15 for k8s 1.16 
+
+---

Old:

  etcd-3.2.24.tar.xz
  etcd-3.3.10.tar.xz

New:

  etcd-3.3.15.tar.xz



Other differences:
--
++ etcd-for-k8s-image.spec ++
--- /var/tmp/diff_new_pack.9v9KnL/_old  2019-10-23 15:48:00.358510129 +0200
+++ /var/tmp/diff_new_pack.9v9KnL/_new  2019-10-23 15:48:00.358510129 +0200
@@ -17,16 +17,16 @@
 
 
 Name:   etcd-for-k8s-image
-Version:3.3.10
+Version:3.3.15
 Release:0
 Summary:Etcd and etcdtl for k8s image
 License:Apache-2.0
 Group:  System/Management
 Url:https://github.com/coreos/etcd
 Source: etcd-%{version}.tar.xz
-Source1:etcd-3.2.24.tar.xz
-BuildRequires:  go
+BuildRequires:  go1.12 >= 1.12.9
 BuildRequires:  golang-packaging
+BuildRequires:  golang(API) = 1.12
 ExcludeArch:%ix86
 ExcludeArch:s390
 Conflicts:  etcd
@@ -38,23 +38,15 @@
 etcdctl for the kubernetes container image.
 
 %prep
-%setup -q -n etcd-%{version} -b1
+%setup -q -n etcd-%{version} 
 
 %build
 %{goprep} github.com/coreos/etcd
-%{gobuild} cmd/etcd
-%{gobuild} cmd/etcdctl
+%{gobuild} .
+%{gobuild} etcdctl
 mkdir bin
 mv ../go/bin/etcd* bin
 
-#cd ../etcd-3.2.24
-#rm -rf ../go/*
-#%{goprep} github.com/coreos/etcd
-#%{gobuild} cmd/etcd
-#%{gobuild} cmd/etcdctl
-#mkdir bin
-#mv ../go/bin/etcd* bin
-
 %install
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_sbindir}
@@ -71,18 +63,12 @@
 chmod 755 %{buildroot}%{_sbindir}/etcd
 ln -sf etcdctl-%{version} %{buildroot}%{_bindir}/etcdctl
 
-#cd ../etcd-3.2.24
-#install -m 0755 bin/etcd %{buildroot}%{_sbindir}/etcd-3.2.24
-#install -m 0755 bin/etcdctl %{buildroot}%{_bindir}/etcdctl-3.2.24
-
 %files
 %defattr(-,root,root)
 %license LICENSE
 %{_sbindir}/etcd
 %{_sbindir}/etcd-%{version}
-#%{_sbindir}/etcd-3.2.24
 %{_bindir}/etcdctl
 %{_bindir}/etcdctl-%{version}
-#%{_bindir}/etcdctl-3.2.24
 
 %changelog

++ etcd-3.2.24.tar.xz -> etcd-3.3.15.tar.xz ++
 863734 lines of diff (skipped)




commit etcd-for-k8s-image for openSUSE:Factory

2019-09-11 Thread root
Hello community,

here is the log from the commit of package etcd-for-k8s-image for 
openSUSE:Factory checked in at 2019-09-11 10:23:07

Comparing /work/SRC/openSUSE:Factory/etcd-for-k8s-image (Old)
 and  /work/SRC/openSUSE:Factory/.etcd-for-k8s-image.new.7948 (New)


Package is "etcd-for-k8s-image"

Wed Sep 11 10:23:07 2019 rev:2 rq:728700 version:3.3.10

Changes:

--- /work/SRC/openSUSE:Factory/etcd-for-k8s-image/etcd-for-k8s-image.changes
2019-07-23 22:38:02.714963113 +0200
+++ 
/work/SRC/openSUSE:Factory/.etcd-for-k8s-image.new.7948/etcd-for-k8s-image.changes
  2019-09-11 10:23:08.587490291 +0200
@@ -1,0 +2,5 @@
+Fri Sep  6 08:46:07 CEST 2019 - ku...@suse.de
+
+- Add wrapper for etcd [bsc#1149392]
+
+---



Other differences:
--
++ etcd-for-k8s-image.spec ++
--- /var/tmp/diff_new_pack.ytYAyZ/_old  2019-09-11 10:23:09.155490220 +0200
+++ /var/tmp/diff_new_pack.ytYAyZ/_new  2019-09-11 10:23:09.159490220 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package etcd-for-k8s-image
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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,9 +12,10 @@
 # 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/
 #
 
+
 Name:   etcd-for-k8s-image
 Version:3.3.10
 Release:0
@@ -24,8 +25,8 @@
 Url:https://github.com/coreos/etcd
 Source: etcd-%{version}.tar.xz
 Source1:etcd-3.2.24.tar.xz
-BuildRequires:  golang-packaging
 BuildRequires: go
+BuildRequires:  golang-packaging
 ExcludeArch:%ix86
 ExcludeArch:s390
 Conflicts:  etcd
@@ -54,13 +55,20 @@
 #mkdir bin
 #mv ../go/bin/etcd* bin
 
-
 %install
 mkdir -p %{buildroot}%{_bindir}
 mkdir -p %{buildroot}%{_sbindir}
 install -m 0755 bin/etcd %{buildroot}%{_sbindir}/etcd-%{version}
 install -m 0755 bin/etcdctl %{buildroot}%{_bindir}/etcdctl-%{version}
-ln -sf etcd-%{version} %{buildroot}%{_sbindir}/etcd
+#ln -sf etcd-%{version} %{buildroot}%{_sbindir}/etcd
+# we need a wrapper script to be able to set some environment
+# variables.
+echo "#!/bin/bash" > %{buildroot}%{_sbindir}/etcd
+%ifarch aarch64
+echo "export ETCD_UNSUPPORTED_ARCH=arm64" >> %{buildroot}%{_sbindir}/etcd
+%endif
+echo "exec %{_sbindir}/etcd-%{version} \"\$@\"" >> %{buildroot}%{_sbindir}/etcd
+chmod 755 %{buildroot}%{_sbindir}/etcd
 ln -sf etcdctl-%{version} %{buildroot}%{_bindir}/etcdctl
 
 #cd ../etcd-3.2.24