Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

add templated documentation for isses and PRs

edgarriba058dfd63063d
diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md
new file mode 100644
index 000000000..c787c0641
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.md
@@ -0,0 +1,50 @@
+---
+name: "\U0001F41B Bug Report"
+about: Submit a bug report to help us improve Kornia
+
+---
+
+## πŸ› Bug
+
+<!-- A clear and concise description of what the bug is. -->
+
+## To Reproduce
+
+Steps to reproduce the behavior:
+
+1.
+1.
+1.
+
+<!-- If you have a code sample, error messages, stack traces, please provide it here as well -->
+
+## Expected behavior
+
+<!-- A clear and concise description of what you expected to happen. -->
+
+## Environment
+
+Please copy and paste the output from our
+[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
+(or fill out the checklist below manually).
+
+You can get the script and run it with:
+```
+wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
+# For security purposes, please check the contents of collect_env.py before running it.
+python collect_env.py
+```
+
+ - PyTorch Version (e.g., 1.0):
+ - OS (e.g., Linux):
+ - How you installed PyTorch (`conda`, `pip`, source):
+ - Build command you used (if compiling from source):
+ - Python version:
+ - CUDA/cuDNN version:
+ - GPU models and configuration:
+ - Any other relevant information:
+
+## Additional context
+
+<!-- Add any other context about the problem here. -->
+
diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md
new file mode 100644
index 000000000..edb20ef75
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/documentation.md
@@ -0,0 +1,10 @@
+---
+name: "\U0001F4DA Documentation"
+about: Report an issue related to https://kornia.readthedocs.io
+
+---
+
+## πŸ“š Documentation
+
+<!-- A clear and concise description of what content in https://kornia.readthedocs.io is an issue. If this has to do with the general https://kornia.org website, please file an issue at https://github.com/kornia/kornia.github.io/issues/new/choose instead. If this has to do with https://kornia.org/tutorials, please file an issue at https://github.com/kornia/tutorials/issues/new -->
+
diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md
new file mode 100644
index 000000000..71317b147
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature-request.md
@@ -0,0 +1,25 @@
+---
+name: "\U0001F680Feature Request"
+about: Submit a proposal/request for a new Kornia feature
+
+---
+
+## πŸš€ Feature
+<!-- A clear and concise description of the feature proposal -->
+
+## Motivation
+
+<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
+
+## Pitch
+
+<!-- A clear and concise description of what you want to happen. -->
+
+## Alternatives
+
+<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
+
+## Additional context
+
+<!-- Add any other context or screenshots about the feature request here. -->
+
diff --git a/.github/ISSUE_TEMPLATE/questions-help-support.md b/.github/ISSUE_TEMPLATE/questions-help-support.md
new file mode 100644
index 000000000..8722923c9
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/questions-help-support.md
@@ -0,0 +1,14 @@
+---
+name: "❓Questions/Help/Support"
+about: Do you need support? We have resources.
+
+---
+
+## ❓ Questions and Help
+
+### Please note that this issue tracker is not a help form and this issue will be closed.
+
+We have a set of [listed resources available on the Wiki](https://github.com/kornia/kornia/wiki). Our primary means of support is our discussion forum:
+
+- [Discussion Forum](https://discuss.pytorch.org/c/vision/kornia)
+
diff --git a/.github/pull-request-template.md b/.github/pull-request-template.md
new file mode 100644
index 000000000..72eeb73b5
--- /dev/null
+++ b/.github/pull-request-template.md
@@ -0,0 +1,46 @@
+### Description
+A few sentences describing the changes proposed in this pull request.
+
+### Status
+**Ready/Work in progress/Hold**
+
+### Types of changes
+<!--- Put an `x` in all the boxes that apply, and remove the not applicable items -->
+- [x] Bug fix (non-breaking change which fixes an issue)
+- [ ] Breaking change (fix or new feature that would cause existing functionality to change)
+- [ ] New tests added to cover the changes
+- [ ] Docstrings/Documentation updated
+
+
+## PR Checklist
+### PR Implementer
+This is a small checklist for the implementation details of this PR.
+
+If there are any questions regarding code style or other conventions check out our
+[summary](https://github.com/kornia/kornia/blob/master/CONTRIBUTING.rst).
+
+- [ ] Did you discuss the functionality or any breaking changes before ?
+- [ ] *Pass all tests*: did you test in local ? `make test`
+- [ ] Unittests: did you add tests for your new functionality ?
+- [ ] Documentations: did you build documentation ? `make build-docs`
+- [ ] Implementation: is your code well commented and follow conventions ? `make lint`
+- [ ] Docstrings & Typing: has your code documentation and typing ? `make mypy`
+- [ ] Update notebooks & documentation if necessary
+
+### KorniaTeam
+<details>
+ <summary>KorniaTeam workflow</summary>
+ - [ ] Assign correct label
+ - [ ] Assign PR to a reviewer
+ - [ ] Does this PR close an Issue? (add `closes #IssueNumber` at the bottom if
+ not already in description)
+</details>
+
+### Reviewer
+<details>
+ <summary>Reviewer workflow</summary>
+ - [ ] Do all tests pass? (Unittests, Typing, Linting, Documentation, Environment)
+ - [ ] Does the implementation follow `kornia` design conventions?
+ - [ ] Is the documentation complete enough ?
+ - [ ] Are the tests covering simple and corner cases ?
+</details>