mirror of
https://github.com/9001/copyparty.git
synced 2025-11-24 07:23:22 -07:00
add inline ignore for lines with regexes or shell constructs
This commit is contained in:
parent
0e60d21edc
commit
ebe41f43dc
|
|
@ -2294,7 +2294,7 @@ function xhrchk(xhr, prefix, e404, lvl, tag) {
|
||||||
var errtxt = ((xhr.response && xhr.response.err) || xhr.responseText) || '',
|
var errtxt = ((xhr.response && xhr.response.err) || xhr.responseText) || '',
|
||||||
suf = '',
|
suf = '',
|
||||||
fun = toast[lvl || 'err'],
|
fun = toast[lvl || 'err'],
|
||||||
is_cf = /[Cc]loud[f]lare|>Just a mo[m]ent|#cf-b[u]bbles|Chec[k]ing your br[o]wser|\/chall[e]nge-platform|"chall[e]nge-error|nable Ja[v]aScript and cook/.test(errtxt);
|
is_cf = /[Cc]loud[f]lare|>Just a mo[m]ent|#cf-b[u]bbles|Chec[k]ing your br[o]wser|\/chall[e]nge-platform|"chall[e]nge-error|nable Ja[v]aScript and cook/.test(errtxt); # codespell:ignore
|
||||||
|
|
||||||
if (errtxt.startsWith('<pre>'))
|
if (errtxt.startsWith('<pre>'))
|
||||||
suf = '\n\nerror-details: «' + unpre(errtxt).split('\n')[0].trim() + '»';
|
suf = '\n\nerror-details: «' + unpre(errtxt).split('\n')[0].trim() + '»';
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ smoketest() {
|
||||||
# two-for-one:
|
# two-for-one:
|
||||||
# 1) smoketest copyparty even starts
|
# 1) smoketest copyparty even starts
|
||||||
# 2) build any bytecode we missed
|
# 2) build any bytecode we missed
|
||||||
# this tends to race other builders (alle gode ting er tre)
|
# this tends to race other builders (alle gode ting er tre) # codespell:ignore
|
||||||
cd /z
|
cd /z
|
||||||
python3 -m copyparty \
|
python3 -m copyparty \
|
||||||
--ign-ebind -p$((1024+RANDOM)),$((1024+RANDOM)),$((1024+RANDOM)) \
|
--ign-ebind -p$((1024+RANDOM)),$((1024+RANDOM)),$((1024+RANDOM)) \
|
||||||
|
|
|
||||||
|
|
@ -243,7 +243,7 @@ necho() {
|
||||||
rm -rf pyftpdlib-* pyftpdlib/test
|
rm -rf pyftpdlib-* pyftpdlib/test
|
||||||
patch -s -p1 <../scripts/patches/pyftpdlib-win313.patch
|
patch -s -p1 <../scripts/patches/pyftpdlib-win313.patch
|
||||||
patch -s -p1 <../scripts/patches/pyftpdlib-fe80.patch
|
patch -s -p1 <../scripts/patches/pyftpdlib-fe80.patch
|
||||||
for f in pyftpdlib/_async{hat,ore}.py; do
|
for f in pyftpdlib/_async{hat,ore}.py; do # codespell:ignore
|
||||||
[ -e "$f" ] || continue;
|
[ -e "$f" ] || continue;
|
||||||
iawk 'NR<4||NR>27||!/^#/;NR==4{print"# license: https://opensource.org/licenses/ISC\n"}' $f
|
iawk 'NR<4||NR>27||!/^#/;NR==4{print"# license: https://opensource.org/licenses/ISC\n"}' $f
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue