-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bug/netusage
- Loading branch information
Showing
1 changed file
with
54 additions
and
8 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 |
---|---|---|
@@ -1,19 +1,65 @@ | ||
# Contributing | ||
# Contributing to Mobile Verification Toolkit (MVT) | ||
|
||
Thank you for your interest in contributing to Mobile Verification Toolkit (MVT)! Your help is very much appreciated. | ||
We greatly appreciate contributions to MVT! | ||
|
||
Your involvement, whether through identifying issues, improving functionality, or enhancing documentation, is very much appreciated. To ensure smooth collaboration and a welcoming environment, we've outlined some key guidelines for contributing below. | ||
|
||
## Where to start | ||
## Getting started | ||
|
||
Starting to contribute to a somewhat complex project like MVT might seem intimidating. Unless you have specific ideas of new functionality you would like to submit, some good starting points are searching for `TODO:` and `FIXME:` comments throughout the code. Alternatively you can check if any GitHub issues existed marked with the ["help wanted"](https://github.com/mvt-project/mvt/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) tag. | ||
Contributing to an open-source project like MVT might seem overwhelming at first, but we're here to support you! | ||
|
||
Whether you're a technologist, a frontline human rights defender, a field researcher, or someone new to consensual spyware forensics, there are many ways to make meaningful contributions. | ||
|
||
Here's how you can get started: | ||
|
||
1. **Explore the codebase:** | ||
- Browse the repository to get familar with MVT. Many MVT modules are simple in functionality and easy to understand. | ||
- Look for `TODO:` or `FIXME:` comments in the code for areas that need attention. | ||
|
||
2. **Check Github issues:** | ||
- Look for issues tagged with ["help wanted"](https://github.com/mvt-project/mvt/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) or ["good first issue"](https://github.com/mvt-project/mvt/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) to find tasks that are beginner-friendly or where input from the community would be helpful. | ||
|
||
3. **Ask for guidance:** | ||
|
||
- If you're unsure where to start, feel free to open a [discussion](https://github.com/mvt-project/mvt/discussions) or comment on an issue. | ||
|
||
## How to contribute: | ||
|
||
1. **Report issues:** | ||
|
||
- Found a bug? Please check existing issues to see if it's already reported. If not, open a new issue. Mobile operating systems and databases are constantly evolving, an new errors may appear spontaniously in new app versions. | ||
|
||
**Please provide as much information as possible about the prodblem including: any error messages, steps to reproduce the problem, and any logs or screenshots that can help.** | ||
|
||
|
||
2. **Suggest features:** | ||
- If you have an idea for new functionality, create a feature request issue and describe your proposal. | ||
|
||
3. **Submit code:** | ||
- Fork the repository and create a new branch for your changes. | ||
- Ensure your changes align with the code style guidelines (see below). | ||
- Open a pull request (PR) with a clear description of your changes and link it to any relevant issues. | ||
|
||
4. **Documentation contributions:** | ||
- Improving documentation is just as valuable as contributing code! If you notice gaps or inaccuracies in the documentation, feel free to submit changes or suggest updates. | ||
|
||
## Code style | ||
Please follow these code style guidelines for consistency and readability: | ||
|
||
- **Indentation**: use 4 spaces per tab. | ||
- **Quotes**: Use double quotes (`"`) by default. Use single quotes (`'`) for nested strings instead of escaping (`\"`), or when using f-formatting. | ||
- **Maximum line length**: | ||
- Aim for lines no longer than 80 characters. | ||
- Exceptions are allowed for long log lines or strings, which may extend up to 100 characters. | ||
- Wrap lines that exceed 100 characters. | ||
|
||
Follow [PEP 8 guidelines](https://peps.python.org/pep-0008/) for indentation and overall Python code style. All MVT code is automatically linted with [Ruff](https://github.com/astral-sh/ruff) before merging. | ||
|
||
Please check your code before opening a pull request by running `make ruff` | ||
|
||
When contributing code to | ||
|
||
- **Indentation**: we use 4-spaces tabs. | ||
## Community and support | ||
|
||
- **Quotes**: we use double quotes (`"`) as a default. Single quotes (`'`) can be favored with nested strings instead of escaping (`\"`), or when using f-formatting. | ||
We aim to create a supportive and collaborative environment for all contributors. If you run into any challenges, feel free to reach out through the discussions or issues section of the repository. | ||
|
||
- **Maximum line length**: we strongly encourage to respect a 80 characters long lines and to follow [PEP8 indentation guidelines](https://peps.python.org/pep-0008/#indentation) when having to wrap. However, if breaking at 80 is not possible or is detrimental to the readability of the code, exceptions are tolerated. For example, long log lines, or long strings can be extended to 100 characters long. Please hard wrap anything beyond 100 characters. | ||
Your contributions, big or small, help improve MVT and are always appreciated. |