Expand description
Recursively searches local directory for references to issues that are closed.
Requires a Github access token as this program will make queries to the GitHub API where authentication is needed.
Example usage:
(from the root directory of the Zebra repo)
GITHUB_TOKEN={valid_github_access_token} search-issue-refs
Example output:
Found 3 possible issue refs, checking Github issue statuses..
Found reference to closed issue #4794: ./zebra-rpc/src/methods/get_block_template_rpcs.rs:114:19 https://github.com/ZcashFoundation/zebra/blob/main/zebra-rpc/src/methods/get_block_template_rpcs.rs#L114 https://github.com/ZcashFoundation/zebra/issues/4794
Found reference to closed issue #2379: ./zebra-consensus/src/transaction.rs:717:49 https://github.com/ZcashFoundation/zebra/blob/main/zebra-consensus/src/transaction.rs#L717 https://github.com/ZcashFoundation/zebra/issues/2379
Found reference to closed issue #3027: ./zebra-consensus/src/transaction/check.rs:319:6 https://github.com/ZcashFoundation/zebra/blob/main/zebra-consensus/src/transaction/check.rs#L319 https://github.com/ZcashFoundation/zebra/issues/3027
Found 3 references to closed issues.
Structsยง
- Possible
Issue ๐Ref
Constantsยง
- GITHUB_
TOKEN_ ๐ENV_ KEY - VALID_
EXTENSIONS ๐
Functionsยง
- check_
file_ ๐ext - crate_
mod_ ๐path - github_
issue_ ๐api_ url - github_
issue_ ๐url - github_
permalink ๐ - github_
ref_ ๐api_ url - github_
remote_ ๐file_ ref - main ๐
- Process entry point for
search-issue-refs
- search_
directory ๐
Type Aliasesยง
- IssueId ๐