Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 15:40:31 +0000 (UTC)
From:      Ben Woods <woodsb02@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454572 - in head: . sysutils/zrepl sysutils/zrepl/files
Message-ID:  <201711201540.vAKFeVMo029639@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: woodsb02
Date: Mon Nov 20 15:40:31 2017
New Revision: 454572
URL: https://svnweb.freebsd.org/changeset/ports/454572

Log:
  sysutils/zrepl: Update to 0.0.2
  
  - Include UPDATING message about breaking changes in zrepl.yml
  - Update dependencies to match Gopkg.lock changes [1]
  - Take maintainership, approves by lifanov via email previously
  
    [1] https://github.com/zrepl/zrepl/compare/0.0.1...0.0.2#files_bucket
  
  Approved by:	lifanov (maintainer)
  Differential Revision:	https://reviews.freebsd.org/D13163

Modified:
  head/UPDATING
  head/sysutils/zrepl/Makefile
  head/sysutils/zrepl/distinfo
  head/sysutils/zrepl/files/zrepl.yml.sample

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Mon Nov 20 14:55:31 2017	(r454571)
+++ head/UPDATING	Mon Nov 20 15:40:31 2017	(r454572)
@@ -5,6 +5,19 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20171119:
+  AFFECTS: users of sysutils/zrepl
+  AUTHOR: woodsb02@FreeBSD.org
+
+  Zrepl has been updated to 0.0.2, which introduces two changes that will
+  require existing users to change their zrepl.yml config file:
+    - global.logging is no longer a dictionary but a list.
+      Refer to the new format here: https://zrepl.github.io/configuration/logging.html
+    - source job field datasets renamed to filesystems.
+      Refer to the new format here: https://zrepl.github.io/configuration/jobs.html
+
+    https://zrepl.github.io/changelog.html#id1
+
 20171117:
   AFFECTS: users of sysutils/terraform
   AUTHOR: lifanov@FreeBSD.org

Modified: head/sysutils/zrepl/Makefile
==============================================================================
--- head/sysutils/zrepl/Makefile	Mon Nov 20 14:55:31 2017	(r454571)
+++ head/sysutils/zrepl/Makefile	Mon Nov 20 15:40:31 2017	(r454572)
@@ -2,11 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	zrepl
-PORTVERSION=	0.0.1
-PORTREVISION=	1
+PORTVERSION=	0.0.2
 CATEGORIES=	sysutils
 
-MAINTAINER=	lifanov@FreeBSD.org
+MAINTAINER=	woodsb02@FreeBSD.org
 COMMENT=	ZFS dataset replication tool
 
 LICENSE=	MIT
@@ -19,29 +18,19 @@ SUB_FILES=	pkg-message
 USE_GITHUB=	yes
 GH_SUBDIR=	src/github.com/zrepl/zrepl
 GH_TUPLE=	davecgh:go-spew:v1.1.0:go_spew/src/github.com/davecgh/go-spew \
-		fsnotify:fsnotify:v1.4.2:fsnotify/src/github.com/fsnotify/fsnotify \
 		ftrvxmtrx:fd:c6d8003:fd/src/github.com/ftrvxmtrx/fd \
 		go-logfmt:logfmt:v0.3.0:go_logfmt/src/github.com/go-logfmt/logfmt \
 		go-yaml:yaml:eb3733d:go_yaml/src/github.com/go-yaml/yaml \
-		hashicorp:hcl:68e816d:hcl/src/github.com/hashicorp/hcl \
 		inconshreveable:mousetrap:v1.0:mousetrap/src/github.com/inconshreveable/mousetrap \
 		jinzhu:copier:db4671f:copier/src/github.com/jinzhu/copier \
 		kr:logfmt:b84e30a:logfmt/src/github.com/kr/logfmt \
 		kr:pretty:cfb55aa:pretty/src/github.com/kr/pretty \
 		kr:text:7cafcd8:text/src/github.com/kr/text \
-		magiconair:properties:v1.7.3:properties/src/github.com/magiconair/properties \
-		mitchellh:go-homedir:b8bc1bf:go_homedir/src/github.com/mitchellh/go-homedir \
 		mitchellh:mapstructure:d0303fe:mapstructure/src/github.com/mitchellh/mapstructure \
-		pelletier:go-buffruneio:v0.2.0:go_buffruneio/src/github.com/pelletier/go-buffruneio \
-		pelletier:go-toml:v1.0.0:go_toml/src/github.com/pelletier/go-toml \
 		pkg:errors:v0.8.0:errors/src/github.com/pkg/errors \
 		pmezard:go-difflib:v1.0.0:go_difflib/src/github.com/pmezard/go-difflib \
-		spf13:afero:ee1bd8e:afero/src/github.com/spf13/afero \
-		spf13:cast:v1.1.0:cast/src/github.com/spf13/cast \
 		spf13:cobra:b787445:cobra/src/github.com/spf13/cobra \
-		spf13:jWalterWeatherman:12bd96e:jwalterweatherman/src/github.com/spf13/jwalterweatherman \
 		spf13:pflag:v1.0.0:pflag/src/github.com/spf13/pflag \
-		spf13:viper:v1.0.0:viper/src/github.com/spf13/viper \
 		stretchr:testify:v1.1.4:testify/src/github.com/stretchr/testify
 
 GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}

Modified: head/sysutils/zrepl/distinfo
==============================================================================
--- head/sysutils/zrepl/distinfo	Mon Nov 20 14:55:31 2017	(r454571)
+++ head/sysutils/zrepl/distinfo	Mon Nov 20 15:40:31 2017	(r454572)
@@ -1,18 +1,14 @@
-TIMESTAMP = 1506825154
-SHA256 (zrepl-zrepl-0.0.1_GH0.tar.gz) = 33bc044745a22d9b4e4e8a7196668a0c414b1448205600a1d18b0a0102cebe29
-SIZE (zrepl-zrepl-0.0.1_GH0.tar.gz) = 65120
+TIMESTAMP = 1511084159
+SHA256 (zrepl-zrepl-0.0.2_GH0.tar.gz) = cede29c17631c1fdd527829f3f5d0ebc09c66cf99d5d161d04e4793dd35eca77
+SIZE (zrepl-zrepl-0.0.2_GH0.tar.gz) = 79142
 SHA256 (davecgh-go-spew-v1.1.0_GH0.tar.gz) = 1f7e0bd2db0341925b5f2ee5834e99380f4c2b1bd36cf0fa62d7717899d39d62
 SIZE (davecgh-go-spew-v1.1.0_GH0.tar.gz) = 42337
-SHA256 (fsnotify-fsnotify-v1.4.2_GH0.tar.gz) = 4a1fd9beeb0496b9cf6084ac83654ece19188e9b2ffa041652d1071d4b225415
-SIZE (fsnotify-fsnotify-v1.4.2_GH0.tar.gz) = 29552
 SHA256 (ftrvxmtrx-fd-c6d8003_GH0.tar.gz) = cc6ff072f220c819fffde3b35edeba0183c827e8ff76f221acb6a6d71d257e90
 SIZE (ftrvxmtrx-fd-c6d8003_GH0.tar.gz) = 3283
 SHA256 (go-logfmt-logfmt-v0.3.0_GH0.tar.gz) = 74a958064177fc33cc66c60ae118f95faf9f986bcab0465c47f40d8cad978fce
 SIZE (go-logfmt-logfmt-v0.3.0_GH0.tar.gz) = 11546
 SHA256 (go-yaml-yaml-eb3733d_GH0.tar.gz) = d2ae44f0e31f3a13a1b89a55ceaabcbab4d588d41951fd2243739b60b10146bb
 SIZE (go-yaml-yaml-eb3733d_GH0.tar.gz) = 64686
-SHA256 (hashicorp-hcl-68e816d_GH0.tar.gz) = 288631e25ed9624a73ccd66b198f272fb50cc047d1705c22b3c42d3933e192dc
-SIZE (hashicorp-hcl-68e816d_GH0.tar.gz) = 69764
 SHA256 (inconshreveable-mousetrap-v1.0_GH0.tar.gz) = a4d93289b6c62780bf78f221febe9e45dc3095f382336a166734ed294007ff1b
 SIZE (inconshreveable-mousetrap-v1.0_GH0.tar.gz) = 2288
 SHA256 (jinzhu-copier-db4671f_GH0.tar.gz) = 3ae429e4a775545174f89591605f2775e3d52d9942ef1619019c84dfec65552f
@@ -23,31 +19,15 @@ SHA256 (kr-pretty-cfb55aa_GH0.tar.gz) = 5c8e2093298c75
 SIZE (kr-pretty-cfb55aa_GH0.tar.gz) = 8499
 SHA256 (kr-text-7cafcd8_GH0.tar.gz) = 218bd56a3927283e4c9232b4ee15e0fcc989ace72a2a0be14863ce3795ad3c90
 SIZE (kr-text-7cafcd8_GH0.tar.gz) = 8584
-SHA256 (magiconair-properties-v1.7.3_GH0.tar.gz) = 984fdc5c5d303e4c85975e3a8e15ac7217f48998c262388b21dbceb94010b1a8
-SIZE (magiconair-properties-v1.7.3_GH0.tar.gz) = 27512
-SHA256 (mitchellh-go-homedir-b8bc1bf_GH0.tar.gz) = 4baa24d61eab2da480d6f11d1d6f2a1cb7601f7b634af2ad5a978c95452150b9
-SIZE (mitchellh-go-homedir-b8bc1bf_GH0.tar.gz) = 2993
 SHA256 (mitchellh-mapstructure-d0303fe_GH0.tar.gz) = 30e7697b7e321d8f14bff5f19b789cd38fd277518aae251c370ea53ddb53d1f7
 SIZE (mitchellh-mapstructure-d0303fe_GH0.tar.gz) = 15560
-SHA256 (pelletier-go-buffruneio-v0.2.0_GH0.tar.gz) = 2a838bbc3240d323549c9e6820cbf66199296d2706e72697685ee9576affd49f
-SIZE (pelletier-go-buffruneio-v0.2.0_GH0.tar.gz) = 3028
-SHA256 (pelletier-go-toml-v1.0.0_GH0.tar.gz) = 068455531f9a8cb9cad590d2d9a02bc25180737868de640849d85a5b99a0ce37
-SIZE (pelletier-go-toml-v1.0.0_GH0.tar.gz) = 47009
 SHA256 (pkg-errors-v0.8.0_GH0.tar.gz) = bacf6c58e490911398cee61742ddc6a90c560733e4c9dcb3d867b17a894c9dd5
 SIZE (pkg-errors-v0.8.0_GH0.tar.gz) = 11344
 SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
 SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
-SHA256 (spf13-afero-ee1bd8e_GH0.tar.gz) = 17fd67e75e894ac0dd8742aab75ab8937a5f95716e433c6e5af59a34669f5b3c
-SIZE (spf13-afero-ee1bd8e_GH0.tar.gz) = 42558
-SHA256 (spf13-cast-v1.1.0_GH0.tar.gz) = 2758eb969dd8707c0ff165fda4191fd8811e19b0c5d29d3dced0fba1b4410ad4
-SIZE (spf13-cast-v1.1.0_GH0.tar.gz) = 9592
 SHA256 (spf13-cobra-b787445_GH0.tar.gz) = 2923b91766a9e68a22f81d3b46768dad963fd4ae3f6a5b2e137e2a7b87b37276
 SIZE (spf13-cobra-b787445_GH0.tar.gz) = 99833
-SHA256 (spf13-jWalterWeatherman-12bd96e_GH0.tar.gz) = 58740d954bd3cb9c3f3e34581a62403d8d32bab3491422276bc2b1c339f6ec85
-SIZE (spf13-jWalterWeatherman-12bd96e_GH0.tar.gz) = 6342
 SHA256 (spf13-pflag-v1.0.0_GH0.tar.gz) = 690b86ae5499fad84ada4644c85215d66d56f31934683e8543f4c57c5048e011
 SIZE (spf13-pflag-v1.0.0_GH0.tar.gz) = 38988
-SHA256 (spf13-viper-v1.0.0_GH0.tar.gz) = 50c1c336095ce0e7edf414c25f80f3f01b65457b092752252f2c47af85c8c99e
-SIZE (spf13-viper-v1.0.0_GH0.tar.gz) = 30804
 SHA256 (stretchr-testify-v1.1.4_GH0.tar.gz) = f7a244ad38ee484296e8969356209e0d9fb35bd790f69fc5e7758b4e2a9e1874
 SIZE (stretchr-testify-v1.1.4_GH0.tar.gz) = 83325

Modified: head/sysutils/zrepl/files/zrepl.yml.sample
==============================================================================
--- head/sysutils/zrepl/files/zrepl.yml.sample	Mon Nov 20 14:55:31 2017	(r454571)
+++ head/sysutils/zrepl/files/zrepl.yml.sample	Mon Nov 20 15:40:31 2017	(r454572)
@@ -5,8 +5,11 @@
 #
 global:
   logging:
-    syslog:
-      enable: true
-      format: logfmt
+    - outlet: "stdout"
+      level:  "error"
+      format: "human"
+    - outlet: "syslog"
+      level:  "info"
+      format: "logfmt"
 
 # Add "jobs:" section(s) here for your specific use cases.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711201540.vAKFeVMo029639>