summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBatuhan Taskaya <isidentical@gmail.com>2022-05-05 21:19:19 +0300
committerGitHub <noreply@github.com>2022-05-05 11:19:19 -0700
commit9e1c0b98c79e4e5eda3df5c2eef904a70e43ebdb (patch)
treee2406141b722ad5fd6ada4f675cee9db2d8b61c6
parent003f2095d4e98b26220802f016a56be38bf9bd8d (diff)
Contributors for 3.2.0 (#1374)
-rw-r--r--docs/contributors/fetch.py1
-rw-r--r--docs/contributors/generate.py10
-rw-r--r--docs/contributors/people.json73
-rw-r--r--docs/contributors/snippet.jinja27
4 files changed, 81 insertions, 10 deletions
diff --git a/docs/contributors/fetch.py b/docs/contributors/fetch.py
index 7924f464..ba94c281 100644
--- a/docs/contributors/fetch.py
+++ b/docs/contributors/fetch.py
@@ -252,6 +252,7 @@ def fetch_missing_users_details(people: People) -> None:
def save_awesome_people(people: People) -> None:
with DB_FILE.open(mode='w', encoding='utf-8') as fh:
json.dump(people, fh, indent=4, sort_keys=True)
+ fh.write("\n")
def debug(*args: Any) -> None:
diff --git a/docs/contributors/generate.py b/docs/contributors/generate.py
index d3d6fdd9..27470d56 100644
--- a/docs/contributors/generate.py
+++ b/docs/contributors/generate.py
@@ -8,19 +8,27 @@ from jinja2 import Template
from fetch import HERE, load_awesome_people
TPL_FILE = HERE / 'snippet.jinja2'
+
HTTPIE_TEAM = {
'claudiatd',
'jakubroztocil',
'jkbr',
+ 'isidentical'
+}
+
+BOT_ACCOUNTS = {
+ 'dependabot-sr'
}
+IGNORE_ACCOUNTS = HTTPIE_TEAM | BOT_ACCOUNTS
+
def generate_snippets(release: str) -> str:
people = load_awesome_people()
contributors = {
name: details
for name, details in people.items()
- if details['github'] not in HTTPIE_TEAM
+ if details['github'] not in IGNORE_ACCOUNTS
and (release in details['committed'] or release in details['reported'])
}
diff --git a/docs/contributors/people.json b/docs/contributors/people.json
index 041e67f2..70514fcc 100644
--- a/docs/contributors/people.json
+++ b/docs/contributors/people.json
@@ -53,11 +53,13 @@
},
"Batuhan Taskaya": {
"committed": [
- "3.0.0"
+ "3.0.0",
+ "3.2.0"
],
"github": "isidentical",
"reported": [
- "3.0.0"
+ "3.0.0",
+ "3.2.0"
],
"twitter": "isidentical"
},
@@ -118,6 +120,14 @@
"reported": [],
"twitter": "elena_lape"
},
+ "Ethan Mills": {
+ "committed": [
+ "3.2.0"
+ ],
+ "github": "ethanmills",
+ "reported": [],
+ "twitter": null
+ },
"Fabio Peruzzo": {
"committed": [],
"github": "peruzzof",
@@ -189,7 +199,8 @@
"committed": [
"2.5.0",
"2.6.0",
- "3.0.0"
+ "3.0.0",
+ "3.2.0"
],
"github": "jakubroztocil",
"reported": [
@@ -213,7 +224,8 @@
],
"github": "blyxxyz",
"reported": [
- "3.0.0"
+ "3.0.0",
+ "3.2.0"
],
"twitter": null
},
@@ -309,7 +321,8 @@
"committed": [],
"github": "ducaale",
"reported": [
- "2.5.0"
+ "2.5.0",
+ "3.2.0"
],
"twitter": null
},
@@ -321,6 +334,22 @@
],
"twitter": "sevenc_nanashi"
},
+ "Nicklas Ansman Giertz": {
+ "committed": [],
+ "github": "ansman",
+ "reported": [
+ "3.2.0"
+ ],
+ "twitter": null
+ },
+ "Oliver Fish": {
+ "committed": [],
+ "github": "Oliver-Fish",
+ "reported": [
+ "3.2.0"
+ ],
+ "twitter": null
+ },
"Omer Akram": {
"committed": [
"2.6.0",
@@ -357,6 +386,14 @@
],
"twitter": null
},
+ "Roberto L\u00f3pez L\u00f3pez": {
+ "committed": [],
+ "github": "robertolopezlopez",
+ "reported": [
+ "3.2.0"
+ ],
+ "twitter": null
+ },
"Russell Shurts": {
"committed": [],
"github": "rshurts",
@@ -487,6 +524,14 @@
],
"twitter": null
},
+ "dependabot[bot]": {
+ "committed": [
+ "3.2.0"
+ ],
+ "github": "dependabot-sr",
+ "reported": [],
+ "twitter": null
+ },
"dkreeft": {
"committed": [
"2.6.0",
@@ -553,6 +598,14 @@
],
"twitter": null
},
+ "luzpaz": {
+ "committed": [
+ "3.2.0"
+ ],
+ "github": "luzpaz",
+ "reported": [],
+ "twitter": null
+ },
"nixbytes": {
"committed": [
"2.5.0"
@@ -593,6 +646,14 @@
],
"twitter": null
},
+ "zhaohanqing95": {
+ "committed": [],
+ "github": "zhaohanqing95",
+ "reported": [
+ "3.2.0"
+ ],
+ "twitter": null
+ },
"zoulja": {
"committed": [],
"github": "zoulja",
@@ -627,4 +688,4 @@
],
"twitter": null
}
-} \ No newline at end of file
+}
diff --git a/docs/contributors/snippet.jinja2 b/docs/contributors/snippet.jinja2
index 4fa21b12..56e7d33f 100644
--- a/docs/contributors/snippet.jinja2
+++ b/docs/contributors/snippet.jinja2
@@ -2,9 +2,10 @@
## Community contributions
-We’d like to thank these amazing people for their contributions to this release: {% for name, details in contributors.items() -%}
- [{{ name }}](https://github.com/{{ details.github }}){{ '' if loop.last else ', ' }}
-{%- endfor %}.
+We’d like to thank these amazing people for their contributions to this release:
+{% for name, details in contributors.items() -%}
+- [{{ name }}](https://github.com/{{ details.github }}){{ '' if loop.last else '\n' }}
+{%- endfor %}
<!-- Twitter -->