mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-18 02:30:07 +00:00
Merge pull request #886 from dritter/github_templates
Add GitHub templates
This commit is contained in:
commit
da1e017f14
2 changed files with 67 additions and 0 deletions
35
.github/ISSUE_TEMPLATE.md
vendored
Normal file
35
.github/ISSUE_TEMPLATE.md
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
Thanks for opening an issue! For a project that deals with as many different things as P9k, debugging problems can be difficult. Please follow the guide, below, to create a bug report that will help us help you!
|
||||
|
||||
### Before Opening a Bug
|
||||
P9k is lovingly maintained by volunteers, and we are happy to help you! You can help us by first making sure your issue hasn't already been solved before opening a new one. Please check the [Troubleshooting Guide](https://github.com/bhilburn/powerlevel9k/wiki/Troubleshooting) first. Many issues are actually local configuration problems, which may have previously been solved by another user - be sure to also [search the existing issues](https://github.com/bhilburn/powerlevel9k/issues?utf8=%E2%9C%93&q=is%3Aissue) before opening a new one.
|
||||
|
||||
Once you've done these things, you can delete this section and proceed `=)`
|
||||
|
||||
-----
|
||||
|
||||
#### Describe Your Issue
|
||||
What is happening?
|
||||
|
||||
Most issues are best explained with a screenshot. Please share one if you can!
|
||||
|
||||
#### Have you tried to debug or fix it?
|
||||
|
||||
|
||||
Have you tinkered with your settings, and what happened when you did? Did you find a bit of code that you think might be the culprit? Let us know what you've done so far!
|
||||
|
||||
#### Environment Information
|
||||
This information will help us understand your configuration.
|
||||
|
||||
- What version of ZSH are you using? You can use `zsh --version` to see this.
|
||||
- Do you use a ZSH framework (e.g., Oh-My-ZSH, Antigen)?
|
||||
- How did you install P9k (cloning the repo, by tarball, a package from your OS, etc.,)?
|
||||
- What version of P9k are you using?
|
||||
- Which terminal emulator do you use?
|
||||
|
||||
#### Issues with Fonts & Icons
|
||||
You may delete this section if your issue is not font / icon related.
|
||||
|
||||
- Which font do you use?
|
||||
- Which [font configuration mode](https://github.com/bhilburn/powerlevel9k/wiki/About-Fonts) are you using? You can check this with (`echo $POWERLEVEL9K_MODE`).
|
||||
- Please share the contents of `$P9k/debug/font-issues.zsh`.
|
||||
- If this is an icon problem, does the output of `$ get_icon_names` look correct?
|
32
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
32
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
Thank you so much for opening a PR for P9k! Many of our best features and segments have come from the community, and we are excited to see your contribution.
|
||||
|
||||
To help you make the best PR, here are some guidelines:
|
||||
|
||||
- The `master` branch is our *stable* branch, and the `next` branch is our development branch. If you are submitting a bug fix, please file your PR against `master`. If it is a new feature, enhancement, segment, or something similar, please submit it against `next`. For more information, please see our [Developer's Guide](https://github.com/bhilburn/powerlevel9k/wiki/Developer's-Guide).
|
||||
- We maintain unit tests for segments and features in the `test` directory. Please add unit tests for anything new you have developed! If you aren't sure how to do this, go ahead and file your PR and ask for help!
|
||||
- For running manual tests in different environments, we have Vagrant and Docker configurations. Please see the [Test README](https://github.com/bhilburn/powerlevel9k/blob/next/TESTS.md) and make sure your new feature is working as expected!
|
||||
- If your PR requires user configuration, please make sure that it includes an update to the README describing this.
|
||||
- P9k maintains a lot of useful information in our [Wiki](https://github.com/bhilburn/powerlevel9k/wiki). Depending on the content of your PR, we might ask you to update the Wiki (or provide text for us to use) to document your work. Most PRs don't require this.
|
||||
- Please make your commit messages useful! Here is a [great short guide on useful commit messages](https://code.likeagirl.io/useful-tips-for-writing-better-git-commit-messages-808770609503).
|
||||
|
||||
Once you have submitted your PR, P9k core contributors will review the code and work with you to get it merged. During this process, we might request changes to your code and discuss different ways of doing things. This is all part of the open source process, and our goal is to help you create the best contribution possible for P9k `=)`.
|
||||
|
||||
Please follow this template for creating your PR:
|
||||
|
||||
#### Title
|
||||
Please make the title of your PR descriptive! If appropriate, please prefix the title with one of these tags:
|
||||
|
||||
- [Bugfix]
|
||||
- [New Segment]
|
||||
- [Docs]
|
||||
- [Enhancement]
|
||||
|
||||
#### Description
|
||||
Please describe the contribution your PR makes! Screenshots are especially helpful, here, if it's a new segment.
|
||||
|
||||
If your PR is addressing an issue, please reference the Issue number here.
|
||||
|
||||
#### Questions
|
||||
Is there something in your PR you're not sure about or need help with? Is there a particular piece of code you would like feedback on? Let us know here!
|
||||
|
||||
|
Loading…
Reference in a new issue