Skip to content

Commit

Permalink
Merge branch 'main' into add-runner-image
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde committed Aug 15, 2023
2 parents 143737d + 80726e2 commit bc21799
Show file tree
Hide file tree
Showing 354 changed files with 14,576 additions and 6,089 deletions.
21 changes: 9 additions & 12 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Zebra cargo configuration

# Disabled until we upgrade to abscissa 0.7 or later:
# https://github.com/ZcashFoundation/zebra/issues/5502
# https://doc.rust-lang.org/cargo/reference/future-incompat-report.html
[future-incompat-report]
frequency = "never"

# Flags that apply to all Zebra crates and configurations
[target.'cfg(all())']
rustflags = [
Expand Down Expand Up @@ -61,12 +55,6 @@ rustflags = [
# Documentation
"-Wmissing_docs",

# These rustdoc -A and -W settings must be the same as the RUSTDOCFLAGS in:
# https://github.com/ZcashFoundation/zebra/blob/main/.github/workflows/lint.yml#L152

# Links in public docs can point to private items.
"-Arustdoc::private_intra_doc_links",

# TODOs:
# `cargo fix` might help do these fixes,
# or add a config.toml to sub-directories which should allow these lints,
Expand All @@ -88,3 +76,12 @@ rustflags = [
# fix hidden lifetime parameters
#"-Wrust_2018_idioms",
]

[build]
rustdocflags = [
# The -A and -W settings must be the same as the `RUSTDOCFLAGS` in:
# https://github.com/ZcashFoundation/zebra/blob/main/.github/workflows/lint.yml#L151

# Links in public docs can point to private items.
"-Arustdoc::private_intra_doc_links",
]
13 changes: 7 additions & 6 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Before the docker CLI sends the context to the docker daemon, it looks for a file
# named .dockerignore in the root directory of the context. If this file exists, the
# CLI modifies the context to exclude files and directories that match patterns in it.
# Before the docker CLI sends the context to the docker daemon, it looks for a file
# named .dockerignore in the root directory of the context. If this file exists, the
# CLI modifies the context to exclude files and directories that match patterns in it.
#
# You may want to specify which files to include in the context, rather than which
# to exclude. To achieve this, specify * as the first pattern, followed by one or
# You may want to specify which files to include in the context, rather than which
# to exclude. To achieve this, specify * as the first pattern, followed by one or
# more ! exception patterns.
#
#
# https://docs.docker.com/engine/reference/builder/#dockerignore-file

# Exclude everything:
Expand All @@ -21,3 +21,4 @@
!zebra-*
!zebrad
!docker/entrypoint.sh
!docker/runtime-entrypoint.sh
21 changes: 21 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"projects": {
"default": "zfnd-prod-zebra"
},
"targets": {
"zfnd-prod-zebra": {
"hosting": {
"docs-book": [
"zebra-docs-book"
],
"docs-external": [
"zebra-docs-external"
],
"docs-internal": [
"zebra-docs-internal"
]
}
}
},
"etags": {}
}
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/zebrad/src/commands/start.rs @ZcashFoundation/general-rust-reviewers

# Network and Async Code
/tower-batch/ @ZcashFoundation/network-reviewers
/tower-batch-control/ @ZcashFoundation/network-reviewers
/tower-fallback/ @ZcashFoundation/network-reviewers
/zebra-network/ @ZcashFoundation/network-reviewers
/zebra-node-services/ @ZcashFoundation/network-reviewers
Expand Down
69 changes: 0 additions & 69 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

73 changes: 73 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: '🐛 Bug report'
description: Create a report to help us improve
title: 'bug: '
labels: [C-bug, S-needs-triage]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to report a bug in Zebra!
Please fill out the sections below to help us reproduce and fix the bug.
If you have a question, please ask on [Discord](https://discord.gg/fP2JGmhm) or [GitHub Discussions](https://github.com/ZcashFoundation/zebra/discussions)
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
value: '
I expected to see this happen:
Instead, this happened:
'
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: What were you doing when the issue happened?
description: Copy and paste the exact commands or code here.
placeholder: 'Behavior or code sample that causes the bug'
validations:
required: false
- type: textarea
id: logs
attributes:
label: Zebra logs
description: Copy and paste the last 100 Zebra log lines or upload the full logs to https://gist.github.com/ and add a link to them here.
placeholder: 'Copy and paste the logs here'
validations:
required: false
- type: input
id: zebrad-version
attributes:
label: Zebra Version
description: 'For bugs in `zebrad`, run `zebrad --version`.'
placeholder: 'zebrad 1.0.0-placeholder'
validations:
required: false
- type: checkboxes
id: os
attributes:
label: Which operating systems does the issue happen on?
description: You may select more than one.
options:
- label: Linux
- label: macOS
- label: Windows
- label: Other OS
- type: input
id: os-details
attributes:
label: OS details
description: 'Linux, macOS, BSD: the output of `uname -a`; Windows: version and 32-bit or 64-bit; Other OS: name and version'
validations:
required: false
- type: textarea
id: anything-else
attributes:
label: Additional information
description: Is there anything else that could help us solve this issue?
validations:
required: false
9 changes: 8 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
blank_issues_enabled: true
blank_issues_enabled: false
contact_links:
- name: 💬 Zcash Community Support
url: https://forum.zcashcommunity.com/
about: You're invited to ask questions about the ecosystem, community and Zebra
- name: ❓ General Questions about Zebra
url: https://github.com/ZcashFoundation/zebra/discussions/categories/q-a
about: Please ask and answer questions about Zebra as a discussion threads
67 changes: 67 additions & 0 deletions .github/ISSUE_TEMPLATE/devops_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
name: '🚦 DevOps Report'
description: Issues related to the Zebra build, test, or release process.
title: 'devops: '
labels: [A-devops, C-bug, S-needs-triage]
body:
- type: markdown
attributes:
value: |
Thank you for taking the time to report a bug in Zebra!
Please fill out the sections below to help us reproduce and fix the bug.
If you have a question, please ask on [Discord](https://discord.gg/fP2JGmhm) or [GitHub Discussions](https://github.com/ZcashFoundation/zebra/discussions)
- type: textarea
id: description
attributes:
label: Describe the issue or request
description: What is the problem? A clear and concise description of the bug.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: |
What did you expect to happen?
validations:
required: false
- type: textarea
id: current
attributes:
label: Current Behavior
description: |
What actually happened?
Please include full errors, uncaught exceptions, stack traces, and relevant logs.
Links to the faulty logs in GitHub Actions or other places are also welcomed.
validations:
required: false
- type: textarea
id: solution
attributes:
label: Possible Solution
description: |
Suggest a fix/reason for the bug
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional Information/Context
description: |
Anything else that might be relevant for troubleshooting this bug. Providing context helps us come up with a solution that is most useful for the community.
validations:
required: false
- type: input
id: on-prs
attributes:
label: Is this happening on PRs?
validations:
required: false
- type: input
id: on-main
attributes:
label: Is this happening on the main branch?
validations:
required: false
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

Loading

0 comments on commit bc21799

Please sign in to comment.