Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/divisione amb contrib #50

Merged
merged 3 commits into from
Dec 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions AMBASSADOR.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,15 @@ La lista viene compilata in ordine alfabetico e viene tenuta aggiornata dal Disc
- [Alessandro Cappellozza](https://github.com/eppak) - (2023-09-05 - Attualmente in carica)
- [Alessio](https://github.com/Developpoo) - (2023-09-05 - Attualmente in carica)
- [Andrea Guzzo](https://github.com/JeyDi) - (2023-09-05 - Attualmente in carica)
- [Angela Busato](https://github.com/AngyDev) - (2023-09-30 - Attualmente in carica)
- [Angelo Cassano](https://github.com/AngeloAvv) - (2023-09-05 - Attualmente in carica)
- [Barbara Galasso](https://github.com/bananabarb) - (2023-09-30 - Attualmente in carica)
- [Brian Atzori](https://github.com/BrianAtzori) - (2023-09-30 - Attualmente in carica)
- [Christian Cannata](https://github.com/christiancannata) - (2023-09-30 - Attualmente in carica)
- [Claudio Bello](https://github.com/Cb040719) - (2023-09-05 - Attualmente in carica)
- [Corrado Petrelli](https://github.com/corradopetrelli) - (2023-09-05 - Attualmente in carica)
- [Davide Imola](https://github.com/davideimola) - (2023-09-05 - Attualmente in carica)
- [Emanuele Bartolesi](https://github.com/kasuken) - (2023-09-06 - Attualmente in carica)
- [Emilio Junior Francischetti](https://github.com/frnmjn) - (2023-09-30 - Attualmente in carica)
- [Enrico Maria Cestari](https://github.com/EMCestari) - (2023-09-06 - Attualmente in carica)
- [Francesco Sciuti](https://github.com/fsciuti) - (2023-09-30 - Attualmente in carica)
- [Gennaro Marra](https://github.com/Nobu89) - (2023-09-30 - Attualmente in carica)
- [Giuppi](https://github.com/giuppidev) - (2023-09-30 - Attualmente in carica)
- [Gregorio Palamà](https://github.com/gregoriopalama) - (2023-09-30 - Attualmente in carica)
Expand All @@ -29,11 +26,9 @@ La lista viene compilata in ordine alfabetico e viene tenuta aggiornata dal Disc
- [Michael Di Prisco](https://github.com/Cadienvan) - (2023-07-05 - Attualmente in carica)
- [Michel Murabito](https://github.com/akelity) - (2023-09-05 - Attualmente in carica)
- [Nicola Erario](https://github.com/nicolaerario) - (2023-09-05 - Attualmente in carica)
- [PantaRei](https://github.com/pantarei-mb) - (2023-09-30 - Attualmente in carica)
- [Paolo Martinoli](https://github.com/ugho16) - (2023-09-30 - Attualmente in carica)
- [Pasquale](https://github.com/halfpass25) - (2023-09-30 - Attualmente in carica)
- [passasooz](https://github.com/passasooz) - (2023-09-05 - Attualmente in carica)
- [Raffaele Colace](https://github.com/rafleze) - (2023-09-30 - Attualmente in carica)
- [Ricardo Antonio Piana](https://github.com/devnuli) - (2023-09-30 - Attualmente in carica)
- [Saleiux](https://github.com/Saleiux) - (2023-09-30 - Attualmente in carica)
- [Serena Sensini](https://github.com/serenasensini) - (2023-09-05 - Attualmente in carica)
Expand All @@ -42,7 +37,6 @@ La lista viene compilata in ordine alfabetico e viene tenuta aggiornata dal Disc
- [Simone Torrisi](https://github.com/storrisi) - (2023-09-05 - Attualmente in carica)
- [sistella](https://github.com/sistella) - (2023-09-30 - Attualmente in carica)
- [Sofia Fulgido a.k.a. Fusa](https://github.com/fulgido) - (2023-09-30 - Attualmente in carica)
- [Stefano Torresi](https://github.com/stefanotorresi) - (2023-09-05 - Attualmente in carica)
- [Tommaso Allevi](https://github.com/allevo) - (2023-09-30 - Attualmente in carica)

# Lista di Ambassador Emeriti
Expand Down
8 changes: 8 additions & 0 deletions CONTRIBUTOR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Lista di Contributor attualmente in carica

La lista viene compilata in ordine alfabetico e viene tenuta aggiornata dal Discussion Group.

- [Angela Busato](https://github.com/AngyDev) - (2023-09-30 - Attualmente in carica)
- [Francesco Sciuti](https://github.com/fsciuti)
- [PantaRei](https://github.com/pantarei-mb)
- [Raffaele Colace](https://github.com/rafleze) - (2023-09-30 - Attualmente in carica)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Questo repository viene utilizzato per collezionare ciò che riguarda la governa
Attualmente è composto da:

- [Lista di Ambassador attualmente in carica](AMBASSADOR.md)
- [Lista di Contributor attualmente in carica](CONTRIBUTOR.md)
- [Definizione degli Working Group](WG.md)
- [Note dei meeting degli Ambassador](./meetings/)
- [Eventi al quale il progetto ha partecipato](./events/)
Expand Down
30 changes: 0 additions & 30 deletions ambassadors_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@
"beginDate": "2023-09-30",
"endDate": null
},
{
"user": "rafleze",
"beginDate": "2023-09-30",
"endDate": null
},
{
"user": "giuppidev",
"beginDate": "2023-09-30",
Expand Down Expand Up @@ -54,21 +49,6 @@
"beginDate": "2023-09-30",
"endDate": null
},
{
"user": "pantarei-mb",
"beginDate": "2023-09-30",
"endDate": null
},
{
"user": "fsciuti",
"beginDate": "2023-09-30",
"endDate": null
},
{
"user": "AngyDev",
"beginDate": "2023-09-30",
"endDate": null
},
{
"user": "Mik23mik",
"beginDate": "2023-09-30",
Expand Down Expand Up @@ -124,11 +104,6 @@
"beginDate": "2023-09-05",
"endDate": null
},
{
"user": "Cb040719",
"beginDate": "2023-09-05",
"endDate": null
},
{
"user": "corradopetrelli",
"beginDate": "2023-09-05",
Expand Down Expand Up @@ -208,10 +183,5 @@
"user": "storrisi",
"beginDate": "2023-09-05",
"endDate": null
},
{
"user": "stefanotorresi",
"beginDate": "2023-09-05",
"endDate": null
}
]
56 changes: 56 additions & 0 deletions contributors.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
const http = require('https');
const fs = require('fs');
const users = JSON.parse(fs.readFileSync('contributors_list.json'));

const get = async (user) => {
return new Promise((accept, reject) => {
http.get(
{
host: 'api.github.com',
port: 443,
path: `/users/${user}`,
headers: {
'User-Agent': 'request',
Authorization: `token ${process.env.API_TOKEN}`,
},
},
(res) => {
let body = '';
if (res.statusCode != 200) {
reject(`Got response: ${res.statusCode}`);
return;
}
res.on('data', (d) => (body += d));
res.on('end', () => {
const user = JSON.parse(body);
accept(user);
});
}
);
});
};
const main = async () => {
const names = [];

console.log('Lettura in corso...');

for (const user of users) {
try {
const result = await get(user.user);
const name = result.name ?? result.login;
const url = result.html_url;
names.push({ name, url, ...user });
} catch (e) {
console.log(e);
}
}
names.sort((a, b) => a.name.localeCompare(b.name));

console.log('Contributor attualmente in carica:');
for (const user of names) {
const header = `[${user.name}](${user.url})`;
console.log(`- ${header}`);
}
};

main();
14 changes: 14 additions & 0 deletions contributors_list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"user": "rafleze"
},
{
"user": "pantarei-mb"
},
{
"user": "fsciuti"
},
{
"user": "AngyDev"
}
]