Skip to content
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

Fix All Deep Source Shell Issues and Go Issues #8661

Merged
merged 10 commits into from
Mar 24, 2021
Merged

Conversation

rauljordan
Copy link
Contributor

@rauljordan rauljordan commented Mar 24, 2021

This PR resolves all pending deep source issues for shell scripts, which make all PRs that are targeting the non-default branch red

@rauljordan rauljordan changed the base branch from mybranch to develop March 24, 2021 16:18
@rauljordan rauljordan marked this pull request as ready for review March 24, 2021 16:19
@rauljordan rauljordan requested a review from a team as a code owner March 24, 2021 16:19
@rauljordan rauljordan changed the title Shell fixes Fix All Deep Source Shell Issues Mar 24, 2021
@rauljordan rauljordan self-assigned this Mar 24, 2021
echo "Issue referenced has already been closed" >&2;
echo "Issue Number: $issueNum" >&2;
exit 1;
fi
done < <(grep -PrinH -o -h '(?<!context\.)todo\(#{0,1}\K(\d+)' --include \*.go *)
done < <(grep -PrinH -o -h '(?<!context\.)todo\(#{0,1}\K(\d+)' --include ./*.go)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this cover all go files (or should it be ./**/*.go instead)?

@@ -1,24 +1,23 @@
#!/bin/bash

# Continuous integration script to check that TODOs are in the correct format
OUTPUT="$(grep -PrinH '(?<!context\.)todo(?!\(#{0,1}\d+\))' --include \*.go --exclude *site_data.go --exclude *mainnet_config.go *)";
OUTPUT="$(grep -PrinH '(?<!context\.)todo(?!\(#{0,1}\d+\))' --include ./**/*.go --exclude ./*site_data.go --exclude ./*mainnet_config.go)";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, will ./*site_data.go match all those items that *site_data.go covers?

@rauljordan rauljordan changed the title Fix All Deep Source Shell Issues Fix All Deep Source Shell Issues and Go Issues Mar 24, 2021
@codecov
Copy link

codecov bot commented Mar 24, 2021

Codecov Report

Merging #8661 (c97c3cd) into develop (b2d9f9a) will increase coverage by 0.02%.
The diff coverage is 50.00%.

@@             Coverage Diff             @@
##           develop    #8661      +/-   ##
===========================================
+ Coverage    61.22%   61.24%   +0.02%     
===========================================
  Files          494      494              
  Lines        34345    34343       -2     
===========================================
+ Hits         21027    21035       +8     
+ Misses       10177    10170       -7     
+ Partials      3141     3138       -3     

@prylabs-bulldozer prylabs-bulldozer bot merged commit 82f25ba into develop Mar 24, 2021
@delete-merged-branch delete-merged-branch bot deleted the shell-fixes branch March 24, 2021 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants