From 3eaf1e1760246c0f489118c81b940eb626e35e26 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Sun, 22 Dec 2024 18:23:45 +0000 Subject: [PATCH] Unify issue and PR templates with the other esp-idf- crates --- .github/ISSUE_TEMPLATE/bug_report.md | 23 ++++++----------------- .github/ISSUE_TEMPLATE/config.yml | 4 ++++ .github/ISSUE_TEMPLATE/feature_request.md | 6 ++---- .github/PULL_REQUEST_TEMPLATE.md | 18 ++++++++++++++++++ CHANGELOG.md | 16 ++++++++++++++++ 5 files changed, 46 insertions(+), 21 deletions(-) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 CHANGELOG.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 0296673..8f78912 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -2,7 +2,7 @@ name: Bug report about: Create a report to help us improve title: '' -labels: bug +labels: ["bug", "status:needs-attention"] assignees: '' --- @@ -27,30 +27,19 @@ matrix channel (https://matrix.to/#/#esp-rs:matrix.org) or open the issue--> ## To Reproduce -Steps to reproduce the behavior: - + 1. ... 2. ... -3. ... -4. ... - + ## Expected behavior - - -## Screenshots - - + ## Environment - - +- ESP-IDF branch or tag: [e.g. release/v5.2, v5.2.1, etc.] +- Target device (MCU): [e.g. esp32s3] - OS: [e.g. Ubuntu 20.04] - How did you install the environment: [e.g. espup 0.3.2] - -## Additional context - - diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 0086358..897d517 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1 +1,5 @@ blank_issues_enabled: true +contact_links: + - name: Ask questions in Matrix channel + url: https://matrix.to/#/#esp-rs:matrix.org + about: Ask any questions directly in our Matrix channel. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 3b54884..6e38ae0 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,16 +2,14 @@ name: Feature request about: Suggest an idea for this project title: '' -labels: enhancement +labels: ["enhancement", "status:needs-attention"] assignees: '' --- ## Motivations - + - Would you like to implement this feature? [y/n] diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..9b94efa --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,18 @@ +## Thank you for your contribution! + +We appreciate the time and effort you've put into this pull request. +To help us review it efficiently, please ensure you've gone through the following checklist: + +### Submission Checklist 📝 +- [ ] I have updated existing examples or added new ones (if applicable). +- [ ] I have used `cargo fmt` command to ensure that all changed code is formatted correctly. +- [ ] I have used `cargo clippy` command to ensure that all changed code passes latest Clippy nightly lints. +- [ ] My changes were added to the [`CHANGELOG.md`](https://github.com/esp-rs/esp-idf-template/blob/main/esp-idf-template/CHANGELOG.md) in the **_proper_** section. + +### Pull Request Details 📖 + +#### Description +Please provide a clear and concise description of your changes, including the motivation behind these changes. The context is crucial for the reviewers. + +#### Testing +Describe how you tested your changes. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..1bb09ab --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Deprecated + +### Breaking + +### Added + +### Fixed