Bug#793749: ITP: telegraf -- plugin-driven server agent for reporting metrics into InfluxDB

2016-12-21 Thread Guillem Jover
Hey!

On Mon, 2016-10-17 at 23:47:23 +0200, Guillem Jover wrote:
> On Sun, 2015-07-26 at 23:32:17 -0400, Alexandre Viau wrote:
> > Package: wnpp
> > Severity: wishlist
> 
> > * Package name: telegraf
> >   Upstream Author : InfluxDB inc.
> > * URL : https://github.com/influxdb/telegraf
> > * License : Expat
> >   Programming Lang: Go

> Ok, all necessary parts have either bugs filed against existing packages
> in Debian, or RFP filed with packaging patches. And are blocking this
> bug.

I've now updated against the upstream 1.1.2, plus some packaging
cleanups and fixes. Filed additional RFPs needed (marked also as
blocking) or got required dependencies in Debian updated.

> Attached is a working and tested packaging delta against
> . The
> missing part is updating that repo to version 1.0.1, which is the
> latest upstream release, and what I've been working against. Please
> let me know if something smells fishy.

Same situation but against 1.1.2.

Thanks,
Guillem
From 2708ecc851abe62e482c98115a20e8d370a8 Mon Sep 17 00:00:00 2001
From: Guillem Jover 
Date: Mon, 17 Oct 2016 23:32:53 +0200
Subject: [PATCH] Update packaging to 1.1.2

---
 debian/.gitignore  |7 +
 debian/changelog   |   37 +-
 debian/control |  102 +-
 debian/copyright   |   11 +-
 .../excise-unavailable-plugins-in-debian.patch |   98 ++
 debian/patches/series  |3 +
 debian/patches/testsuite-no-network.patch  |   23 +
 debian/patches/use-licenseful-module.patch |   26 +
 debian/rules   |   39 +-
 debian/telegraf-dev.install|1 +
 debian/telegraf.conf   | 1456 
 debian/telegraf.dirs   |3 +
 debian/telegraf.init   |  121 ++
 debian/telegraf.install|2 +
 debian/telegraf.lintian-overrides  |3 +
 debian/telegraf.logrotate  |   10 +
 debian/telegraf.postinst   |   42 +
 debian/telegraf.postrm |   28 +
 18 files changed, 1979 insertions(+), 33 deletions(-)
 create mode 100644 debian/.gitignore
 create mode 100644 debian/patches/excise-unavailable-plugins-in-debian.patch
 create mode 100644 debian/patches/series
 create mode 100644 debian/patches/testsuite-no-network.patch
 create mode 100644 debian/patches/use-licenseful-module.patch
 create mode 100644 debian/telegraf-dev.install
 create mode 100644 debian/telegraf.conf
 create mode 100644 debian/telegraf.dirs
 create mode 100755 debian/telegraf.init
 create mode 100644 debian/telegraf.install
 create mode 100644 debian/telegraf.lintian-overrides
 create mode 100644 debian/telegraf.logrotate
 create mode 100644 debian/telegraf.postinst
 create mode 100644 debian/telegraf.postrm

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index ..30f7739e
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,7 @@
+*.debhelper
+*.substvars
+*.log
+files
+tmp
+telegraf
+telegraf-dev
diff --git a/debian/changelog b/debian/changelog
index 24cf6077..92acea85 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,38 @@
-telegraf (0.1.8~dfsg1-1) UNRELEASED; urgency=low
+telegraf (1.1.2-0.1) UNRELEASED; urgency=low
 
-  * Initial release. (Closes: #XX)
+  [ Alexandre Viau ]
+  * Initial release. (Closes: #793749)
+
+  [ Guillem Jover ]
+  * New upstream release 1.1.2.
+- Update Build-Depends and telegraf-dev Depends.
+  * Fix SNMP plugin to build and pass the test suite.
+  * Fix test suite to avoid a flaky test.
+  * Run test suite in short mode, to skip tests that require running services.
+  * Use the github.com/kballard/go-shellquote module instead of
+github.com/gonuts/go-shellquote, which has no license as is not in Debian.
+  * Use dpkg Makefile fragments to get the upstream version, and set
+main.version with it.
+  * Use current import path, and switch from DH_GOPKG to XS-Go-Import-Path.
+  * Wrap and sort (-ast) debian/control fields.
+  * Add a Built-Using field to the telegraf binary.
+  * Change the Architecture field for telegraf from all to any.
+  * Set the builddirectory to build.
+  * Set DH_GOLANG_INSTALL_EXTRA to the list of required testdata files.
+  * Set DH_GOLANG_EXCLUDES to the plugins that pull dependencies not present
+in Debian, and that are peripheral. And disable those plugins from the
+code with a patch. They can be re-enabled once the dependencies get
+packaged in Debian.
+  * Use https in the debian/copyright Format field.
+  * Install a default telegraf configuration file.
+  * Install a logrotate file for telegraf.
+  * Create 

Bug#793749: ITP: telegraf -- plugin-driven server agent for reporting metrics into InfluxDB

2016-10-25 Thread Guillem Jover
Hi!

On Mon, 2016-10-17 at 23:47:23 +0200, Guillem Jover wrote:
> On Sun, 2015-07-26 at 23:32:17 -0400, Alexandre Viau wrote:
> > Package: wnpp
> > Severity: wishlist
> 
> > * Package name: telegraf
> >   Upstream Author : InfluxDB inc.
> > * URL : https://github.com/influxdb/telegraf
> > * License : Expat
> >   Programming Lang: Go
> 
> Ok, all necessary parts have either bugs filed against existing packages
> in Debian, or RFP filed with packaging patches. And are blocking this
> bug.
> 
> Attached is a working and tested packaging delta against
> . The
> missing part is updating that repo to version 1.0.1, which is the
> latest upstream release, and what I've been working against. Please
> let me know if something smells fishy.

Attached an updated patch, that trims the delta with usptream. And
fixes some minor issues.

> For the patches needed for telegraf, I'll be submitting them upstream,
> but only once I've internally cleared the situation with the CLA.

I've started doing this now.

Thanks,
Guillem


0001-Update-packaging-to-1.0.1.patch.xz
Description: application/xz


Bug#793749: ITP: telegraf -- plugin-driven server agent for reporting metrics into InfluxDB

2016-10-17 Thread Guillem Jover
Control: tags -1 patch

Hi!

On Sun, 2015-07-26 at 23:32:17 -0400, Alexandre Viau wrote:
> Package: wnpp
> Severity: wishlist

> * Package name: telegraf
>   Upstream Author : InfluxDB inc.
> * URL : https://github.com/influxdb/telegraf
> * License : Expat
>   Programming Lang: Go

Ok, all necessary parts have either bugs filed against existing packages
in Debian, or RFP filed with packaging patches. And are blocking this
bug.

Attached is a working and tested packaging delta against
. The
missing part is updating that repo to version 1.0.1, which is the
latest upstream release, and what I've been working against. Please
let me know if something smells fishy.

For the patches needed for telegraf, I'll be submitting them upstream,
but only once I've internally cleared the situation with the CLA.

Thanks,
Guillem
From cc6f2ab1a4f25530c46418edfb3eb79de2c67ce9 Mon Sep 17 00:00:00 2001
From: Guillem Jover 
Date: Mon, 17 Oct 2016 23:32:53 +0200
Subject: [PATCH] Update packaging to 1.0.1

---
 debian/.gitignore   |7 +
 debian/changelog|   35 +-
 debian/control  |   98 +-
 debian/copyright|   11 +-
 debian/patches/excise-unavailable-plugins.patch |   97 ++
 debian/patches/fix-snmp-plugin.patch|   33 +
 debian/patches/series   |4 +
 debian/patches/testsuite-no-network.patch   |  412 +++
 debian/patches/use-licenseful-module.patch  |   22 +
 debian/rules|   33 +-
 debian/telegraf-dev.install |1 +
 debian/telegraf.conf| 1456 +++
 debian/telegraf.dirs|3 +
 debian/telegraf.init|  121 ++
 debian/telegraf.install |2 +
 debian/telegraf.lintian-overrides   |3 +
 debian/telegraf.logrotate   |   10 +
 debian/telegraf.postinst|   42 +
 debian/telegraf.postrm  |   28 +
 19 files changed, 2387 insertions(+), 31 deletions(-)
 create mode 100644 debian/.gitignore
 create mode 100644 debian/patches/excise-unavailable-plugins.patch
 create mode 100644 debian/patches/fix-snmp-plugin.patch
 create mode 100644 debian/patches/series
 create mode 100644 debian/patches/testsuite-no-network.patch
 create mode 100644 debian/patches/use-licenseful-module.patch
 create mode 100644 debian/telegraf-dev.install
 create mode 100644 debian/telegraf.conf
 create mode 100644 debian/telegraf.dirs
 create mode 100755 debian/telegraf.init
 create mode 100644 debian/telegraf.install
 create mode 100644 debian/telegraf.lintian-overrides
 create mode 100644 debian/telegraf.logrotate
 create mode 100644 debian/telegraf.postinst
 create mode 100644 debian/telegraf.postrm

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 000..30f7739
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,7 @@
+*.debhelper
+*.substvars
+*.log
+files
+tmp
+telegraf
+telegraf-dev
diff --git a/debian/changelog b/debian/changelog
index f7377c4..dff214e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,38 @@
-telegraf (0.1.8~dfsg1-1) UNRELEASED; urgency=low
+telegraf (1.0.1-1) UNRELEASED; urgency=low
 
+  [ Alexandre Viau ]
   * Initial release. (Closes: #793749)
 
+  [ Guillem Jover ]
+  * New upstream release 1.0.1.
+- Update Build-Depends and telegraf-dev Depends.
+  * Fix SNMP plugin to build and pass the test suite.
+  * Fix test suite to avoid a flaky test, and to not assume service daemons
+are running by keying on a new environment variable TELEGRAF_SERVERS_TEST,
+which we do not set.
+  * Use the github.com/kballard/go-shellquote module instead of
+github.com/gonuts/go-shellquote, which has no license as is not in Debian.
+  * Use dpkg Makefile fragments to get the upstream version, and set
+main.version with it.
+  * Use current import path, and switch from DH_GOPKG to XS-Go-Import-Path.
+  * Wrap and sort (-ast) debian/control fields.
+  * Add a Built-Using field to the telegraf binary.
+  * Change the Architecture field for telegraf from all to any.
+  * Set the builddirectory to build.
+  * Set DH_GOLANG_INSTALL_EXTRA to the list of required testdata files.
+  * Set DH_GOLANG_EXCLUDES to the plugins that pull dependencies not present
+in Debian, and that are peripheral. And disable those plugins from the
+code with a patch. They can be re-enabled once the dependencies get
+packaged in Debian.
+  * Use https in the debian/copyright Format field.
+  * Install a default telegraf configuration file.
+  * Install a logrotate file for telegraf.
+  * Create postinst and prerm maintaner scripts to handle creation of user,
+groups and set 

Processed: Re: Bug#793749: ITP: telegraf -- plugin-driven server agent for reporting metrics into InfluxDB

2016-10-17 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 patch
Bug #793749 [wnpp] ITP: telegraf -- plugin-driven server agent for reporting 
metrics into InfluxDB
Added tag(s) patch.

-- 
793749: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793749
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#793749: ITP: telegraf -- plugin-driven server agent for reporting metrics into InfluxDB

2015-07-26 Thread Alexandre Viau
Package: wnpp
Severity: wishlist

* Package name: telegraf
  Upstream Author : InfluxDB inc.
* URL : https://github.com/influxdb/telegraf
* License : Expat
  Programming Lang: Go
  Description :  Telegraf is an agent written in Go for collecting
metrics from the system
  it's running on or from other services and
writing them into InfluxDB.
  Design goals are to have a minimal memory
footprint with a plugin system
  so that developers in the community can
easily add support for collecting
  metrics from well known services (like
Hadoop, or Postgres, or Redis) and
  third party APIs (like Mailchimp, AWS
CloudWatch, or Google Analytics).


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cal6amnbtzeuccuchq+apw_udhjzqq560irle3i6amku3da9...@mail.gmail.com