Contributors for 3.2.0 (#1374)

This commit is contained in:
Batuhan Taskaya 2022-05-05 21:19:19 +03:00 committed by GitHub
parent 003f2095d4
commit 9e1c0b98c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 81 additions and 10 deletions

View File

@ -252,6 +252,7 @@ def fetch_missing_users_details(people: People) -> None:
def save_awesome_people(people: People) -> None: def save_awesome_people(people: People) -> None:
with DB_FILE.open(mode='w', encoding='utf-8') as fh: with DB_FILE.open(mode='w', encoding='utf-8') as fh:
json.dump(people, fh, indent=4, sort_keys=True) json.dump(people, fh, indent=4, sort_keys=True)
fh.write("\n")
def debug(*args: Any) -> None: def debug(*args: Any) -> None:

View File

@ -8,19 +8,27 @@ from jinja2 import Template
from fetch import HERE, load_awesome_people from fetch import HERE, load_awesome_people
TPL_FILE = HERE / 'snippet.jinja2' TPL_FILE = HERE / 'snippet.jinja2'
HTTPIE_TEAM = { HTTPIE_TEAM = {
'claudiatd', 'claudiatd',
'jakubroztocil', 'jakubroztocil',
'jkbr', 'jkbr',
'isidentical'
} }
BOT_ACCOUNTS = {
'dependabot-sr'
}
IGNORE_ACCOUNTS = HTTPIE_TEAM | BOT_ACCOUNTS
def generate_snippets(release: str) -> str: def generate_snippets(release: str) -> str:
people = load_awesome_people() people = load_awesome_people()
contributors = { contributors = {
name: details name: details
for name, details in people.items() 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']) and (release in details['committed'] or release in details['reported'])
} }

View File

@ -53,11 +53,13 @@
}, },
"Batuhan Taskaya": { "Batuhan Taskaya": {
"committed": [ "committed": [
"3.0.0" "3.0.0",
"3.2.0"
], ],
"github": "isidentical", "github": "isidentical",
"reported": [ "reported": [
"3.0.0" "3.0.0",
"3.2.0"
], ],
"twitter": "isidentical" "twitter": "isidentical"
}, },
@ -118,6 +120,14 @@
"reported": [], "reported": [],
"twitter": "elena_lape" "twitter": "elena_lape"
}, },
"Ethan Mills": {
"committed": [
"3.2.0"
],
"github": "ethanmills",
"reported": [],
"twitter": null
},
"Fabio Peruzzo": { "Fabio Peruzzo": {
"committed": [], "committed": [],
"github": "peruzzof", "github": "peruzzof",
@ -189,7 +199,8 @@
"committed": [ "committed": [
"2.5.0", "2.5.0",
"2.6.0", "2.6.0",
"3.0.0" "3.0.0",
"3.2.0"
], ],
"github": "jakubroztocil", "github": "jakubroztocil",
"reported": [ "reported": [
@ -213,7 +224,8 @@
], ],
"github": "blyxxyz", "github": "blyxxyz",
"reported": [ "reported": [
"3.0.0" "3.0.0",
"3.2.0"
], ],
"twitter": null "twitter": null
}, },
@ -309,7 +321,8 @@
"committed": [], "committed": [],
"github": "ducaale", "github": "ducaale",
"reported": [ "reported": [
"2.5.0" "2.5.0",
"3.2.0"
], ],
"twitter": null "twitter": null
}, },
@ -321,6 +334,22 @@
], ],
"twitter": "sevenc_nanashi" "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": { "Omer Akram": {
"committed": [ "committed": [
"2.6.0", "2.6.0",
@ -357,6 +386,14 @@
], ],
"twitter": null "twitter": null
}, },
"Roberto L\u00f3pez L\u00f3pez": {
"committed": [],
"github": "robertolopezlopez",
"reported": [
"3.2.0"
],
"twitter": null
},
"Russell Shurts": { "Russell Shurts": {
"committed": [], "committed": [],
"github": "rshurts", "github": "rshurts",
@ -487,6 +524,14 @@
], ],
"twitter": null "twitter": null
}, },
"dependabot[bot]": {
"committed": [
"3.2.0"
],
"github": "dependabot-sr",
"reported": [],
"twitter": null
},
"dkreeft": { "dkreeft": {
"committed": [ "committed": [
"2.6.0", "2.6.0",
@ -553,6 +598,14 @@
], ],
"twitter": null "twitter": null
}, },
"luzpaz": {
"committed": [
"3.2.0"
],
"github": "luzpaz",
"reported": [],
"twitter": null
},
"nixbytes": { "nixbytes": {
"committed": [ "committed": [
"2.5.0" "2.5.0"
@ -593,6 +646,14 @@
], ],
"twitter": null "twitter": null
}, },
"zhaohanqing95": {
"committed": [],
"github": "zhaohanqing95",
"reported": [
"3.2.0"
],
"twitter": null
},
"zoulja": { "zoulja": {
"committed": [], "committed": [],
"github": "zoulja", "github": "zoulja",
@ -627,4 +688,4 @@
], ],
"twitter": null "twitter": null
} }
} }

View File

@ -2,9 +2,10 @@
## Community contributions ## Community contributions
Wed like to thank these amazing people for their contributions to this release: {% for name, details in contributors.items() -%} Wed like to thank these amazing people for their contributions to this release:
[{{ name }}](https://github.com/{{ details.github }}){{ '' if loop.last else ', ' }} {% for name, details in contributors.items() -%}
{%- endfor %}. - [{{ name }}](https://github.com/{{ details.github }}){{ '' if loop.last else '\n' }}
{%- endfor %}
<!-- Twitter --> <!-- Twitter -->