practicalswift
73a6c29bcd
macOS fix: Work around empty (sub)expression error when using BSD grep
2020-10-27 23:05:19 +00:00
Julian Fleischer
52f45ad9a4
use export LC_ALL=C.UTF-8
2020-10-27 23:05:19 +00:00
Julian Fleischer
b90433afd3
fix locale for lint-shell
2020-10-27 23:05:19 +00:00
DesWurstes
be186b8112
Obsolete #!/bin/bash shebang
2020-10-27 23:05:18 +00:00
practicalswift
f98ced2aba
Add linter: Make sure we explicitly open all text files using UTF-8 or ASCII encoding in Python
2020-10-27 23:05:02 +00:00
practicalswift
1b32acdd52
Add linter: Make sure all shell scripts opt out of locale dependence using "export LC_ALL=C"
2020-10-27 23:05:02 +00:00
practicalswift
745ac0ae6d
Add "export LC_ALL=C" to all shell scripts
...
Zcash: Only for lint-* scripts we have backported from upstream.
2020-10-27 23:05:02 +00:00
practicalswift
40316e9359
build: Add linter for checking accidental locale dependence
2020-10-27 23:05:02 +00:00
practicalswift
9174ccaf0d
build: Guard against accidental introduction of new Boost dependencies
2020-10-27 23:05:02 +00:00
MarcoFalke
c2848070b4
test: Move linters to test/lint, add readme
...
Zcash: Only the lint-* scripts we have backported.
2020-10-27 23:05:02 +00:00
str4d
8aadc745c2
Use HTTPS in script license headers
...
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
2020-10-26 18:04:19 +00:00
Jack Grigg
1b01bd942b
test/lint: Check for working changes before checking scripted diffs
2020-10-26 17:57:26 +00:00
Wladimir J. van der Laan
001e803b92
test: Mention commit id in scripted diff error
2020-10-26 17:36:26 +00:00
Hennadii Stepanov
1d3af17140
Enable ShellCheck rules
...
Enabled ShellCheck rules:
SC1087
SC2001
SC2004
SC2005
SC2006
SC2016
SC2028
SC2048
SC2066 (note that IFS already contains only a line feed)
SC2116
SC2166
SC2181
SC2206
SC2207
SC2230
SC2236
Zcash: Only the changes that applied to the versions of the scripts we have.
2020-10-26 17:36:26 +00:00
Carl Dong
ccd074a59b
scripted-diff: Run scripted-diff in subshell
...
-BEGIN VERIFY SCRIPT-
sed -i 's/\bi\b/commit/g' test/lint/commit-script-check.sh
sed -i '34s/eval "$SCRIPT"/(eval "$SCRIPT")/' test/lint/commit-script-check.sh
-END VERIFY SCRIPT-
2020-10-26 17:36:26 +00:00
practicalswift
3b1bf4b4af
Add "export LC_ALL=C" to all shell scripts
...
Zcash: Only for shell scripts we have from upstream.
2020-10-26 17:36:26 +00:00
MarcoFalke
6506fbacf1
test: Move linters to test/lint, add readme
2020-10-26 17:36:26 +00:00