build(docs-infra): add check to ensure all contributor pictures exist (#29553)
PR Close #29553
This commit is contained in:

committed by
Jason Aden

parent
6a55ba28b2
commit
2b6e107b1e
@ -1,26 +1,28 @@
|
||||
# Contributors page
|
||||
|
||||
We have an official accounting of who is on the Angular Team, who are "trusted collaborators" (see team.angular.io/collaborators), and so on.
|
||||
We have an official accounting of who is on the Angular Team, who are "trusted collaborators" (see https://team.angular.io/collaborators), and so on.
|
||||
|
||||
The contributors.json should be maintained to keep our "org chart" in a single consistent place.
|
||||
The `contributors.json` should be maintained to keep our "org chart" in a single consistent place.
|
||||
|
||||
## GDE listings
|
||||
|
||||
There are two pages:
|
||||
|
||||
https://developers.google.com/experts/all/technology/angular
|
||||
- https://developers.google.com/experts/all/technology/angular
|
||||
(Googlers: source at http://google3/googledata/devsite/content/en/experts/all/technology/angular.html)
|
||||
which is maintained by Dawid Ostrowski based on a spreadsheet
|
||||
https://docs.google.com/spreadsheets/d/1_Ls2Kle7NxPBIG8f3OEVZ4gJZ8OCTtBxGYwMPb1TUVE/edit#gid=0
|
||||
https://docs.google.com/spreadsheets/d/1_Ls2Kle7NxPBIG8f3OEVZ4gJZ8OCTtBxGYwMPb1TUVE/edit#gid=0.
|
||||
<!-- gkalpak: That URL doesn't seem to work any more. New URL: https://developers.google.com/programs/experts/directory/ (?) -->
|
||||
|
||||
and ours: https://angular.io/about?group=GDE which is derived from contributors.json.
|
||||
- Ours: https://angular.io/about?group=GDE which is derived from `contributors.json`.
|
||||
|
||||
Alex Eagle is investigating how to reconcile these two lists.
|
||||
|
||||
## Checking the keys
|
||||
## About the data
|
||||
|
||||
Keys in contributors.json should be GitHub handles. (Most currently are, but not all)
|
||||
This will allow us to use GitHub as the default source for things like Name, Avatar, etc.
|
||||
- Keys in `contributors.json` should be GitHub handles. (Most currently are, but not all.)
|
||||
This will allow us to use GitHub as the default source for things like name, avatar, etc.
|
||||
- Pictures are stored in `aio/content/images/bios/<picture-filename>`.
|
||||
|
||||
## Processing the data
|
||||
|
||||
@ -32,3 +34,5 @@ do echo -e "\n$handle\n---------\n"; curl --silent -H "Authorization: token ${TO
|
||||
| jq ".message,.name,.company,.blog,.bio" --raw-output
|
||||
done
|
||||
```
|
||||
|
||||
Relevant scripts are stored in `aio/scripts/contributors/`.
|
||||
|
Reference in New Issue
Block a user