SHA256
1
0
forked from pool/vale

89 Commits

Author SHA256 Message Date
70a5ceba5c Accepting request 1188920 from devel:languages:go
- Update to version 3.7.0:
  * refactor: display action results in `message`
  * feat: add capture group support to `substitution`
  * refactor: support capture groups in `substitution`
  * chore: remove `funlen` check
  * fix: handle conatenating nested lists
  * chore: add `TARGETARCH`
  * chore: fix version in .goreleaser.yml

- Update to version 3.6.1:
  * golangci lint (#822)
  * fix: sort commands before printing
  * chore: build statically on Windows
  * docs: clean up README
  * chore: restrict fossa to source files
  * refactor: error on misplaced core-level settings
  * chore: update fossa version
  * Fix broken link in README.md (#853)
  * chore: `cinst` -> `choco install`
  * docs: update link to examples
  * fix: check for `token.Skip` before re-order (forwarded request 1188919 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1188920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=44
2024-07-22 15:18:31 +00:00
3c97087edc - Update to version 3.7.0:
* refactor: display action results in `message`
  * feat: add capture group support to `substitution`
  * refactor: support capture groups in `substitution`
  * chore: remove `funlen` check
  * fix: handle conatenating nested lists
  * chore: add `TARGETARCH`
  * chore: fix version in .goreleaser.yml

- Update to version 3.6.1:
  * golangci lint (#822)
  * fix: sort commands before printing
  * chore: build statically on Windows
  * docs: clean up README
  * chore: restrict fossa to source files
  * refactor: error on misplaced core-level settings
  * chore: update fossa version
  * Fix broken link in README.md (#853)
  * chore: `cinst` -> `choco install`
  * docs: update link to examples
  * fix: check for `token.Skip` before re-order

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=88
2024-07-21 22:59:32 +00:00
ccec0be822 Accepting request 1181640 from devel:languages:go
- Update to version 3.6.0:
  * chore: add mingw dep
  * feat: support exceptions in `Repetition`
  * chore: add `build-base` to Docker [ci skip] (forwarded request 1181639 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1181640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=43
2024-06-19 14:39:51 +00:00
30d9537202 - Update to version 3.6.0:
* chore: add mingw dep
  * feat: support exceptions in `Repetition`
  * chore: add `build-base` to Docker [ci skip]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=86
2024-06-19 04:57:44 +00:00
c0cf345c04 Accepting request 1179587 from devel:languages:go
- Update to version 3.5.0:
  * feat: tree-sitter powered fragments
- Packaging:
  * Add BuildRequires: gcc-c++ required by linked C++ library:
    github.com/smacker/go-tree-sitter/yaml (forwarded request 1179584 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1179587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=42
2024-06-10 15:37:11 +00:00
2390fdfcf2 Accepting request 1179584 from home:jfkw:branches:devel:languages:go
- Update to version 3.5.0:
  * feat: tree-sitter powered fragments
- Packaging:
  * Add BuildRequires: gcc-c++ required by linked C++ library:
    github.com/smacker/go-tree-sitter/yaml

OBS-URL: https://build.opensuse.org/request/show/1179584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=84
2024-06-09 20:16:57 +00:00
34cce2a45b Accepting request 1171070 from devel:languages:go
- Update to version 3.4.2:
  * test: fix invalid pkg case
  * test: add another cascade case
  * Fix substitution rule parsing (#813)
  * chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 (#809)
  * docs: add Digital Ocean (forwarded request 1171069 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1171070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=41
2024-05-01 12:57:18 +00:00
59884e617b Accepting request 1171069 from home:jfkw:branches:devel:languages:go
- Update to version 3.4.2:
  * test: fix invalid pkg case
  * test: add another cascade case
  * Fix substitution rule parsing (#813)
  * chore(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 (#809)
  * docs: add Digital Ocean

OBS-URL: https://build.opensuse.org/request/show/1171069
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=82
2024-05-01 03:50:06 +00:00
e109de1293 Accepting request 1166210 from devel:languages:go
- Update to version 3.4.1:
  * fix: fallback to default config when syncing
  * feat: add `capitalize` option in `substitution`
  * fix: only match case for `ignorecase: true`
  * docs: add demo screenshot [ci skip] (forwarded request 1166208 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1166210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=40
2024-04-08 15:40:07 +00:00
e121962279 Accepting request 1166208 from home:jfkw:branches:devel:languages:go
- Update to version 3.4.1:
  * fix: fallback to default config when syncing
  * feat: add `capitalize` option in `substitution`
  * fix: only match case for `ignorecase: true`
  * docs: add demo screenshot [ci skip]

OBS-URL: https://build.opensuse.org/request/show/1166208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=80
2024-04-08 13:21:03 +00:00
0dc6fbcb14 Accepting request 1166145 from home:jfkw:branches:devel:languages:go
- Update to version 3.4.0:
  * chore: fix Appveyor
  * chore: new windows workflow
  * test: add another `occurrence` case
  * refactor: clean comments after updating
  * fix: restrict `reLinkRef` to single lines
  * fix: ensure `alt` text is reset in the walker
  * feat: support displaying the count of `occurance`
  * fix: handle no matches
  * fix: omit whitespace matches
  * refactor: fix golangci-lint
  * refactor: create `nlp.StrLen`
  * fix: take first non-code match in occurance rules
  * test: add AsciiDoc comment cases
  * docs: fix `Vale.Terms`

OBS-URL: https://build.opensuse.org/request/show/1166145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=79
2024-04-08 10:38:32 +00:00
246bd63e94 Accepting request 1161230 from devel:languages:go
- Update to version 3.3.1:
  * refactor: use `pterm.Fuzzy` instead of `Gray`
  * refactor: clean up sync progress bar
  * docs: fix typos (#794)
  * feat: support `replace` in `capitalization` (forwarded request 1161222 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1161230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=39
2024-03-25 20:11:50 +00:00
e7c4882a77 Accepting request 1161222 from home:jfkw:branches:devel:languages:go
- Update to version 3.3.1:
  * refactor: use `pterm.Fuzzy` instead of `Gray`
  * refactor: clean up sync progress bar
  * docs: fix typos (#794)
  * feat: support `replace` in `capitalization`

OBS-URL: https://build.opensuse.org/request/show/1161222
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=77
2024-03-25 03:08:21 +00:00
ea952f86d6 Accepting request 1156819 from devel:languages:go
- Update to version 3.3.0:
  * fix: ensure `StylesPath` is created with `sync`
  * feat: support showing expected case in `message`
  * chore: update twine to v0.10.1 (forwarded request 1156818 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1156819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=38
2024-03-11 14:34:28 +00:00
17b979cf0f Accepting request 1156818 from home:jfkw:branches:devel:languages:go
- Update to version 3.3.0:
  * fix: ensure `StylesPath` is created with `sync`
  * feat: support showing expected case in `message`
  * chore: update twine to v0.10.1

OBS-URL: https://build.opensuse.org/request/show/1156818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=75
2024-03-11 04:17:19 +00:00
c8f2f6b9c7 Accepting request 1155348 from devel:languages:go
- Update to version 3.2.2:
  * fix: use `utf8.RuneCountInString` for offsets
  * refactor: remove rst/adoc scripts
  * refactor: fix golangci-lint
  * fix: ensure `getNativeConfig` is consistent (forwarded request 1155347 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1155348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=37
2024-03-06 22:04:48 +00:00
a21cb06e25 Accepting request 1155347 from home:jfkw:branches:devel:languages:go
- Update to version 3.2.2:
  * fix: use `utf8.RuneCountInString` for offsets
  * refactor: remove rst/adoc scripts
  * refactor: fix golangci-lint
  * fix: ensure `getNativeConfig` is consistent

OBS-URL: https://build.opensuse.org/request/show/1155347
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=73
2024-03-05 20:54:55 +00:00
f6b01138ae Accepting request 1154049 from devel:languages:go
- Update to version 3.2.1:
  * chore: bump twine to v0.10.0
  * refactor: use actual path for assigned formats
  * chore: bump Docker to golang:1.21

- Update to version 3.2.0:
  * feat: support script-based actions
  * feat: allow `script`-based rules to use local files
  * feat: support `prefix` key in `capitalization`
  * chore: bump twine to v0.9.0
  * feat: match case in `Substitution`s default action
  * docs [skip ci]: add note about default threshold
  * chore: bump twine to v0.8.1
  * fix: ensure `capitalization` respects `vocab: false`
  * feat: proto support (#777)
  * feat: add `--no-global`
  * refactor: better install details
  * fix: don't double-report install errors
  * refactor: add CLI help text for host commands
  * fix: remove duplicate $home prefix
  * refactor: check action params (forwarded request 1154048 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1154049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=36
2024-03-01 22:39:13 +00:00
080d01f4e6 Accepting request 1154048 from home:jfkw:branches:devel:languages:go
- Update to version 3.2.1:
  * chore: bump twine to v0.10.0
  * refactor: use actual path for assigned formats
  * chore: bump Docker to golang:1.21

- Update to version 3.2.0:
  * feat: support script-based actions
  * feat: allow `script`-based rules to use local files
  * feat: support `prefix` key in `capitalization`
  * chore: bump twine to v0.9.0
  * feat: match case in `Substitution`s default action
  * docs [skip ci]: add note about default threshold
  * chore: bump twine to v0.8.1
  * fix: ensure `capitalization` respects `vocab: false`
  * feat: proto support (#777)
  * feat: add `--no-global`
  * refactor: better install details
  * fix: don't double-report install errors
  * refactor: add CLI help text for host commands
  * fix: remove duplicate $home prefix
  * refactor: check action params

OBS-URL: https://build.opensuse.org/request/show/1154048
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=71
2024-03-01 13:40:23 +00:00
4224b1f5a4 Accepting request 1147453 from devel:languages:go
- Update to version 3.1.0:
  * refactor: update chrome ID
  * refactor: revert #748
  * refactor: use `AddConfigFile`
  * refactor: add `cfg.SearchPaths()`
  * refactor: show var value in `ls-dirs` if set
  * feat: add `ls-vars` command
  * feat: add support for `VALE_STYLES_PATH`
  * refactor: fix golangci
  * feat: add comment syntax for switching styles (#748)
  * refactor: `sync` should initialize `.vale-config`
  * docs: update contributing instructions (#767)
  * chore: revert `minAlertLevel` (forwarded request 1147452 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1147453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=35
2024-02-18 19:25:09 +00:00
6edf6b9461 Accepting request 1147452 from home:jfkw:branches:devel:languages:go
- Update to version 3.1.0:
  * refactor: update chrome ID
  * refactor: revert #748
  * refactor: use `AddConfigFile`
  * refactor: add `cfg.SearchPaths()`
  * refactor: show var value in `ls-dirs` if set
  * feat: add `ls-vars` command
  * feat: add support for `VALE_STYLES_PATH`
  * refactor: fix golangci
  * feat: add comment syntax for switching styles (#748)
  * refactor: `sync` should initialize `.vale-config`
  * docs: update contributing instructions (#767)
  * chore: revert `minAlertLevel`

OBS-URL: https://build.opensuse.org/request/show/1147452
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=69
2024-02-18 17:09:59 +00:00
c54df4e6cd Accepting request 1144970 from devel:languages:go
- Update to version 3.0.7:
  * refactor: "Location" -> "Default Location"
  * chore: pterm requires Go v1.21
  * chore: upgrade pterm
  * fix: handle `sync` with relative `--config`
- Packaging improvements:
  * _service set_version remove param basename since autodetects OK
  * Update to BuildRequires: golang(API) >= 1.21 matching go.mod

- Update to version 3.0.6:
  * refactor: fix golangci
  * fix: remove `-q` from asciidoctor args
  * fix: don't double-report error context
  * feat: support fragments in `.ps1` and `.jl` files
  * fix: local config files should be in pipeline
  * fix: add `.json` to `nativeHostName`
  * feat: add `vale-native` to `ls-dirs`
  * feat: add extension management commands
  * feat: add `transform` api command
  * chore: increase minAlertLevel
  * refactor: fix benchmarks
  * chore: bump module path
  * refactor: fix golangci-lint issues
  * chore: bump branch in workflow (forwarded request 1144969 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1144970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=34
2024-02-07 17:51:18 +00:00
ecf10054f6 Accepting request 1144969 from home:jfkw:branches:devel:languages:go
- Update to version 3.0.7:
  * refactor: "Location" -> "Default Location"
  * chore: pterm requires Go v1.21
  * chore: upgrade pterm
  * fix: handle `sync` with relative `--config`
- Packaging improvements:
  * _service set_version remove param basename since autodetects OK
  * Update to BuildRequires: golang(API) >= 1.21 matching go.mod

- Update to version 3.0.6:
  * refactor: fix golangci
  * fix: remove `-q` from asciidoctor args
  * fix: don't double-report error context
  * feat: support fragments in `.ps1` and `.jl` files
  * fix: local config files should be in pipeline
  * fix: add `.json` to `nativeHostName`
  * feat: add `vale-native` to `ls-dirs`
  * feat: add extension management commands
  * feat: add `transform` api command
  * chore: increase minAlertLevel
  * refactor: fix benchmarks
  * chore: bump module path
  * refactor: fix golangci-lint issues
  * chore: bump branch in workflow

OBS-URL: https://build.opensuse.org/request/show/1144969
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=67
2024-02-07 16:20:54 +00:00
f904089080 Accepting request 1139554 from devel:languages:go
- Update to version 3.0.5:
  * refactor: don't load `Vale` if it's not needed
  * test: add another spelling case
  * fix: ensure `applyPatterns` respects `formats`

- Update to version 3.0.4:
  * fix: better support for phrases in vocabularies
  * fix: use file paths when applying ignore patterns
  * refactor: move ini-related functions to ini.go
  * test: add vocab to example
  * test: add case for `substitution` determinism
  * refactor: add `Found` column to `ls-dirs`

- Update to version 3.0.3:
  * fix: don't error on missing default files

- Update to version 3.0.2:
  * refactor: better error message for default styles (forwarded request 1139551 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1139554
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=33
2024-01-18 20:52:19 +00:00
4d3c27e621 Accepting request 1139551 from home:jfkw:branches:devel:languages:go
- Update to version 3.0.5:
  * refactor: don't load `Vale` if it's not needed
  * test: add another spelling case
  * fix: ensure `applyPatterns` respects `formats`

- Update to version 3.0.4:
  * fix: better support for phrases in vocabularies
  * fix: use file paths when applying ignore patterns
  * refactor: move ini-related functions to ini.go
  * test: add vocab to example
  * test: add case for `substitution` determinism
  * refactor: add `Found` column to `ls-dirs`

- Update to version 3.0.3:
  * fix: don't error on missing default files

- Update to version 3.0.2:
  * refactor: better error message for default styles

OBS-URL: https://build.opensuse.org/request/show/1139551
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=65
2024-01-17 22:28:06 +00:00
7d5eaa4fbf Accepting request 1138135 from devel:languages:go
- Update to version 3.0.1:
  * test: add more package cases
  * fix: respect alternative ways to set a base
  * test: add more source tests
  * docs: add famewall (forwarded request 1138134 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1138135
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=32
2024-01-11 20:05:44 +00:00
ec5d1e40df Accepting request 1138134 from home:jfkw:branches:devel:languages:go
- Update to version 3.0.1:
  * test: add more package cases
  * fix: respect alternative ways to set a base
  * test: add more source tests
  * docs: add famewall

OBS-URL: https://build.opensuse.org/request/show/1138134
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=63
2024-01-11 13:42:25 +00:00
0b01811b1b Accepting request 1137860 from devel:languages:go
- Update to version 3.0.0:
  * refactor: use xdg lib for config and styles
  * refactor: make `sync` root-relative
  * feat: sync with multiple config files
  * refactor: update table header in `ls-dirs`
  * test: add more config cases
  * chore: mod tidy
  * refactor: `path` -> `filepath`
  * fix: ensure default values are set
  * feat: default `StylesPath`
  * fix: add `--no-global`
  * fix: update error message
  * feat: add global config location to `--h`
  * feat: fallback to global when no config is found
  * fix: handle relative StylePaths
  * fix: ensure all matching sections are applied
  * refactor: update StylesPath
  * refactor: load default config last
  * feat: add default config
  * feat: `sync` supports new `config` dir
  * fix: `NOSUGGEST` may be more than 1 char
  * fix: ensure meta characters are escaped
  * test: add case for vocab
  * refactor: new `config/ignore` directory
  * refactor: fix golangci-lint
  * refactor: load files from `config/dictionaries`
  * chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#741)
  * refactor: new `StylesPath` layout
  * feat: new `StylesPath/config` directory
  * docs: add GitHub sponsors (forwarded request 1137859 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1137860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=31
2024-01-10 20:52:33 +00:00
6886615596 Accepting request 1137859 from home:jfkw:branches:devel:languages:go
- Update to version 3.0.0:
  * refactor: use xdg lib for config and styles
  * refactor: make `sync` root-relative
  * feat: sync with multiple config files
  * refactor: update table header in `ls-dirs`
  * test: add more config cases
  * chore: mod tidy
  * refactor: `path` -> `filepath`
  * fix: ensure default values are set
  * feat: default `StylesPath`
  * fix: add `--no-global`
  * fix: update error message
  * feat: add global config location to `--h`
  * feat: fallback to global when no config is found
  * fix: handle relative StylePaths
  * fix: ensure all matching sections are applied
  * refactor: update StylesPath
  * refactor: load default config last
  * feat: add default config
  * feat: `sync` supports new `config` dir
  * fix: `NOSUGGEST` may be more than 1 char
  * fix: ensure meta characters are escaped
  * test: add case for vocab
  * refactor: new `config/ignore` directory
  * refactor: fix golangci-lint
  * refactor: load files from `config/dictionaries`
  * chore(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#741)
  * refactor: new `StylesPath` layout
  * feat: new `StylesPath/config` directory
  * docs: add GitHub sponsors

OBS-URL: https://build.opensuse.org/request/show/1137859
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=61
2024-01-10 04:53:48 +00:00
4aebf2d1a3 Accepting request 1131484 from devel:languages:go
- Update to version 2.30.0:
  * test: add Julia tests
  * Julia Support (#731)
  * feat: config validation
  * feat: config I/O (forwarded request 1131482 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1131484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=30
2023-12-07 18:10:32 +00:00
a16fef1374 Accepting request 1131482 from home:jfkw:branches:devel:languages:go
- Update to version 2.30.0:
  * test: add Julia tests
  * Julia Support (#731)
  * feat: config validation
  * feat: config I/O

OBS-URL: https://build.opensuse.org/request/show/1131482
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=59
2023-12-06 20:21:42 +00:00
849e9d0d53 Accepting request 1127708 from devel:languages:go
- Update to version 2.29.7:
  * fix: add implicit `(?-i)` flags
  * chore: bump twine to v0.8.0
  * Remove Digital Ocean (forwarded request 1127707 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1127708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=29
2023-11-20 20:20:15 +00:00
e39cedfda0 Accepting request 1127707 from home:jfkw:branches:devel:languages:go
- Update to version 2.29.7:
  * fix: add implicit `(?-i)` flags
  * chore: bump twine to v0.8.0
  * Remove Digital Ocean

OBS-URL: https://build.opensuse.org/request/show/1127707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=57
2023-11-20 13:30:46 +00:00
cd4021a67a Accepting request 1119224 from devel:languages:go
- Update to version 2.29.6:
  * chore: bump twine to 0.7.0
  * feat: support exception regex in `sentence` (forwarded request 1119223 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1119224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=28
2023-10-20 21:18:53 +00:00
d0cf5c9dcc Accepting request 1119223 from home:jfkw:branches:devel:languages:go
- Update to version 2.29.6:
  * chore: bump twine to 0.7.0
  * feat: support exception regex in `sentence`

OBS-URL: https://build.opensuse.org/request/show/1119223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=55
2023-10-20 12:06:37 +00:00
470c183bf2 Accepting request 1118032 from devel:languages:go
- Update to version 2.29.5:
  * fix: ignore link refs when looking for matches
  * chore: drop `jdkato/regexp`
  * fix: bump twine to 0.6.1

- Packaging improvements:
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.
  * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
  * Use %%name macro where applicable to normalize common lines
    across Go app packages. Also makes renaming binary easier when
    required to handle package name conflict. (forwarded request 1118031 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1118032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=27
2023-10-16 21:01:28 +00:00
a4269e0e9d Accepting request 1118031 from home:jfkw:branches:devel:languages:go
- Update to version 2.29.5:
  * fix: ignore link refs when looking for matches
  * chore: drop `jdkato/regexp`
  * fix: bump twine to 0.6.1

- Packaging improvements:
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.
  * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
  * Use %%name macro where applicable to normalize common lines
    across Go app packages. Also makes renaming binary easier when
    required to handle package name conflict.

OBS-URL: https://build.opensuse.org/request/show/1118031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=53
2023-10-16 13:54:10 +00:00
a91bef2e5d Accepting request 1117723 from devel:languages:go
- Update to version 2.29.4:
  * fix: check bounds in `sentence`

- Update to version 2.29.3:
  * test: add another capitalization case
  * chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 (#703)
  * feat: add vocab support to `$title`
  * refactor: add support for `indicators`
  * refactor: use `jdkato/twine/strcase`
  * refactor: drop `prose` dep
  * fix: skip `metric` for empty files
  * fix: don't crash on multi-line comments
  * refactor: look for .adoc comments at line start (forwarded request 1117720 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1117723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=26
2023-10-15 17:27:10 +00:00
7056e134ff Accepting request 1117720 from home:jfkw:branches:devel:languages:go
- Update to version 2.29.4:
  * fix: check bounds in `sentence`

- Update to version 2.29.3:
  * test: add another capitalization case
  * chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 (#703)
  * feat: add vocab support to `$title`
  * refactor: add support for `indicators`
  * refactor: use `jdkato/twine/strcase`
  * refactor: drop `prose` dep
  * fix: skip `metric` for empty files
  * fix: don't crash on multi-line comments
  * refactor: look for .adoc comments at line start

OBS-URL: https://build.opensuse.org/request/show/1117720
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=51
2023-10-13 19:56:19 +00:00
318ad0b2de Accepting request 1116058 from devel:languages:go
- Update to version 2.29.2:
  * fix: don't fail when $HOME isn't defined
  * fix: ignore custom IDs
  * refactor: use our new glob package
  * fix: `gobwas/glob` -> `bmatcuk/doublestar`
  * refactor: rollback case change for now
  * feat: ensure suggestions match case of token
- Packaging improvements:
  * Fix E: summary-too-long Summary: must not exceed 79 characters

- Update to version 2.29.1:
  * fix: don't shift the offset for large files
  * chore: new action

- Update to version 2.29.0:
  * test: add case for `script` with custom message
  * fix: fragments should only be assigned for markup
  * test: add TypeScript case
  * feat: Add Optional Custom Message to Script Match (#682)
  * fix: Remove additional `--update` for apk in Dockerfile (#675) (forwarded request 1116056 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1116058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=25
2023-10-06 19:14:32 +00:00
eb8fcc6eba Accepting request 1116056 from home:jfkw:branches:devel:languages:go
- Update to version 2.29.2:
  * fix: don't fail when $HOME isn't defined
  * fix: ignore custom IDs
  * refactor: use our new glob package
  * fix: `gobwas/glob` -> `bmatcuk/doublestar`
  * refactor: rollback case change for now
  * feat: ensure suggestions match case of token
- Packaging improvements:
  * Fix E: summary-too-long Summary: must not exceed 79 characters

- Update to version 2.29.1:
  * fix: don't shift the offset for large files
  * chore: new action

- Update to version 2.29.0:
  * test: add case for `script` with custom message
  * fix: fragments should only be assigned for markup
  * test: add TypeScript case
  * feat: Add Optional Custom Message to Script Match (#682)
  * fix: Remove additional `--update` for apk in Dockerfile (#675)

OBS-URL: https://build.opensuse.org/request/show/1116056
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=49
2023-10-06 13:31:10 +00:00
db7cd7f294 Accepting request 1109636 from devel:languages:go
- Update to version 2.28.3:
  * fix: workaround `blk.Line` inconsistency
  * fix: take the best match, when available
  * fix: don't concatenate an empty regex
  * fix: `metric` shouldn't error on empty files
  * fix: ignore statichcheck for seqence history
  * chore: fix workflow branch for golangci
  * test: update expected error message
  * chore: add workflow for golangci
  * chore: get `cmd` passing new CI config
  * chore: get `check` passing new CI config
  * chore: get `core` passing new ci config
  * chore: get `spell` passing new ci config
  * chore: get `nlp` passing new ci config
  * chore: get `lint` passing new golangci config
  * chore: update `goldmark` and `net` (forwarded request 1109634 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1109636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=24
2023-09-08 19:15:42 +00:00
6300541c21 Accepting request 1109634 from home:jfkw:branches:devel:languages:go
- Update to version 2.28.3:
  * fix: workaround `blk.Line` inconsistency
  * fix: take the best match, when available
  * fix: don't concatenate an empty regex
  * fix: `metric` shouldn't error on empty files
  * fix: ignore statichcheck for seqence history
  * chore: fix workflow branch for golangci
  * test: update expected error message
  * chore: add workflow for golangci
  * chore: get `cmd` passing new CI config
  * chore: get `check` passing new CI config
  * chore: get `core` passing new ci config
  * chore: get `spell` passing new ci config
  * chore: get `nlp` passing new ci config
  * chore: get `lint` passing new golangci config
  * chore: update `goldmark` and `net`

OBS-URL: https://build.opensuse.org/request/show/1109634
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=47
2023-09-07 22:22:32 +00:00
4a2b52c589 Accepting request 1104426 from devel:languages:go
- Update to version 2.28.2:
  * test: add case for pkg 404
  * fix: improve error message for non-existant pkgs
  * docs: add 'Appwrite' to vocab
  * docs: add Appwrite (forwarded request 1104423 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1104426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=23
2023-08-18 17:28:13 +00:00
f84c5711ea Accepting request 1104423 from home:jfkw:branches:devel:languages:go
- Update to version 2.28.2:
  * test: add case for pkg 404
  * fix: improve error message for non-existant pkgs
  * docs: add 'Appwrite' to vocab
  * docs: add Appwrite

OBS-URL: https://build.opensuse.org/request/show/1104423
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=45
2023-08-17 14:15:16 +00:00
dcd646c772 Accepting request 1100517 from devel:languages:go
- Update to version 2.28.1:
  * fix: ensure hypenated exceptions are respected
  * fix: allow hypenated words in `Vale.Terms`
  * test: fix inline scope cases
  * refactor: validate `scope` (forwarded request 1100516 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1100517
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=22
2023-07-26 11:23:44 +00:00
95f4d3252e Accepting request 1100516 from home:jfkw:branches:devel:languages:go
- Update to version 2.28.1:
  * fix: ensure hypenated exceptions are respected
  * fix: allow hypenated words in `Vale.Terms`
  * test: fix inline scope cases
  * refactor: validate `scope`

OBS-URL: https://build.opensuse.org/request/show/1100516
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=43
2023-07-25 04:58:13 +00:00
1dd5fc6fba Accepting request 1096857 from devel:languages:go
- Update to version 2.28.0:
  * fix: set base path for `VALE_CONFIG_PATH`
  * feat: support `VALE_CONFIG_PATH`
  * fix: normalizePath tilde expansion on Windows (#656)
  * fix: update GitLab CI
  * feat: add clojure support (#649)
  * refactor: make capitalization threshold `>=`
  * docs: typo
  * fix: broken README.md link
  * Update README.md (#638) (forwarded request 1096856 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1096857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=21
2023-07-05 13:31:09 +00:00
0b9ee9b3da Accepting request 1096856 from home:jfkw:branches:devel:languages:go
- Update to version 2.28.0:
  * fix: set base path for `VALE_CONFIG_PATH`
  * feat: support `VALE_CONFIG_PATH`
  * fix: normalizePath tilde expansion on Windows (#656)
  * fix: update GitLab CI
  * feat: add clojure support (#649)
  * refactor: make capitalization threshold `>=`
  * docs: typo
  * fix: broken README.md link
  * Update README.md (#638)

OBS-URL: https://build.opensuse.org/request/show/1096856
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/vale?expand=0&rev=41
2023-07-04 21:23:02 +00:00
5545908b53 Accepting request 1088747 from devel:languages:go
- Update to version 2.27.0:
  * test: add more Package cases
  * feat: support ignoring `comment` scopes
  * fix: ensure `raw`-scoped rules are run on code (forwarded request 1088746 from jfkw)

OBS-URL: https://build.opensuse.org/request/show/1088747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vale?expand=0&rev=20
2023-05-24 18:22:42 +00:00