-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* revamp contrib and add more details * mention miners/validators and address feedback * update links for templates * reword PR template section making CI checks passing REQUIRED * use commit hash instead of version for representative tagging * add link to commit rule examples section * add interactive rebase and fixup mentions/examples * add tooling mentions, move rebase -i/--fixup to bottom * remove line referencing github actions * update github ISSUE_TEMPLATEs * add short description of miners and validtors * add black format check to circleCI * exclude /env * update debug to be more relevant, add tricks * address feedback RE PR steps and dev workflow * update style guide to resolve tension between atomic commits and squashing
- Loading branch information
Showing
26 changed files
with
1,185 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ version: 2.1 | |
|
||
orbs: | ||
python: circleci/[email protected] | ||
python-lib: dialogue/[email protected] | ||
# coveralls: coveralls/[email protected] | ||
|
||
jobs: | ||
|
||
black: | ||
resource_class: small | ||
parameters: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Bug report | ||
description: Create a report to help us improve | ||
labels: [bug] | ||
assignees: [] | ||
|
||
body: | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: To Reproduce | ||
description: Steps to reproduce the behavior. | ||
placeholder: | | ||
1. Go to '...' | ||
2. Run command '...' | ||
3. Scroll down to '....' | ||
4. See error | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected behavior | ||
description: A clear and concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots | ||
description: If applicable, add screenshots to help explain your problem. | ||
validations: | ||
required: false | ||
|
||
- type: input | ||
id: environment | ||
attributes: | ||
label: Environment | ||
description: Please specify your OS and Distro, and Bittensor Version. | ||
placeholder: "OS and Distro: [e.g. Linux Ubuntu, Linux Fedora, etc.], Bittensor Version [e.g. 22]" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. | ||
validations: | ||
required: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project | ||
labels: [feature] | ||
assignees: [] | ||
|
||
body: | ||
- type: textarea | ||
id: problem-description | ||
attributes: | ||
label: Is your feature request related to a problem? Please describe. | ||
description: A clear and concise description of what the problem is. | ||
placeholder: "Ex. I'm always frustrated when [...]" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or screenshots about the feature request here. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,62 @@ | ||
### Requirements for Contributing a Bug Fix | ||
|
||
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion. | ||
* The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at <https://github.com/opentensor/bittensor/tree/master/.github/PULL_REQUEST_TEMPLATE>. | ||
* The pull request must update the test suite to demonstrate the changed functionality. | ||
* After you create the pull request, all status checks must pass before a maintainer reviews your contribution. This means that all the tests must pass your pull request before a maintainer is tagged to review. | ||
|
||
### Identify the Bug | ||
|
||
<!-- | ||
Link to the issue describing the bug that you're fixing. | ||
If there is not yet an issue for your bug, please open a new issue and then link to that issue in your pull request. | ||
Note: In some cases, one person's "bug" is another person's "feature." If the pull request does not address an existing issue with the "bug" label, the maintainers have the final say on whether the current behavior is a bug. | ||
--> | ||
|
||
### Description of the Change | ||
|
||
<!-- | ||
We must be able to understand the design of your change from this description. If we can't get a good idea of what the code will be doing from the description here, the pull request may be closed at the maintainers' discretion. Keep in mind that the maintainer reviewing this PR may not be familiar with or have worked with the code here recently, so please walk us through the concepts. | ||
--> | ||
|
||
|
||
### Possible Drawbacks | ||
|
||
<!-- What are the possible side-effects or negative impacts of the code change? --> | ||
|
||
### Verification Process | ||
|
||
<!-- | ||
What process did you follow to verify that the change has not introduced any regressions? Describe the actions you performed (including buttons you clicked, text you typed, commands you ran, etc.), and describe the results you observed. | ||
--> | ||
|
||
### Release Notes | ||
|
||
<!-- | ||
Please describe the changes in a single line that explains this improvement in | ||
terms that a user can understand. This text will be used in Atom's release notes. | ||
If this change is not user-facing or notable enough to be included in release notes | ||
you may use the strings "Not applicable" or "N/A" here. | ||
Examples: | ||
- The GitHub package now allows you to add co-authors to commits. | ||
- Fixed an issue where multiple cursors did not work in a file with a single line. | ||
- Increased the performance of searching and replacing across a whole project. | ||
--> | ||
name: Bug Fix Contribution | ||
description: Use this template when contributing a bug fix. | ||
labels: [bug, pull request] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
### Requirements for Contributing a Bug Fix | ||
|
||
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion. | ||
* The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at <https://github.com/atom/.github/tree/master/.github/PULL_REQUEST_TEMPLATE>. | ||
* The pull request must update the test suite to demonstrate the changed functionality. For guidance, please see <https://flight-manual.atom.io/hacking-atom/sections/writing-specs/>. | ||
* After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see <https://github.com/atom/.github/tree/master/CONTRIBUTING.md#pull-requests>. | ||
|
||
- type: input | ||
id: bug | ||
attributes: | ||
label: Identify the Bug | ||
description: Link to the issue describing the bug that you're fixing. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: change | ||
attributes: | ||
label: Description of the Change | ||
description: We must be able to understand the design of your change from this description. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: alternate | ||
attributes: | ||
label: Alternate Designs | ||
description: Explain what other alternates were considered and why the proposed version was selected. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: drawbacks | ||
attributes: | ||
label: Possible Drawbacks | ||
description: What are the possible side-effects or negative impacts of the code change? | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: verification | ||
attributes: | ||
label: Verification Process | ||
description: What process did you follow to verify that the change has not introduced any regressions? | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: release-notes | ||
attributes: | ||
label: Release Notes | ||
description: Please describe the changes in a single line that explains this improvement in terms that a user can understand. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.