Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2024 10:47:47 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6f177e2e519f - main - textproc/vale: Update version 2.30.0=>3.4.1
Message-ID:  <202404231047.43NAllCH060498@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6f177e2e519ff746d81fd5b19e1f5a6173ae9606

commit 6f177e2e519ff746d81fd5b19e1f5a6173ae9606
Author:     Stefan Esser <se@FreeBSD.org>
AuthorDate: 2024-04-23 10:43:31 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-04-23 10:47:22 +0000

    textproc/vale: Update version 2.30.0=>3.4.1
    
    There are breaking changes with this update. Please read the release note
    here on how to update the config directory.
    
    https://github.com/errata-ai/vale/releases/tag/v3.0.0
    
    Changelog: https://github.com/errata-ai/vale/releases/tag/v3.4.1
---
 UPDATING                  |  7 +++++++
 textproc/vale/Makefile    |  5 ++---
 textproc/vale/distinfo    | 10 +++++-----
 textproc/vale/pkg-message | 13 +++++++++++++
 4 files changed, 27 insertions(+), 8 deletions(-)

diff --git a/UPDATING b/UPDATING
index 3427ae1274a3..7bb37d83614f 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,13 @@ 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.
 
+20240423:
+  AFFECTS: textproc/vale
+  AUTHOR: bofh@FreeBSD.org
+
+  When upgrading to v3.0.0, the vocabularies need to be moved from
+  $StylesPath/Vocab to $StylesPath/config/vocabularies.
+
 20240421:
   AFFECTS: www/gitlab-ce
   AUTHOR: mfechner@FreeBSD.org
diff --git a/textproc/vale/Makefile b/textproc/vale/Makefile
index b9a4b3561705..fa7608f051ef 100644
--- a/textproc/vale/Makefile
+++ b/textproc/vale/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	vale
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.30.0
-PORTREVISION=	3
+DISTVERSION=	3.4.1
 CATEGORIES=	textproc
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -14,7 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		go:modules
 
 GO_BUILDFLAGS+=	-ldflags="-s -w -X main.Version=${DISTVERSION}"
-GO_MODULE=	github.com/errata-ai/${PORTNAME}/v2
+GO_MODULE=	github.com/errata-ai/${PORTNAME}/v3
 GO_TARGET=	./cmd/vale
 
 PLIST_FILES=	bin/vale
diff --git a/textproc/vale/distinfo b/textproc/vale/distinfo
index c2237065f2ce..3fce2b4b7f45 100644
--- a/textproc/vale/distinfo
+++ b/textproc/vale/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1701923982
-SHA256 (go/textproc_vale/vale-v2.30.0/v2.30.0.mod) = 36466a6cc527e43fa73bd758db854599ade0ac8b615459a673ab6fe764b6f556
-SIZE (go/textproc_vale/vale-v2.30.0/v2.30.0.mod) = 2356
-SHA256 (go/textproc_vale/vale-v2.30.0/v2.30.0.zip) = 999bb3e05b882a56feb8a94af0edc0758221b4d9352a6794a34b0a88feddf2b5
-SIZE (go/textproc_vale/vale-v2.30.0/v2.30.0.zip) = 10053755
+TIMESTAMP = 1713868759
+SHA256 (go/textproc_vale/vale-v3.4.1/v3.4.1.mod) = d579ee9413f0190d6d4ac118e2c5c2abb8ae4238189b0e59d3cb18b0291d3bb6
+SIZE (go/textproc_vale/vale-v3.4.1/v3.4.1.mod) = 2546
+SHA256 (go/textproc_vale/vale-v3.4.1/v3.4.1.zip) = 93ffae1aa8306bcb928aea57804b901a2cc192c1e32fa2449c0c899946ebfa95
+SIZE (go/textproc_vale/vale-v3.4.1/v3.4.1.zip) = 10943426
diff --git a/textproc/vale/pkg-message b/textproc/vale/pkg-message
new file mode 100644
index 000000000000..bf3688ef6ca2
--- /dev/null
+++ b/textproc/vale/pkg-message
@@ -0,0 +1,13 @@
+[
+{
+   type: upgrade
+    maximum_version: 3.0.0
+	 message: <<EOM
+	 When upgrading from version 2.x to 3.x, you'll need to move your
+	 vocabularies
+	 from $StylesPath/Vocab to $StylesPath/config/vocabularies.
+	 See the "vale ls-dirs" command for the location of $StylesPath on your
+	 system.
+	 EOM
+}
+]



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