* [PR PATCH] vale update, style packages
@ 2020-12-16 17:44 paper42
2020-12-16 20:33 ` SolitudeSF
` (17 more replies)
0 siblings, 18 replies; 19+ messages in thread
From: paper42 @ 2020-12-16 17:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
There is a new pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages vale-update
https://github.com/void-linux/void-packages/pull/27201
vale update, style packages
ping @SolitudeSF
it does not build without this line, but I didn't find a better way to do it
```
go_import_path="."
```
A patch file from https://github.com/void-linux/void-packages/pull/27201.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vale-update-27201.patch --]
[-- Type: text/x-diff, Size: 4589 bytes --]
From cfe16bb95eb7c15fadeb8d85513903dbd34c412d Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:33:25 +0100
Subject: [PATCH 1/4] vale: update to 2.6.7
---
srcpkgs/vale/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/vale/template b/srcpkgs/vale/template
index 198e8d1057f..7046a5a05ff 100644
--- a/srcpkgs/vale/template
+++ b/srcpkgs/vale/template
@@ -1,15 +1,15 @@
# Template file for 'vale'
pkgname=vale
-version=2.4.3
+version=2.6.7
revision=1
build_style=go
-go_import_path="github.com/errata-ai/vale"
+go_import_path="."
short_desc="Natural language linter"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://docs.errata.ai/vale/about/"
distfiles="https://github.com/errata-ai/vale/archive/v${version}.tar.gz"
-checksum=da6fa9224a6bec21dcea29d2b9b346d00c133c4864ea44c07ea222289ab98e70
+checksum=21a43c7122932d0914bd023ae412432aed3e0112473bf809b542dba3986ee4bd
post_install() {
vlicense LICENSE
From da9986925f0394fe50157ce07e498ed25e08c959 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:33:39 +0100
Subject: [PATCH 2/4] New package: vale-style-microsoft-0.8.1
---
srcpkgs/vale-style-microsoft/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-microsoft/template
diff --git a/srcpkgs/vale-style-microsoft/template b/srcpkgs/vale-style-microsoft/template
new file mode 100644
index 00000000000..4edd7b5c74f
--- /dev/null
+++ b/srcpkgs/vale-style-microsoft/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-microsoft'
+pkgname=vale-style-microsoft
+version=0.8.1
+revision=1
+wrksrc=Microsoft-${version}
+short_desc="Vale-compatible implementation of the Microsoft Writing Style Guide"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/Microsoft/"
+distfiles="https://github.com/errata-ai/Microsoft/archive/v${version}.tar.gz"
+checksum=efb23757ded10679574dd10b280769a04beb567b57bb7ac625241152cd7249cd
+
+do_install() {
+ for f in Microsoft/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/Microsoft/"
+ done
+ vlicense LICENSE
+}
From af33c0f43c231605ae9f99bad6fd51ef6c1527d4 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:34:12 +0100
Subject: [PATCH 3/4] New package: vale-style-proselint-0.3.2
---
srcpkgs/vale-style-proselint/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-proselint/template
diff --git a/srcpkgs/vale-style-proselint/template b/srcpkgs/vale-style-proselint/template
new file mode 100644
index 00000000000..d2552a537bf
--- /dev/null
+++ b/srcpkgs/vale-style-proselint/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-proselint'
+pkgname=vale-style-proselint
+version=0.3.2
+revision=1
+wrksrc=proselint-${version}
+short_desc="Vale-compatible implementation of the proselint linter"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/proselint/"
+distfiles="https://github.com/errata-ai/proselint/archive/v${version}.tar.gz"
+checksum=69916df94c0bfcc2520d7f49ae7a002137985f04702a58d8aaa0adc5fa55b8e2
+
+do_install() {
+ for f in proselint/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/proselint/"
+ done
+ vlicense LICENSE
+}
From a470e06b8fc10bc11a3d709550b8bdef4885a5be Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:34:50 +0100
Subject: [PATCH 4/4] New package: vale-style-write-good-0.4.0
---
srcpkgs/vale-style-write-good/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-write-good/template
diff --git a/srcpkgs/vale-style-write-good/template b/srcpkgs/vale-style-write-good/template
new file mode 100644
index 00000000000..a0d4cf968bc
--- /dev/null
+++ b/srcpkgs/vale-style-write-good/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-write-good'
+pkgname=vale-style-write-good
+version=0.4.0
+revision=1
+wrksrc=write-good-${version}
+short_desc="Vale-compatible implementation of the write-good linter"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/write-good/"
+distfiles="https://github.com/errata-ai/write-good/archive/v${version}.tar.gz"
+checksum=ddf54a6b829603e6f01dbad428330911ee65c20f67eedb0ddc3369fdfe476799
+
+do_install() {
+ for f in write-good/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/write-good/"
+ done
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
@ 2020-12-16 20:33 ` SolitudeSF
2020-12-16 22:02 ` [PR PATCH] [Updated] " paper42
` (16 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: SolitudeSF @ 2020-12-16 20:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
New comment by SolitudeSF on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-746969984
Comment:
i think `go_import_path="github.com/errata-ai/vale/v2"` shoud work but im not sure if that even matters
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PR PATCH] [Updated] vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
2020-12-16 20:33 ` SolitudeSF
@ 2020-12-16 22:02 ` paper42
2020-12-16 22:02 ` paper42
` (15 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2020-12-16 22:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
There is an updated pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages vale-update
https://github.com/void-linux/void-packages/pull/27201
vale update, style packages
ping @SolitudeSF
it does not build without this line, but I didn't find a better way to do it
```
go_import_path="."
```
A patch file from https://github.com/void-linux/void-packages/pull/27201.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vale-update-27201.patch --]
[-- Type: text/x-diff, Size: 4616 bytes --]
From c7a961e3746c60d63be3add18825ff5447ad5447 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:33:25 +0100
Subject: [PATCH 1/4] vale: update to 2.6.7
---
srcpkgs/vale/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/vale/template b/srcpkgs/vale/template
index 198e8d1057f..ac67a21a839 100644
--- a/srcpkgs/vale/template
+++ b/srcpkgs/vale/template
@@ -1,15 +1,15 @@
# Template file for 'vale'
pkgname=vale
-version=2.4.3
+version=2.6.7
revision=1
build_style=go
-go_import_path="github.com/errata-ai/vale"
+go_import_path="github.com/errata-ai/vale/v2"
short_desc="Natural language linter"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://docs.errata.ai/vale/about/"
distfiles="https://github.com/errata-ai/vale/archive/v${version}.tar.gz"
-checksum=da6fa9224a6bec21dcea29d2b9b346d00c133c4864ea44c07ea222289ab98e70
+checksum=21a43c7122932d0914bd023ae412432aed3e0112473bf809b542dba3986ee4bd
post_install() {
vlicense LICENSE
From d0dc77b7278ded5011996a3f3c4519d367b1d94b Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:33:39 +0100
Subject: [PATCH 2/4] New package: vale-style-microsoft-0.8.1
---
srcpkgs/vale-style-microsoft/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-microsoft/template
diff --git a/srcpkgs/vale-style-microsoft/template b/srcpkgs/vale-style-microsoft/template
new file mode 100644
index 00000000000..4edd7b5c74f
--- /dev/null
+++ b/srcpkgs/vale-style-microsoft/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-microsoft'
+pkgname=vale-style-microsoft
+version=0.8.1
+revision=1
+wrksrc=Microsoft-${version}
+short_desc="Vale-compatible implementation of the Microsoft Writing Style Guide"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/Microsoft/"
+distfiles="https://github.com/errata-ai/Microsoft/archive/v${version}.tar.gz"
+checksum=efb23757ded10679574dd10b280769a04beb567b57bb7ac625241152cd7249cd
+
+do_install() {
+ for f in Microsoft/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/Microsoft/"
+ done
+ vlicense LICENSE
+}
From 2eaa08730c71674ec6c9a413837a6081bab3ead8 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:34:12 +0100
Subject: [PATCH 3/4] New package: vale-style-proselint-0.3.2
---
srcpkgs/vale-style-proselint/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-proselint/template
diff --git a/srcpkgs/vale-style-proselint/template b/srcpkgs/vale-style-proselint/template
new file mode 100644
index 00000000000..d2552a537bf
--- /dev/null
+++ b/srcpkgs/vale-style-proselint/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-proselint'
+pkgname=vale-style-proselint
+version=0.3.2
+revision=1
+wrksrc=proselint-${version}
+short_desc="Vale-compatible implementation of the proselint linter"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/proselint/"
+distfiles="https://github.com/errata-ai/proselint/archive/v${version}.tar.gz"
+checksum=69916df94c0bfcc2520d7f49ae7a002137985f04702a58d8aaa0adc5fa55b8e2
+
+do_install() {
+ for f in proselint/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/proselint/"
+ done
+ vlicense LICENSE
+}
From 0b58deb023391232c4a99223987d329acd4f53b4 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:34:50 +0100
Subject: [PATCH 4/4] New package: vale-style-write-good-0.4.0
---
srcpkgs/vale-style-write-good/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-write-good/template
diff --git a/srcpkgs/vale-style-write-good/template b/srcpkgs/vale-style-write-good/template
new file mode 100644
index 00000000000..a0d4cf968bc
--- /dev/null
+++ b/srcpkgs/vale-style-write-good/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-write-good'
+pkgname=vale-style-write-good
+version=0.4.0
+revision=1
+wrksrc=write-good-${version}
+short_desc="Vale-compatible implementation of the write-good linter"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/write-good/"
+distfiles="https://github.com/errata-ai/write-good/archive/v${version}.tar.gz"
+checksum=ddf54a6b829603e6f01dbad428330911ee65c20f67eedb0ddc3369fdfe476799
+
+do_install() {
+ for f in write-good/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/write-good/"
+ done
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
2020-12-16 20:33 ` SolitudeSF
2020-12-16 22:02 ` [PR PATCH] [Updated] " paper42
@ 2020-12-16 22:02 ` paper42
2020-12-16 22:02 ` paper42
` (14 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2020-12-16 22:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 214 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-747067651
Comment:
> go_import_path="github.com/errata-ai/vale/v2"
you were right, thanks
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (2 preceding siblings ...)
2020-12-16 22:02 ` paper42
@ 2020-12-16 22:02 ` paper42
2020-12-17 18:12 ` ericonr
` (13 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2020-12-16 22:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-747067651
Comment:
> go_import_path="github.com/errata-ai/vale/v2"
@SolitudeSF you were right, thanks
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (3 preceding siblings ...)
2020-12-16 22:02 ` paper42
@ 2020-12-17 18:12 ` ericonr
2020-12-17 19:56 ` paper42
` (12 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-17 18:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 241 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-747608701
Comment:
Am I correct in assuming that `vale` by itself isn't very useful without at least one style package?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (4 preceding siblings ...)
2020-12-17 18:12 ` ericonr
@ 2020-12-17 19:56 ` paper42
2020-12-18 3:45 ` ericonr
` (11 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2020-12-17 19:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 544 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-747665784
Comment:
@ericonr I think so, but even if you install `vale` and one `vale-style` package, nothing will happen until you create a configuration file pointing it to /usr/share/vale. I would prefer it to get detected automatically, but vale doesn't load a system wide config file.
example config if you want to try it: `~/.vale.ini`
```
StylesPath = /usr/share/vale/
[*.md]
BasedOnStyles = write-good
```
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (5 preceding siblings ...)
2020-12-17 19:56 ` paper42
@ 2020-12-18 3:45 ` ericonr
2020-12-18 3:47 ` ericonr
` (10 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-18 3:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-747849550
Comment:
> I would prefer it to get detected automatically, but vale doesn't load a system wide config file.
Might be nice to make a request for it :) at least so the user doesn't have to specify `StylesPath` themselves.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (6 preceding siblings ...)
2020-12-18 3:45 ` ericonr
@ 2020-12-18 3:47 ` ericonr
2020-12-18 3:54 ` ericonr
` (9 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-18 3:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-747850062
Comment:
Also, vale output shows
```
VERSION:
master
```
maybe there is a build time flag to set this appropriately?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (7 preceding siblings ...)
2020-12-18 3:47 ` ericonr
@ 2020-12-18 3:54 ` ericonr
2020-12-20 11:11 ` [PR PATCH] [Updated] " paper42
` (8 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-18 3:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-747851731
Comment:
https://github.com/errata-ai/vale/blob/430f6c8b4e6c00e2e50c0c0f4a3475f314db17ee/Makefile#L4 this is probably what you want. There are other templates doing similar things as well.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PR PATCH] [Updated] vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (8 preceding siblings ...)
2020-12-18 3:54 ` ericonr
@ 2020-12-20 11:11 ` paper42
2020-12-20 11:25 ` paper42
` (7 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2020-12-20 11:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
There is an updated pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages vale-update
https://github.com/void-linux/void-packages/pull/27201
vale update, style packages
ping @SolitudeSF
it does not build without this line, but I didn't find a better way to do it
```
go_import_path="."
```
A patch file from https://github.com/void-linux/void-packages/pull/27201.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-vale-update-27201.patch --]
[-- Type: text/x-diff, Size: 4659 bytes --]
From 1b84136fdf6f3b350748c2a9856618fc05137a2d Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:33:25 +0100
Subject: [PATCH 1/4] vale: update to 2.6.7
---
srcpkgs/vale/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/vale/template b/srcpkgs/vale/template
index 198e8d1057f..387c8af6ed4 100644
--- a/srcpkgs/vale/template
+++ b/srcpkgs/vale/template
@@ -1,15 +1,16 @@
# Template file for 'vale'
pkgname=vale
-version=2.4.3
+version=2.6.7
revision=1
build_style=go
-go_import_path="github.com/errata-ai/vale"
+go_import_path="github.com/errata-ai/vale/v2"
+go_ldflags=" -X main.version=${version}"
short_desc="Natural language linter"
maintainer="SolitudeSF <solitudesf@protonmail.com>"
license="MIT"
homepage="https://docs.errata.ai/vale/about/"
distfiles="https://github.com/errata-ai/vale/archive/v${version}.tar.gz"
-checksum=da6fa9224a6bec21dcea29d2b9b346d00c133c4864ea44c07ea222289ab98e70
+checksum=21a43c7122932d0914bd023ae412432aed3e0112473bf809b542dba3986ee4bd
post_install() {
vlicense LICENSE
From 693221dee273844710ddb15874c7f41f99f7b7a2 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:33:39 +0100
Subject: [PATCH 2/4] New package: vale-style-microsoft-0.8.1
---
srcpkgs/vale-style-microsoft/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-microsoft/template
diff --git a/srcpkgs/vale-style-microsoft/template b/srcpkgs/vale-style-microsoft/template
new file mode 100644
index 00000000000..4edd7b5c74f
--- /dev/null
+++ b/srcpkgs/vale-style-microsoft/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-microsoft'
+pkgname=vale-style-microsoft
+version=0.8.1
+revision=1
+wrksrc=Microsoft-${version}
+short_desc="Vale-compatible implementation of the Microsoft Writing Style Guide"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/Microsoft/"
+distfiles="https://github.com/errata-ai/Microsoft/archive/v${version}.tar.gz"
+checksum=efb23757ded10679574dd10b280769a04beb567b57bb7ac625241152cd7249cd
+
+do_install() {
+ for f in Microsoft/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/Microsoft/"
+ done
+ vlicense LICENSE
+}
From 9e126ff6e03fc3f724e63c04b08286a8a3eb2b53 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:34:12 +0100
Subject: [PATCH 3/4] New package: vale-style-proselint-0.3.2
---
srcpkgs/vale-style-proselint/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-proselint/template
diff --git a/srcpkgs/vale-style-proselint/template b/srcpkgs/vale-style-proselint/template
new file mode 100644
index 00000000000..d2552a537bf
--- /dev/null
+++ b/srcpkgs/vale-style-proselint/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-proselint'
+pkgname=vale-style-proselint
+version=0.3.2
+revision=1
+wrksrc=proselint-${version}
+short_desc="Vale-compatible implementation of the proselint linter"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/proselint/"
+distfiles="https://github.com/errata-ai/proselint/archive/v${version}.tar.gz"
+checksum=69916df94c0bfcc2520d7f49ae7a002137985f04702a58d8aaa0adc5fa55b8e2
+
+do_install() {
+ for f in proselint/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/proselint/"
+ done
+ vlicense LICENSE
+}
From a023807df561611fc480dd3cd6df27ab94f93e41 Mon Sep 17 00:00:00 2001
From: Paper <paper@tilde.institute>
Date: Wed, 16 Dec 2020 18:34:50 +0100
Subject: [PATCH 4/4] New package: vale-style-write-good-0.4.0
---
srcpkgs/vale-style-write-good/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/vale-style-write-good/template
diff --git a/srcpkgs/vale-style-write-good/template b/srcpkgs/vale-style-write-good/template
new file mode 100644
index 00000000000..a0d4cf968bc
--- /dev/null
+++ b/srcpkgs/vale-style-write-good/template
@@ -0,0 +1,18 @@
+# Template file for 'vale-style-write-good'
+pkgname=vale-style-write-good
+version=0.4.0
+revision=1
+wrksrc=write-good-${version}
+short_desc="Vale-compatible implementation of the write-good linter"
+maintainer="Paper <paper@tilde.institute>"
+license="MIT"
+homepage="https://github.com/errata-ai/write-good/"
+distfiles="https://github.com/errata-ai/write-good/archive/v${version}.tar.gz"
+checksum=ddf54a6b829603e6f01dbad428330911ee65c20f67eedb0ddc3369fdfe476799
+
+do_install() {
+ for f in write-good/*.yml; do
+ vinstall "$f" 644 "/usr/share/vale/write-good/"
+ done
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (9 preceding siblings ...)
2020-12-20 11:11 ` [PR PATCH] [Updated] " paper42
@ 2020-12-20 11:25 ` paper42
2020-12-20 11:26 ` paper42
` (6 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2020-12-20 11:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-748594820
Comment:
thanks, fixed the version
> > I would prefer it to get detected automatically, but vale doesn't load a system wide config file.
>
> Might be nice to make a request for it :) at least so the user doesn't have to specify `StylesPath` themselves.
hmm, I do not think this is the correct solution anymore. If the user doesn't specify a config, no style should be used. I don't think all styles available in the system should be used. I will suggest to them a default StylesPath, but the user will still have to specify BasedOnStyles.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (10 preceding siblings ...)
2020-12-20 11:25 ` paper42
@ 2020-12-20 11:26 ` paper42
2020-12-22 0:11 ` ericonr
` (5 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2020-12-20 11:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 688 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-748594820
Comment:
@ericonr thanks, fixed the version
> > I would prefer it to get detected automatically, but vale doesn't load a system wide config file.
>
> Might be nice to make a request for it :) at least so the user doesn't have to specify `StylesPath` themselves.
hmm, I do not think this is the correct solution anymore. If the user doesn't specify a config, no style should be used. I don't think all styles available in the system should be used. I will suggest to them a default StylesPath, but the user will still have to specify BasedOnStyles.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (11 preceding siblings ...)
2020-12-20 11:26 ` paper42
@ 2020-12-22 0:11 ` ericonr
2020-12-22 0:12 ` [PR PATCH] [Merged]: " ericonr
` (4 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-22 0:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-749264915
Comment:
> I will suggest to them a default StylesPath
Indeed, at least this.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PR PATCH] [Merged]: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (12 preceding siblings ...)
2020-12-22 0:11 ` ericonr
@ 2020-12-22 0:12 ` ericonr
2020-12-22 2:21 ` q66
` (3 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-22 0:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
There's a merged pull request on the void-packages repository
vale update, style packages
https://github.com/void-linux/void-packages/pull/27201
Description:
ping @SolitudeSF
it does not build without this line, but I didn't find a better way to do it
```
go_import_path="."
```
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (13 preceding siblings ...)
2020-12-22 0:12 ` [PR PATCH] [Merged]: " ericonr
@ 2020-12-22 2:21 ` q66
2020-12-22 4:25 ` ericonr
` (2 subsequent siblings)
17 siblings, 0 replies; 19+ messages in thread
From: q66 @ 2020-12-22 2:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-749300330
Comment:
why don't the style packages depend on vale? now you can build the styles for targets which don't have vale at all (because they don't have go)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (14 preceding siblings ...)
2020-12-22 2:21 ` q66
@ 2020-12-22 4:25 ` ericonr
2020-12-22 10:07 ` paper42
2020-12-22 11:39 ` q66
17 siblings, 0 replies; 19+ messages in thread
From: ericonr @ 2020-12-22 4:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-749330606
Comment:
I didn't consider in this case that vale itself wouldn't be available on all platforms. I guess I was thinking of packages like hunspell and aspell dicts, which don't depend on their respective tools. It probably makes more sense for them since they can be used by other packages, which isn't the case for the style packages. I think we can add a dependency, perhaps...
@paper42 what do you think?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (15 preceding siblings ...)
2020-12-22 4:25 ` ericonr
@ 2020-12-22 10:07 ` paper42
2020-12-22 11:39 ` q66
17 siblings, 0 replies; 19+ messages in thread
From: paper42 @ 2020-12-22 10:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
New comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-749460871
Comment:
The styles are "vale compatible" which means there can be other tools using them, but I don't know about any.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: vale update, style packages
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
` (16 preceding siblings ...)
2020-12-22 10:07 ` paper42
@ 2020-12-22 11:39 ` q66
17 siblings, 0 replies; 19+ messages in thread
From: q66 @ 2020-12-22 11:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 238 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/27201#issuecomment-749498760
Comment:
well, if the styles don't necessarily require the original thing, it's probably okay to just leave it
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2020-12-22 11:39 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16 17:44 [PR PATCH] vale update, style packages paper42
2020-12-16 20:33 ` SolitudeSF
2020-12-16 22:02 ` [PR PATCH] [Updated] " paper42
2020-12-16 22:02 ` paper42
2020-12-16 22:02 ` paper42
2020-12-17 18:12 ` ericonr
2020-12-17 19:56 ` paper42
2020-12-18 3:45 ` ericonr
2020-12-18 3:47 ` ericonr
2020-12-18 3:54 ` ericonr
2020-12-20 11:11 ` [PR PATCH] [Updated] " paper42
2020-12-20 11:25 ` paper42
2020-12-20 11:26 ` paper42
2020-12-22 0:11 ` ericonr
2020-12-22 0:12 ` [PR PATCH] [Merged]: " ericonr
2020-12-22 2:21 ` q66
2020-12-22 4:25 ` ericonr
2020-12-22 10:07 ` paper42
2020-12-22 11:39 ` q66
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).