Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRename check_no_unwrap.sh to check_no_panic.sh #10942
Conversation
highfive
commented
Apr 30, 2016
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @metajack (or someone else) soon. |
highfive
commented
Apr 30, 2016
|
Heads up! This PR modifies the following files:
|
| FILES=("components/compositing/compositor.rs" | ||
| "components/compositing/pipeline.rs" | ||
| "components/compositing/constellation.rs") | ||
|
|
||
| ! grep -n "unwrap(\|panic!(" "${FILES[@]}" | ||
| ! grep -n "panic(\|panic!(" "${FILES[@]}" |
This comment has been minimized.
This comment has been minimized.
|
Could you also claim the issue saying that you're working on it next time? This is to prevent having two or more people working on the same issue. |
|
I'm sorry for not having written in advance, and I'll take care from now on. |
|
r? @aneeshusa |
| set -o errexit | ||
| set -o nounset | ||
| set -o pipefail | ||
|
|
||
| cd $(git rev-parse --show-toplevel) # cd into repo root so make sure paths works in any case | ||
|
|
||
| # files that should not contain "unwrap" | ||
| # files that should not contain "panic" |
This comment has been minimized.
This comment has been minimized.
aneeshusa
Apr 30, 2016
Member
I actually think we can get rid of this comment, the first one makes this redundant.
| @@ -1,13 +1,13 @@ | |||
| #!/bin/bash | |||
| # | |||
| # Make sure listed files do not contain "unwrap" | |||
| # Make sure listed files do not contain "panic" | |||
This comment has been minimized.
This comment has been minimized.
|
@6br thanks for the PR! As I mentioned in the issue, this is blocked on servo/saltfs#316, so it may be a while before this is merged. (It's meant to be an example/test run for having CI steps in tree - this isn't a particularly urgent change.) Also, good catch about updating |
|
Thanks for your review. I fixed the comments. |
|
|
|
|
|
|
|
Is this still active? @aneeshusa, it seems to be awaiting for your review (though it now needs a rebase from @6br too). |
|
Still blocked on servo/saltfs#316. |
|
Huh, true, sorry for not noticing |
|
|
|
|
|
servo/saltfs#316 has been fixed and it looks like all the kinks have been worked out, so this is no longer blocked. Thanks for your patience while that was fixed! This needs one more change before merging: we need to update the steps for |
|
|
|
Sure, I fixed |
|
@bors-servo r+ |
|
|
Rename check_no_unwrap.sh to check_no_panic.sh Hello, I fixed #10930. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10942) <!-- Reviewable:end -->
|
|
6br commentedApr 30, 2016
•
edited by larsbergstrom
Hello, I fixed #10930.
This change is