-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more checks to vale configuration.
- Loading branch information
Showing
147 changed files
with
9,952 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<!-- vale Google.Headings = NO --> | ||
<!-- vale RedHat.Headings = NO --> | ||
# zfs-replicate | ||
<!-- vale Google.Headings = YES --> | ||
<!-- vale RedHat.Headings = YES --> | ||
|
||
<https://github.com/alunduil/zfs-replicate> | ||
|
||
By Alex Brandt <[email protected]> | ||
|
||
## Description | ||
|
||
zfs-replicate sends all Zettabyte File System (ZFS) snapshots to a remote host via SSH. zfs-replicate | ||
zfs-replicate sends all Zettabyte File System (ZFS) snapshots to a remote host by SSH. zfs-replicate | ||
does **not** create ZFS snapshots. | ||
|
||
zfs-replicate forks [autorepl.py] used by [FreeNAS]. | ||
zfs-replicate forks [autorepl.py] used by [`FreeNAS`]. | ||
|
||
zfs-replicate relates to several other projects which fit other niches: | ||
zfs-replicate relates to several other projects, which fit other niches: | ||
|
||
1. [sanoid]: A full snapshot management system. Its companion, | ||
`syncoid`, handles replication with many available options. | ||
1. [zfs-replicate (BASH)]: A very similar project. The major differences are | ||
`syncoid`, handles replication with copious options. | ||
1. [zfs-replicate (BASH)]: A similar project. The major differences include | ||
configuration style and system expectations (for example, logging controls). | ||
zfs-replicate uses parameters whereas zfs-replicate (BASH) uses a BASH script. | ||
1. [znapzend]: Another scheduling and replicating system. | ||
1. [zrep]: A SH script with several control commands for snapshot replication. | ||
|
||
## Terms of use | ||
|
||
You are free to copy, modify, and distribute zfs-replicate with attribution | ||
You are free to copy, change, and distribute zfs-replicate with attribution | ||
under the terms of the `BSD-2-Clause` licence. See the [LICENSE] for details. | ||
|
||
## Prerequisites | ||
|
@@ -69,9 +69,9 @@ _N.B., don't use the root user to access your remote system._ | |
tools and their uses. | ||
* [Working With Oracle Solaris ZFS Snapshots and Clones]: Oracle's guide to | ||
working with ZFS snapshots. | ||
<!-- vale Google.Acronyms = NO --> | ||
<!-- vale RedHat.Definitions = NO --> | ||
* [ZFS REMOTE REPLICATION SCRIPT WITH REPORTING] | ||
<!-- vale Google.Acronyms = YES --> | ||
<!-- vale RedHat.Definitions = YES --> | ||
* [ZFS replication without using Root user]: How to configure ZFS replication | ||
for a non-root user. | ||
|
||
|
@@ -81,7 +81,7 @@ _N.B., don't use the root user to access your remote system._ | |
|
||
[autorepl.py]: https://github.com/freenas/freenas/blob/master/gui/tools/autorepl.py | ||
[FreeBSD]: https://www.freebsd.org/ | ||
[FreeNAS]: http://www.freenas.org/ | ||
[`FreeNAS`]: http://www.freenas.org/ | ||
[GitHub issues]: https://github.com/alunduil/zfs-replicate/issues | ||
[LICENSE]: ./LICENSE | ||
[sanoid]: https://github.com/jimsalterjrs/sanoid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
extends: existence | ||
message: "Don't put a space before or after a dash." | ||
link: 'https://developers.google.com/style/dashes' | ||
link: "https://developers.google.com/style/dashes" | ||
nonword: true | ||
level: error | ||
action: | ||
name: edit | ||
params: | ||
- remove | ||
- ' ' | ||
- trim | ||
- " " | ||
tokens: | ||
- '\s[—–]\s' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
extends: existence | ||
message: "Don't use exclamation points in text." | ||
link: 'https://developers.google.com/style/exclamation-points' | ||
link: "https://developers.google.com/style/exclamation-points" | ||
nonword: true | ||
level: error | ||
action: | ||
name: remove | ||
name: edit | ||
params: | ||
- trim_right | ||
- "!" | ||
tokens: | ||
- '\w+!(?:\s|$)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,43 @@ | ||
extends: substitution | ||
message: "Consider using '%s' instead of '%s'." | ||
link: 'https://developers.google.com/style/inclusive-documentation' | ||
ignorecase: true | ||
link: "https://developers.google.com/style/inclusive-documentation" | ||
level: error | ||
action: | ||
name: replace | ||
swap: | ||
(?:alumna|alumnus): graduate | ||
(?:alumnae|alumni): graduates | ||
air(?:m[ae]n|wom[ae]n): pilot(s) | ||
anchor(?:m[ae]n|wom[ae]n): anchor(s) | ||
authoress: author | ||
camera(?:m[ae]n|wom[ae]n): camera operator(s) | ||
chair(?:m[ae]n|wom[ae]n): chair(s) | ||
congress(?:m[ae]n|wom[ae]n): member(s) of congress | ||
door(?:m[ae]|wom[ae]n): concierge(s) | ||
draft(?:m[ae]n|wom[ae]n): drafter(s) | ||
fire(?:m[ae]n|wom[ae]n): firefighter(s) | ||
fisher(?:m[ae]n|wom[ae]n): fisher(s) | ||
fresh(?:m[ae]n|wom[ae]n): first-year student(s) | ||
garbage(?:m[ae]n|wom[ae]n): waste collector(s) | ||
lady lawyer: lawyer | ||
ladylike: courteous | ||
landlord: building manager | ||
mail(?:m[ae]n|wom[ae]n): mail carriers | ||
man and wife: husband and wife | ||
man enough: strong enough | ||
mankind: human kind | ||
manmade: manufactured | ||
manpower: personnel | ||
men and girls: men and women | ||
middle(?:m[ae]n|wom[ae]n): intermediary | ||
news(?:m[ae]n|wom[ae]n): journalist(s) | ||
ombuds(?:man|woman): ombuds | ||
oneupmanship: upstaging | ||
poetess: poet | ||
police(?:m[ae]n|wom[ae]n): police officer(s) | ||
repair(?:m[ae]n|wom[ae]n): technician(s) | ||
sales(?:m[ae]n|wom[ae]n): salesperson or sales people | ||
service(?:m[ae]n|wom[ae]n): soldier(s) | ||
steward(?:ess)?: flight attendant | ||
tribes(?:m[ae]n|wom[ae]n): tribe member(s) | ||
waitress: waiter | ||
woman doctor: doctor | ||
woman scientist[s]?: scientist(s) | ||
work(?:m[ae]n|wom[ae]n): worker(s) | ||
(?:alumna|alumnus): graduate | ||
(?:alumnae|alumni): graduates | ||
air(?:m[ae]n|wom[ae]n): pilot(s) | ||
anchor(?:m[ae]n|wom[ae]n): anchor(s) | ||
authoress: author | ||
camera(?:m[ae]n|wom[ae]n): camera operator(s) | ||
door(?:m[ae]|wom[ae]n): concierge(s) | ||
draft(?:m[ae]n|wom[ae]n): drafter(s) | ||
fire(?:m[ae]n|wom[ae]n): firefighter(s) | ||
fisher(?:m[ae]n|wom[ae]n): fisher(s) | ||
fresh(?:m[ae]n|wom[ae]n): first-year student(s) | ||
garbage(?:m[ae]n|wom[ae]n): waste collector(s) | ||
lady lawyer: lawyer | ||
ladylike: courteous | ||
mail(?:m[ae]n|wom[ae]n): mail carriers | ||
man and wife: husband and wife | ||
man enough: strong enough | ||
mankind: human kind|humanity | ||
manmade: manufactured | ||
manpower: personnel | ||
middle(?:m[ae]n|wom[ae]n): intermediary | ||
news(?:m[ae]n|wom[ae]n): journalist(s) | ||
ombuds(?:man|woman): ombuds | ||
oneupmanship: upstaging | ||
poetess: poet | ||
police(?:m[ae]n|wom[ae]n): police officer(s) | ||
repair(?:m[ae]n|wom[ae]n): technician(s) | ||
sales(?:m[ae]n|wom[ae]n): salesperson or sales people | ||
service(?:m[ae]n|wom[ae]n): soldier(s) | ||
steward(?:ess)?: flight attendant | ||
tribes(?:m[ae]n|wom[ae]n): tribe member(s) | ||
waitress: waiter | ||
woman doctor: doctor | ||
woman scientist[s]?: scientist(s) | ||
work(?:m[ae]n|wom[ae]n): worker(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
extends: existence | ||
message: "Don't put a period at the end of a heading." | ||
link: 'https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings' | ||
link: "https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings" | ||
nonword: true | ||
level: warning | ||
scope: heading | ||
action: | ||
name: edit | ||
params: | ||
- remove | ||
- '.' | ||
- trim_right | ||
- "." | ||
tokens: | ||
- '[a-z0-9][.]\s*$' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,4 @@ exceptions: | |
- Visual | ||
- VS | ||
- Windows | ||
- JSON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
extends: existence | ||
message: "'%s' doesn't need a hyphen." | ||
link: 'https://developers.google.com/style/hyphens' | ||
link: "https://developers.google.com/style/hyphens" | ||
level: error | ||
ignorecase: false | ||
nonword: true | ||
action: | ||
name: edit | ||
params: | ||
- replace | ||
- '-' | ||
- ' ' | ||
- regex | ||
- "-" | ||
- " " | ||
tokens: | ||
- '\s[^\s-]+ly-' | ||
- '\b[^\s-]+ly-\w+\b' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
extends: existence | ||
message: "Don't use plurals in parentheses such as in '%s'." | ||
link: 'https://developers.google.com/style/plurals-parentheses' | ||
link: "https://developers.google.com/style/plurals-parentheses" | ||
level: error | ||
nonword: true | ||
action: | ||
name: edit | ||
params: | ||
- remove | ||
- '(s)' | ||
- trim_right | ||
- "(s)" | ||
tokens: | ||
- '\b\w+\(s\)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extends: existence | ||
message: Use 'AM' or 'PM' (preceded by a space). | ||
link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/date-time-terms | ||
level: error | ||
nonword: true | ||
tokens: | ||
- '\d{1,2}[AP]M' | ||
- '\d{1,2} ?[ap]m' | ||
- '\d{1,2} ?[aApP]\.[mM]\.' |
Oops, something went wrong.