-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: shellcheck checks #697
Conversation
CI needs re-writing here to use the new |
This is not related to the PR right? Should this be followed in a new issue? |
Yes, but if we're tweaking shellscripts here, and we are planning to replace the scripts, it will cause us rebasing trouble later and the benefit is much less. |
Sorry I was not very clear. Mine was just a flippant comment and meant to imply "not worth putting too much effort in here since we need to re-write to use the new scripts". |
Oh ok so should I move this to a draft and then rebase later? |
You can do that, or if CI is all green I'll just ack it and re-base #699 on top (once I have that one working). |
Yeah sorry there's a little delay in shellcheck CI notifications since I don't get them because I've never contributed to this repo. |
CI fails are unrelated to this PR. One is the cfg thing same as in rust-bitcoin and one is a windows thing that I've hit elsewhere and have not debugged. |
@tcharding let me know when I should rebase this? |
You can rebase and force push mate. FTR you can always push changes in front of me, I don't mind rebasing. If something is particularly bothering me I'll explicitly ask it not to merge. Thanks for checking! |
f26c1c6
to
cf99ecd
Compare
rebased, I have not yet made a contribution here, hence I need approval to run CI 😞 |
Ok CI is still broken unrelated to this PR. I'll rebase sometime in the future when we fix that. |
Oh, no, the failure is the fault of this PR. The |
cf99ecd
to
bb3f500
Compare
Good catch! Removed. I need new CI authorization... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK bb3f500
@@ -80,7 +80,7 @@ esac | |||
--enable-examples="$EXAMPLES" \ | |||
--enable-ctime-tests="$CTIMETESTS" \ | |||
--with-valgrind="$WITH_VALGRIND" \ | |||
--host="$HOST" $EXTRAFLAGS | |||
--host="$HOST" "$EXTRAFLAGS" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In bb3f500:
If you want to change this file you'll need to PR upstream, or change the vendoring script here to modify it using sed
. But you can't edit vendored code inline like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FTR I believe $EXTRAFLAGS
is unquoted on purpose.
oooo, bad review by me :) |
Heh, I didn't notice it either. But my local CI scripts did. FWIW we could change our vendoring code to just delete this file. It's not like we use it. |
We should delete the whole |
f3bd705
to
52ff1c2
Compare
Ok I removed all changes inside |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 52ff1c2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 888c75d successfully ran local tests
Will let @tcharding take one more look before merging. |
ACK b3faab6 Not that I've caught any mistakes in this PR yet with my reviews :) |
b3faab6
to
359a89b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 359a89b
6c71cef
to
bfdf5dc
Compare
I cannot decode the error... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK bfdf5dc
The CI failure looks unrelated, IIRC we don't pin nightly here. |
a0febf7 githooks: remove unnecessary shellcheck disables (Jose Storopoli) Pull request description: We don't need to worry about nested quoting in SC2046. Thanks to Kixunil in rust-bitcoin/rust-secp256k1#697 for pointing that out. ACKs for top commit: Kixunil: ACK a0febf7 tcharding: ACK a0febf7 apoelstra: ACK a0febf7 successfully ran local tests Tree-SHA512: 83cdcc55c7e7922c05f5e78305086595a96745f34ea68ee99ed1c08c97683bd45d3c62e8d8b4bcba6b0572c9c65178ff4e21abd7178e2e8b0c9e42f4b25508fb
Maybe just wait for #699 to go in and see if that fixes the CI failure. |
bfdf5dc
to
ae0a304
Compare
say_err() { | ||
say "$1" >&2 | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not being used
say_err() { | ||
say "$1" >&2 | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not being used
rebased after #699 was merged, cc @tcharding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ae0a304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ae0a304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ae0a304 successfully ran local tests
Following rust-bitcoin/rust-bitcoin#2762,
adding CI shellcheck cheks here as well.
I also did all fixes that I could find with
If I've missed any please let me know.