Commit 22c3373be9

22c3373be93af9642c4485e998df5544db81aabe

parent: 912bff8a34

Unregistered key

Alicia Sykes <alicia@omg.lol> · 2024-04-05 20:42 UTC
committer: <noreply@github.com>

Update CONTRIBUTING.md

Layout: unified · split

.github/CONTRIBUTING.md +126 −42
@@ -1,23 +1,40 @@
1# Contributing 1# Contributing
2 2
3
4- [How to make an Addition](#how-to-make-an-addition)
5- [Requirements](#requirements)
6- [Guidelines](#guidelines)
7- [Editing the YAML](#editing-the-yaml)
8 - [Top-Level Structure](#top-level-structure)
9 - [Service Fields](#service-fields)
10 - [Example](#example)
11 - [Validating your Entry](#validating-your-entry)
12 - [Need Help?](#need-help)
13- [Thank You](#thank-you)
14
3--- 15---
4 16
5### How to make an Addition 17## How to make an Addition
6 18
7You can add, edit or remove entries by opening a pull request. 19You can add, edit or remove entries by opening a pull request.
8 20
9All data is stored in [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml). 21All data is stored in [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml).
10If you're adding, editing or removing a listing - **this is the only file you need to edit**. 22If you're adding, editing or removing a listing - **this is the only file you need to edit**.
11 23
24### Process
25
12Get started by forking the repo, [editing](https://github.com/Lissy93/awesome-privacy/edit/main/awesome-privacy.yml) the data, committing changes to your fork, and opening a pull request upstream to this repo's main branch. If you're new to open source, you can find some resources to get you started at [git-in.to](https://git-in.to), but feel free to reach out if you need any help 😊 26Get started by forking the repo, [editing](https://github.com/Lissy93/awesome-privacy/edit/main/awesome-privacy.yml) the data, committing changes to your fork, and opening a pull request upstream to this repo's main branch. If you're new to open source, you can find some resources to get you started at [git-in.to](https://git-in.to), but feel free to reach out if you need any help 😊
13 27
14Your request will be reviewed, then either merged, or have changes requested, or if the [Guidelines](#guidelines) are not met, it may be closed with a comment explaining why. 28Your request will be reviewed, then either merged, or have changes requested, or if the [Guidelines](#guidelines) are not met, it may be closed with a comment explaining why.
15 29
16To make layout or stylistic amendments to the website ([awesome-privacy.xyz](https://awesome-privacy.xyz)), see [Website docs](https://github.com/Lissy93/awesome-privacy#the-website) in the readme for build and running instructions. 30### Other Changes
31
32- To make layout or stylistic edits to the site ([awesome-privacy.xyz](https://awesome-privacy.xyz)), see the [Website docs](https://github.com/Lissy93/awesome-privacy#the-website) in the readme for build and running instructions.
33- To make edits to the API ([api.awesome-privacy.xyz](http://api.awesome-privacy.xyz/)), see the [API docs](https://github.com/Lissy93/awesome-privacy#the-api) in the readme for build and running instructions.
17 34
18--- 35---
19 36
20### Requirements 37## Requirements
21 38
22For software to be included in this list, it must meet the following requirements: 39For software to be included in this list, it must meet the following requirements:
23 40
@@ -52,15 +69,91 @@ Usually these entries go within the "Notable Mentions" section instead._
52 69
53--- 70---
54 71
55### Editing the YAML 72
73## Guidelines
74
75Your pull request must follow these requirements. Failure to do so, might result in it being closed.
76
77- Do not edit the README directly when adding / editing a listing
78- Ensure your PR is not a duplicate, search for existing / previous submissions first
79- You must respond to any comments or requests for changes in a timely manner, 48-hours maximum
80- Write short but descriptive git commit messages, under 50 characters. This must be in the format of `Adds [software-name] to [section-name]`. Your PR will be rejected if you name it `Updates README.md`
81- Only include a single addition / amendment / removal, per pull request
82- If your pull request contains multiple commits, you must squash them first
83- You must complete each of the sections in the pull request template. Do not delete it!
84- Where applicable, include links to supporting material for your addition: git repo, docs, recent security audits, etc. This will make researching it much easier for reviewers
85- While adding new software to the list, don't make your entry read like an advert. Be objective, and include drawbacks as well as strengths
86- Your entry should be added at the bottom of the appropriate category, unless otherwise requested
87- If there are other pull requests open, please help review them before submitting yours
88- A pull request must receive multiple approval reviews before it can be merged
89- You must be transparent about your affiliation with a product or service that you are adding. It's totally okay to submit your own projects as additions (providing they meet the requirements), but if you don't declare your association with that project then there becomes a clear conflict of interest
90- You must adhere to the Contributor Covenant Code of Conduct
91- Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the above guidelines when you open it
92- Your changes must be correctly spelled, and with good grammar
93- Your changes must be correctly formatted, in valid markdown
94- The addition title must be a link the project, and in bold
95- The addition description must be no less than 50, and no more than 250 characters, keep it clear and to the point
96
97---
98
99## Editing the YAML
56 100
57All content in both the README and website is generated using the data in [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml). 101All content in both the README and website is generated using the data in [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml).
58This file may look a bit daunting to start with, but don't worry - it's pretty simple. 102This file may look a bit daunting to start with, but don't worry - it's pretty simple.
59 103
60#### Top-Level Structure 104### Top-Level Structure
105
106
107
108```mermaid
109---
110title: Class Diagram
111---
112
113classDiagram
114 direction LR
115 class Root {
116 +categories: array
117 }
118 class Category {
119 +name: string
120 +sections: array
121 }
122 class Section {
123 +name: string
124 +services: array
125 +intro: string?
126 +notableMentions: array|string?
127 +furtherInfo: string?
128 +wordOfWarning: string?
129 +alternativeTo: array?
130 }
131 class Service {
132 +name: string
133 +description: string
134 +url: string
135 +github: string?
136 +icon: string?
137 +followWith: string?
138 +securityAudited: boolean?
139 +openSource: boolean?
140 +acceptsCrypto: boolean?
141 +tosdrId: number?
142 +iosApp: string?
143 +androidApp: string?
144 +discordInvite: string?
145 +subreddit: string?
146 }
147
148 Root "many" --> "*" Category
149 Category "many" --> "*" Section
150 Section "many" --> "*" Service
151
152```
61 153
62At a high-level, the file exports an array of categories, each containing a `name` and array of `sections`. 154At a high-level, the file exports an array of categories, each containing a `name` and array of `sections`.
63 155
156
64```yaml 157```yaml
65categories: 158categories:
66 - name: Essentials 159 - name: Essentials
@@ -111,55 +204,46 @@ services:
111 email alias with 1 click, and have all messages forwarded onto your personal email. 204 email alias with 1 click, and have all messages forwarded onto your personal email.
112``` 205```
113 206
114#### Service Fields 207
208### Service Fields
115 209
116Each service (aka an app/website/software) has the following fields: 210Each service (aka an app/website/software) has the following fields:
117 211
118| Attribute | Description | Type | Required | 212| Attribute | Description | Type | Required |
119|-------------------|--------------------------------------------------------------------------------------------------------------|---------|----------| 213|-------------------|--------------------------------------------------------------------------------------------------------------|----------|----------|
120| `name` | The name of the listing | `string`| Required | 214| `name` | The name of the listing | `string` | Required |
121| `description` | A short and subjective description of the listing. Markdown is supported. Split longer descriptions onto multiple lines | `string`| Required | 215| `description` | A short and subjective description of the listing. Markdown is supported. Split longer descriptions onto multiple lines | `string` | Required |
122| `url` | The fully qualified domain name of the listing's homepage | `string`| Required | 216| `url` | The fully qualified domain name of the listing's homepage | `string` | Required |
123| `icon` | A path to an icon file for the listing's logo. Must be square, no less than 64x64 and no larger than 512x512 pixels | `string`| Required | 217| `icon` | A path to an icon file for the listing's logo. Must be square, no less than 64x64 and no larger than 512x512 pixels | `string` | Required |
124| `github` | The GitHub repository hosting the listing's source code. In the format of `[owner]/[repo]` | `string`| Optional | 218| `github` | The GitHub repository hosting the listing's source code. In the format of `[owner]/[repo]` | `string` | Optional |
125| `securityAudited` | Has the listing been audited by an accredited security researcher, with the report publicly published? | `bool` | Optional | 219| `securityAudited` | Has the listing been audited by an accredited security researcher, with the report publicly published? | `bool` | Optional |
126| `acceptsCrypto` | If payment is required/accepted, do they accept anonymous payments using cryptocurrency, such as Monero? | `bool` | Optional | 220| `acceptsCrypto` | If payment is required/accepted, do they accept anonymous payments using cryptocurrency, such as Monero? | `bool` | Optional |
127| `openSource` | Is the source code in its entirety published somewhere accessible so it can be built-from-source or self-hosted? | `bool` | Optional | 221| `openSource` | Is the source code in its entirety published somewhere accessible so it can be built-from-source or self-hosted? | `bool` | Optional |
128| `tosdrId` | If the privacy policy has been analysed by ToS;DR, include the ID to their report | `number`| Optional | 222| `tosdrId` | If the privacy policy has been analysed by ToS;DR, include the ID to their report | `number` | Optional |
223| `iosApp` | URL to the listing's mobile app on the Apple App Store | `string` | Optional |
224| `androidApp` | URL to the listing's mobile app on the Google Play Store | `string` | Optional |
225| `discordInvite` | The invite code to the Discord server for this service | `string` | Optional |
226| `subreddit` | Name of the subreddit for this service, without `r/` or the full URL | `string` | Optional |
227
129 228
130Anything which is marked as `optional`, and which doesn't apply to your service can just be left out. 229> [!NOTE]
230> Anything which is marked as `optional`, and which doesn't apply to your service can just be left out.<br>
231> Keep max line length around 80-100 chars. If the description is long, split it onto multiple lines, using YAML multi-line string (like `: |`).
131 232
132Keep max line length around 80-100 chars. If the description is long, split it onto multiple lines, using YAML multi-line string (like `: |`). 233### Example
133 234
134#### Validating your Entry 235https://github.com/Lissy93/awesome-privacy/blob/912bff8a34e6195ad7b03bc1be978ccd559ed42a/awesome-privacy.yml#L39-L52
236
237### Validating your Entry
135Once you've finished editing the YAML file, you may run `make validate` to run [`validate-awesome-privacy.py`](https://github.com/Lissy93/awesome-privacy/blob/main/lib/validate-awesome-privacy.py), which will ensure your [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml) is both valid and fits within our defined schema (in [`lib/schema.json`](https://github.com/Lissy93/awesome-privacy/blob/main/lib/schema.json)) 238Once you've finished editing the YAML file, you may run `make validate` to run [`validate-awesome-privacy.py`](https://github.com/Lissy93/awesome-privacy/blob/main/lib/validate-awesome-privacy.py), which will ensure your [`awesome-privacy.yml`](https://github.com/Lissy93/awesome-privacy/blob/main/awesome-privacy.yml) is both valid and fits within our defined schema (in [`lib/schema.json`](https://github.com/Lissy93/awesome-privacy/blob/main/lib/schema.json))
136 239
137#### Need Help? 240### Need Help?
138Just look at some of the existing entries in the file for inspiration, and if you're still stuck, feel free to reach out for help. We're here to help you get your contribution merged! 241Just look at some of the existing entries in the file for inspiration, and if you're still stuck, feel free to reach out for help. We're here to help you get your contribution merged!
139 242
140--- 243---
141 244
142### Guidelines 245## Thank You
143 246
144Your pull request must follow these requirements. Failure to do so, might result in it being closed. 247Thank you for helping keep Awesome Privacy up-to-date! It's thanks to contributors like you that this project is possible.
145 248
146- Do not edit the README directly when adding / editing a listing
147- Ensure your PR is not a duplicate, search for existing / previous submissions first
148- You must respond to any comments or requests for changes in a timely manner, 48-hours maximum
149- Write short but descriptive git commit messages, under 50 characters. This must be in the format of `Adds [software-name] to [section-name]`. Your PR will be rejected if you name it `Updates README.md`
150- Only include a single addition / amendment / removal, per pull request
151- If your pull request contains multiple commits, you must squash them first
152- You must complete each of the sections in the pull request template. Do not delete it!
153- Where applicable, include links to supporting material for your addition: git repo, docs, recent security audits, etc. This will make researching it much easier for reviewers
154- While adding new software to the list, don't make your entry read like an advert. Be objective, and include drawbacks as well as strengths
155- Your entry should be added at the bottom of the appropriate category, unless otherwise requested
156- If there are other pull requests open, please help review them before submitting yours
157- A pull request must receive multiple approval reviews before it can be merged
158- You must be transparent about your affiliation with a product or service that you are adding. It's totally okay to submit your own projects as additions (providing they meet the requirements), but if you don't declare your association with that project then there becomes a clear conflict of interest
159- You must adhere to the Contributor Covenant Code of Conduct
160- Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the above guidelines when you open it
161- Your changes must be correctly spelled, and with good grammar
162- Your changes must be correctly formatted, in valid markdown
163- The addition title must be a link the project, and in bold
164- The addition description must be no less than 50, and no more than 250 characters, keep it clear and to the point
165 249