-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add issue and PR templates, modify test and readme (#77)
Implemented new templates for bug reports, feature requests, and pull requests to improve project workflow. Also made adjustments to PackageTest and simplified the README, adding new contribution guidelines. These changes aim to better guide contributors and improve project maintenance.
- Loading branch information
Showing
6 changed files
with
161 additions
and
21 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
name: 🐞 Bug Report | ||
about: Something is broken? | ||
title: '[BUG]' | ||
labels: bug | ||
assignees: SmetDenis | ||
|
||
--- | ||
|
||
### Describe the issue | ||
A clear and concise description of what the bug is. | ||
|
||
|
||
### To Reproduce | ||
- [ ] Command you used `./csv-blueprint ...` | ||
- [ ] Attach schema/csv file(s). If you can't share the file, please provide a minimal example that reproduces the issue. | ||
|
||
```text | ||
<!-- Copy-paste the output --> | ||
``` | ||
|
||
|
||
### Expected behavior | ||
|
||
<!-- A clear and concise description of what you expected to happen. --> | ||
|
||
|
||
### Your environment | ||
|
||
| Question | Answer | | ||
|-----------------------|---------------------------------- | ||
| CSV Blueprint version | x.y.z | ||
| OS | Linux, Windows, macOS | ||
| PHP | 8.x.z | ||
| Composer | 2.x.z | ||
| Installation Method | Composer, Phar, Docker, GA, etc. | ||
|
||
Any links to the CI logs or the repository, if any. |
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,23 @@ | ||
--- | ||
name: 🎉 Feature Request | ||
about: You have a neat idea that should be implemented? | ||
title: '[FEATURE]' | ||
labels: enhancement | ||
assignees: SmetDenis | ||
|
||
--- | ||
|
||
### Is your feature request related to a problem? Please describe. | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
|
||
### Describe the solution you'd like | ||
A clear and concise description of what you want to happen. | ||
|
||
|
||
### Describe alternatives you've considered | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
|
||
### Additional context | ||
Add any other context or screenshots about the feature request here. |
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,42 @@ | ||
--- | ||
name: 🎉 New Pull Request | ||
about: You have implemented some neat idea that you want to make part of CSV Blueprint? | ||
labels: enhancement | ||
--- | ||
|
||
# Pull Request Template | ||
|
||
## Description | ||
|
||
Please include a summary of the change and which issue is fixed. | ||
Also, include relevant motivation and context. List any dependencies that are required for this change. | ||
|
||
Fixes # (issue) | ||
|
||
## Type of change | ||
|
||
Please delete options that are not relevant. | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
|
||
## How Has This Been Tested? | ||
|
||
Please describe the tests that you ran to verify your changes. | ||
Provide instructions so we can reproduce. Please also list any relevant details for your test configuration. | ||
|
||
- [ ] Test A | ||
- [ ] Test B | ||
|
||
|
||
## Checklist: | ||
|
||
- [ ] `make test` passes. | ||
- [ ] `make codestyle` passes. | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] New and existing unit tests pass locally with my changes | ||
- [ ] Any dependent changes have been merged and published in downstream modules |
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,23 @@ | ||
# Contributing | ||
|
||
If you have any ideas or suggestions, feel free to open an issue or create a pull request. | ||
|
||
```sh | ||
# Fork the repo and build project | ||
git clone git@github.com:jbzoo/csv-blueprint.git ./jbzoo-csv-blueprint | ||
cd ./jbzoo-csv-blueprint | ||
make build | ||
|
||
# Make your local changes | ||
|
||
# Autofix code style | ||
make test-phpcsfixer-fix test-phpcs | ||
|
||
# Run all tests and check code style | ||
make test | ||
make codestyle | ||
|
||
# Create your pull request and check all tests in CI (Github Actions) | ||
# ??? | ||
# Profit! | ||
``` |
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