Open an issue when:
- You have questions or concerns regarding the project or the application itself.
- You have a bug to report.
- You have a feature or a suggestion to improve tui-realm to submit.
If you have a question open an issue using the Question
template.
By default your question should already be labeled with the question
label, if you need help with your installation, please also add the help wanted
label.
Check the issue is always assigned to veeso
.
If you want to report an issue or a bug you've encountered while using tui-realm, open an issue using the Bug report
template.
The Bug
label should already be set and the issue should already be assigned to veeso
.
Don't set other labels to your issue, not even priority.
When you open a bug try to be the most precise as possible in describing your issue. I'm not saying you should always be that precise, since sometimes it's very easy for maintainers to understand what you're talking about. Just try to be reasonable to understand sometimes we might not know what you're talking about or we just don't have the technical knowledge you might think. Please always provide the environment you're working on and consider I only offer support for the latest release of the library. Last but not least: the template I've written must be used. Full stop.
Maintainers will may add additional labels to your issue:
- duplicate: the issue is duplicated; the reference to the related issue will be added to your description. Your issue will be closed.
- priority: this must be fixed asap
- sorcery: it is not possible to find out what's causing your bug, nor is reproducible on our test environments.
- wontfix: your bug has a very high ratio between the probability to encounter it and the difficult to fix it, or it just isn't a bug, but a feature.
Let's make it simple and clear:
- Open a PR with an appropriate label (e.g. bug, enhancement, ...).
- Write a properly documentation for your software compliant with rustdoc standard.
- Write tests for your code
- Check your code with
cargo clippy
. - Check if the CI for your commits reports three-green.
- Report changes to the PR you opened, writing a report of what you changed and what you have introduced.
- Update the
CHANGELOG.md
file with details of changes to the application. In changelog report changes under a chapter calledPR{PULL_REQUEST_NUMBER}
(e.g. PR12). - Assign a maintainer to the reviewers.
- Request maintainers to merge your changes.
In addition to the process described for the PRs, I've also decided to introduce a list of guidelines to follow when writing the code, that should be followed:
- Let's stop the NPM apocalypse: personally I'm against the abuse of dependencies we make in software projects and I think that NodeJS has opened the way to this drama (and has already gone too far). Nowadays nobody cares about adding hundreds of dependencies to their projects. Don't misunderstand me: I think that package managers are cool, but I'm totally against the abuse we're making of them. I think when we work on a project, we should try to use the minor quantity of dependencies as possible, especially because it's not hard to see how many libraries are getting abandoned right now, causing compatibility issues after a while. So please, when working on tui-realm, try not to add useless dependencies.
- Test units matter: Whenever you implement something new to this project, always implement test units which cover the most cases as possible.
- Comments are useful: Many people say that the code should be that simple to talk by itself about what it does, and comments should then be useless. I personally don't agree. I'm not saying they're wrong, but I'm just saying that this approach has, in my personal opinion, many aspects which are underrated:
- What's obvious for me, might not be for the others.
- Our capacity to work on a code depends mostly on time and experience, not on complexity: I'm not denying complexity matter, but the most decisive factor when working on code is the experience we've acquired working on it and the time we've spent. As the author of the project, I know the project like the back of my hands, but if I didn't work on it for a year, then I would probably have some problems in working on it again as the same speed as before. And do you know what's really time-saving in these cases? Comments.
Thank you for any contribution!
Christian veeso
Visintin