Debian Codegraph @

debian/rust-vendor/dlv-list/CONTRIBUTING.md

raw
1 # Contribution guidelines
2
3 First off, thank you for considering contributing to dlv-list.
4
5 If your contribution is not straightforward, please first discuss the change you wish to make by creating a new issue
6 before making the change.
7
8 ## Reporting issues
9
10 Before reporting an issue on the [issue tracker](https://github.com/sgodwincs/dlv-list/issues), please
11 check that it has not already been reported by searching for some related keywords.
12
13 ## Pull requests
14
15 Try to do one pull request per change.
16
17 ### Updating the changelog
18
19 Update the changes you have made in
20 [CHANGELOG](https://github.com/sgodwincs/dlv-list/blob/main/CHANGELOG.md)
21 file under the **Unreleased** section.
22
23 Add the changes of your pull request to one of the following subsections, depending on the types of changes defined by
24 [Keep a changelog](https://keepachangelog.com/en/1.0.0/):
25
26 - `Added` for new features.
27 - `Changed` for changes in existing functionality.
28 - `Deprecated` for soon-to-be removed features.
29 - `Removed` for now removed features.
30 - `Fixed` for any bug fixes.
31 - `Security` in case of vulnerabilities.
32
33 If the required subsection does not exist yet under **Unreleased**, create it!
34
35 ## Developing
36
37 ### Set up
38
39 This is no different than other Rust projects.
40
41 ```shell
42 git clone https://github.com/sgodwincs/dlv-list
43 cd dlv-list
44 cargo test
45 ```
46
47 ### Useful Commands
48 - Run Clippy:
49
50 ```shell
51 cargo clippy --all-targets --all-features --workspace
52 ```
53
54 - Run all tests:
55
56 ```shell
57 cargo test --all-features --workspace
58 ```
59
60 - Check to see if there are code formatting issues
61
62 ```shell
63 cargo fmt --all -- --check
64 ```
65
66 - Format the code in the project
67
68 ```shell
69 cargo fmt --all
70 ```
71
72 ## Code of Conduct
73
74 This project adheres to the Rust Code of Conduct, which can be found [here](https://www.rust-lang.org/conduct.html).