diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md new file mode 100755 index 0000000..675ee4e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.md @@ -0,0 +1,40 @@ +--- +name: 🐛 Bug Report +about: Something isn't working as expected +labels: bug +--- + + + +Replace this paragraph with a short description of the incorrect behavior. +(If this is a regression, please note the last version of the package that exhibited the correct behavior in addition to your current version.) + +### Information + +- **Package version:** What tag or branch of swift-atomics are you using? +- **Platform version:** Please tell us the version number of your operating system. +- **Swift version:** Paste the output of `swift --version` here. + +### Checklist + +- [ ] If possible, I've reproduced the issue using the `main` branch of this package. +- [ ] I've searched for [existing reports](https://github.com/apple/swift-atomics/issues) of the same issue. + +### Steps to Reproduce +Replace this paragraph with an explanation of how to reproduce the incorrect behavior. +Include a simple code example, if possible. + +### Expected behavior +Describe what you expect to happen. + +### Actual behavior +Describe or copy/paste the behavior you observe. diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md new file mode 100755 index 0000000..460254b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md @@ -0,0 +1,13 @@ +--- +name: 💡 Feature Request +about: A suggestion for a new feature +labels: enhancement +--- + + + + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..8ef38e4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: ❓ Discussion Forum + url: https://forums.swift.org/c/related-projects/swift-atomics/ + about: Questions about using Swift Atomics? Ask here! diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..7ad4b92 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,22 @@ + + + + + + + + + +### Checklist +- [ ] I've read the [Contribution Guidelines](/README.md#contributing-to-swift-atomics) +- [ ] My contributions are licensed under the [Swift license](/LICENSE.txt). +- [ ] I've followed the coding style of the rest of the project. +- [ ] I've added tests covering all new code paths my change adds to the project (if appropriate). +- [ ] I've verified that my change does not break any existing tests. +- [ ] I've updated the documentation if necessary. diff --git a/.github/PULL_REQUEST_TEMPLATE/NEW.md b/.github/PULL_REQUEST_TEMPLATE/NEW.md new file mode 100644 index 0000000..79c9206 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/NEW.md @@ -0,0 +1,44 @@ + + +### Description +Replace this paragraph with a description of your changes and rationale. +Provide links to an existing issue or external references/discussions, if appropriate. + +### Detailed Design +Include any additional information about the design here. At minimum, describe a synopsis of any public API additions. + +```swift +/// The new feature implemented by this pull request. +public struct Example: AtomicValue { +} +``` + +### Documentation +How has the new feature been documented? +Have the relevant portions of the guides in the Documentation folder been updated in addition to symbol-level documentation? + +### Testing +How is the new feature tested? + +### Performance +How did you verify the new feature performs as expected? + +### Source Impact +What is the impact of this change on existing users of this package? Does it deprecate or remove any existing API? + +### Checklist +- [ ] I've read the [Contribution Guidelines](/README.md#contributing-to-swift-atomics) +- [ ] My contributions are licensed under the [Swift license](https://swift.org/LICENSE.txt). +- [ ] I've followed the coding style of the rest of the project. +- [ ] I've added tests covering all new code paths my change adds to the project (to the extent possible). +- [ ] I've verified that my change does not break any existing tests. +- [ ] I've updated the documentation (if appropriate).