-
Notifications
You must be signed in to change notification settings - Fork 7
Quiet mode and doc fixes #22
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
Conversation
Add a "quiet" mode for non-CI usage when we want things to be quick and quiet.
This allows the run_task script to control output even in the extra_test and extra_lint scripts. This might polute the script if a lot of logic is put in the extra_* scripts, but that isn't their intended use.
|
There is already an open issue in rust-bitcoin for the dup deps: rust-bitcoin/rust-bitcoin#4865 |
|
This is hot AF. I love the quiet mode, you rule. I tested this with the whitelist file I posted here: rust-bitcoin/rust-bitcoin#4865 (comment) |
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 97df681
|
@apoelstra do you remember where we put that merge-policy document? The one that has a table with each crate and the merge policy? I don't remember the merge policy here, since we can't use merged changes without a PR to each downstream repo I think we can just one-ack merge? Will give you a few days to look though. |
|
lol, shellcheck hates you @nyonson |
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 b2329b8
|
utACK b2329b8 |
|
@tcharding I think you can one-ACK merge here. If I'm really concerned about something I can read it before we start using it. |
|
Got it, cheers. |
First patch cleans up some docs, the second adds a
MAINTAINER_TOOLS_LOG_LEVELenvironment variable to run the tasks in quiet mode. Went with an env var over a flag to avoid parsing.While testing this locally with rust-bitcoin, I noticed that the
do_dup_depstest is actually failing right now. Is that by design? Here I have updated the task toerrinstead of justsay_errto be more noticeable. But tbh, I am not quite sure the best way to "fix" rust-bitcoin in its current state.