From c75de21013ae12f83cb34088fde833bfe3236182 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jul 08 2019 21:36:05 +0000 Subject: Renamed to golang-github-mesos --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 925d6d3..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/mesos-go-83b52d7.tar.gz -/mesos-go-0.0.9.tar.gz diff --git a/0001-Use-logging-with-formatting-when-argument-is-passed.patch b/0001-Use-logging-with-formatting-when-argument-is-passed.patch deleted file mode 100644 index 3932fb8..0000000 --- a/0001-Use-logging-with-formatting-when-argument-is-passed.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 27ab1bc7a0ead8f5fb405122c78a085ab44616a7 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= -Date: Fri, 17 May 2019 20:00:26 +0200 -Subject: [PATCH] Use logging with formatting when argument is passed -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Robert-André Mauchin ---- - api/v0/executor/executor.go | 4 ++-- - api/v0/scheduler/scheduler.go | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/api/v0/executor/executor.go b/api/v0/executor/executor.go -index f2b0d62..1f1f92d 100644 ---- a/api/v0/executor/executor.go -+++ b/api/v0/executor/executor.go -@@ -292,7 +292,7 @@ func (driver *MesosExecutorDriver) recoveryTimedOut(connection string) { - } - // ensure that connection ID's match otherwise we've been re-registered - if connection == driver.connection.String() { -- log.Info("recovery timeout of %v exceeded; shutting down", driver.recoveryTimeout) -+ log.Infof("recovery timeout of %v exceeded; shutting down", driver.recoveryTimeout) - driver.shutdown(driver.context(), nil, nil) - } - } -@@ -743,7 +743,7 @@ func (driver *MesosExecutorDriver) sendFrameworkMessage(data string) (mesosproto - - // Send the message. - if err := driver.send(driver.context(), driver.slaveUPID, message); err != nil { -- log.Errorln("Failed to send message %v: %v", message, err) -+ log.Errorf("Failed to send message %v: %v", message, err) - return driver.status, err - } - return driver.status, nil -diff --git a/api/v0/scheduler/scheduler.go b/api/v0/scheduler/scheduler.go -index d8a44ca..0c7e7ac 100644 ---- a/api/v0/scheduler/scheduler.go -+++ b/api/v0/scheduler/scheduler.go -@@ -760,7 +760,7 @@ func (driver *MesosSchedulerDriver) exitedExecutor(_ context.Context, from *upid - return - } - status := msg.GetStatus() -- log.V(2).Infoln("Lost executor %q from slave %q for framework %q with status %d", -+ log.V(2).Infof("Lost executor %q from slave %q for framework %q with status %d", - msg.GetExecutorId().GetValue(), - msg.GetSlaveId().GetValue(), - msg.GetFrameworkId().GetValue(), --- -2.21.0 - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..04086b9 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Renamed to golang-github-mesos diff --git a/golang-github-mesos.spec b/golang-github-mesos.spec deleted file mode 100644 index d3933b9..0000000 --- a/golang-github-mesos.spec +++ /dev/null @@ -1,115 +0,0 @@ -# Generated by go2rpm -%bcond_without check - -# https://github.com/mesos/mesos-go -%global goipath github.com/mesos/mesos-go -Version: 0.0.9 - -%gometa - -%global common_description %{expand: -Pure Go language bindings for Apache Mesos, under development. As with other -pure implementations, mesos-go uses the HTTP wire protocol to communicate -directly with a running Mesos master and its slave instances. One of the -objectives of this project is to provide an idiomatic Go API that makes it super -easy to create Mesos frameworks using Go.} - -%global golicenses LICENSE NOTICE -%global godocs CONTRIBUTING.md DESIGN.md README.md CHANGELOG\\\ - examples - -Name: %{goname} -Release: 1%{?dist} -Summary: Go language bindings for Apache Mesos - -# Upstream license specification: BSD-3-Clause and Apache-2.0 and MIT -License: BSD and ASL 2.0 and MIT -URL: %{gourl} -Source0: %{gosource} -# Fix error with logging -Patch0: 0001-Use-logging-with-formatting-when-argument-is-passed.patch - -BuildRequires: golang(github.com/gogo/protobuf/gogoproto) -BuildRequires: golang(github.com/gogo/protobuf/proto) -BuildRequires: golang(github.com/golang/glog) -BuildRequires: golang(github.com/pborman/uuid) -BuildRequires: golang(github.com/pquerna/ffjson/fflib/v1) -BuildRequires: golang(github.com/prometheus/client_golang/prometheus) -BuildRequires: golang(github.com/samuel/go-zookeeper/zk) -BuildRequires: golang(github.com/stretchr/testify/assert) -BuildRequires: golang(github.com/stretchr/testify/mock) -BuildRequires: golang(golang.org/x/net/context) - -%if %{with check} -# Tests -BuildRequires: golang(github.com/gogo/protobuf/jsonpb) -%endif - -%description -%{common_description} - -%gopkg - -%prep -%goprep -%patch0 -p1 - -%install -%gopkginstall - -%if %{with check} -%check -%gocheck -%endif - -%gopkgfiles - -%changelog -* Fri May 17 18:49:44 CEST 2019 Robert-André Mauchin - 0.0.9-1 -- Release 0.0.9 - -* Fri Feb 01 2019 Fedora Release Engineering - 0-0.14.20150708git83b52d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Tue Oct 23 2018 Nicolas Mailhot - 0-0.13.20150708git83b52d7 -- redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias -- https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ - -* Fri Jul 13 2018 Fedora Release Engineering - 0-0.12.20150708git83b52d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Mar 01 2018 Jan Chaloupka - 0-0.11.20150708git83b52d7 -- Autogenerate some parts using the new macros - -* Wed Feb 07 2018 Fedora Release Engineering - 0-0.10.git83b52d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 0-0.9.git83b52d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0-0.8.git83b52d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0-0.7.git83b52d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Jul 21 2016 Fedora Release Engineering - 0-0.6.git83b52d7 -- https://fedoraproject.org/wiki/Changes/golang1.7 - -* Mon Feb 22 2016 Fedora Release Engineering - 0-0.5.git83b52d7 -- https://fedoraproject.org/wiki/Changes/golang1.6 - -* Wed Feb 03 2016 Fedora Release Engineering - 0-0.4.git83b52d7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Sep 12 2015 jchaloup - 0-0.3.git83b52d7 -- Update to spec-2.1 - related: #1250493 - -* Mon Aug 24 2015 jchaloup - 0-0.2.git83b52d7 -- Update ifarch for secondary architectures - resolves: #1250493 - -* Tue Jul 28 2015 jchaloup - 0-0.1.git83b52d7 -- First package for Fedora - resolves: #1246740 diff --git a/sources b/sources deleted file mode 100644 index 206ac42..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (mesos-go-0.0.9.tar.gz) = 155b80b8c18512867595431b89696d7a3eb50fd05d3059334e389e65540e0727bf95644d7adb342b718902b4a335fd510da9f4bcfb4bca70ee0013d3fd014838