From a76460a0500c1206dbe7a842c590d5723bacd68d Mon Sep 17 00:00:00 2001 From: tree Date: Thu, 9 Nov 2023 22:28:27 +0100 Subject: [PATCH] add helpers --- README.md | 16 ++++++++-------- README.tpl.eta | 2 +- events/events.yaml | 26 ++++++++++++++++++++++++++ schema.yaml | 4 ++++ 4 files changed, 39 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3ed8354..ab2bd0b 100644 --- a/README.md +++ b/README.md @@ -36,21 +36,21 @@ research and community of [Web3Privacy Now](https://web3privacy.info). | summit | `s1` | **2023-06-05** | 🇨🇿 Prague | 16 | [PBW](https://prgblockweek.com/)+[ETHPrague](https://ethprague.com/) | Tree | [web](https://prague.web3privacy.info/), [git](https://github.com/web3privacy/w3ps1) | | meetup | `rom1` | **2023-10-05** | 🇮🇹 Rome | 10 | [ETHRome](https://ethrome.org/) | PG | [web](https://lu.ma/web3privacynow_rome) | | meetup | `prg1` | **2023-11-14** | 🇨🇿 Prague | 5 | [DCxPrague](https://dcxprague.org/) | Tree | [web](https://lu.ma/w3pm-prg1) | -| meetup | `bcn1`* | 2024/Q1 | 🇪🇸 Barcelona | 3 | | Tree | | +| meetup | `bcn1`* | 2024/Q1 | 🇪🇸 Barcelona | 3 | | Tree (+1) | | | meetup | `itxx`* | 2024/Q1 | 🇮🇹 Italy (TBD) | 3 | | PG | | | meetup | `lib1`* | 2024/Mar | 🇨🇿 Liberec | 3 | [ETHBohemia](https://ethbohemia.ethevents.club/) | Tree | | -| meetup | `ams1` | 2024/Apr | 🇳🇱 Amsterdam | 3 | [ETHDam 2024](https://www.ethdam.com/) | - | | +| meetup | `ams1` | 2024/Apr | 🇳🇱 Amsterdam | 3 | [ETHDam 2024](https://www.ethdam.com/) | PG (+2) | | | meetup | `tal1`* | 2024/Apr | 🇪🇪 Tallinn | 3 | [ETHTallinn](https://www.ethtallinn.org/) | - | | | meetup | `por1`* | 2024/May | 🇵🇹 Porto | 3 | [ETHPorto](https://ethporto.org/) | - | | | meetup | `ber1` | 2024/May | 🇩🇪 Berlin | 3 | ETHBerlin 4 | Tree | | -| summit | `s2` | 2024/Jun | 🇨🇿 Prague | 16 | ETHPrague 2024 | Tree | | -| hackathon | `h1` | 2024/Jun | 🇸🇮 Bled | 10 | | Tree | | -| meetup | `lju1` | 2024/Jun | 🇸🇮 Ljubljana | 5 | W3PN Hackathon | Tree | | +| summit | `s2` | 2024/Jun | 🇨🇿 Prague | 16 | ETHPrague 2024 | Tree (+3) | | +| hackathon | `h1` | 2024/Jun | 🇸🇮 Bled | 10 | | Tree (+3) | | +| meetup | `lju1` | 2024/Jun | 🇸🇮 Ljubljana | 5 | W3PN Hackathon | Tree (+3) | | | meetup | `bcn2`* | 2024/Jul | 🇪🇸 Barcelona | 3 | ETHBarcelona (?) | - | | -| meetup | `bru1` | 2024/Jul | 🇧🇪 Brussels | 3 | [EthCC 7](https://www.ethcc.io/) | Mykola | | +| meetup | `bru1` | 2024/Jul | 🇧🇪 Brussels | 3 | [EthCC 7](https://www.ethcc.io/) | Mykola (+1) | | | meetup | `waw1`* | 2024/Sep | 🇵🇱 Warsaw | 3 | ETHWarsaw (?) | Tree | | -| meetup | `rom2` | 2024/Oct | 🇮🇹 Rome | 5 | ETHRome 2024 | PG | | -| summit | `s3` | 2024/Nov | 🇨🇿 Brno | 16 | ETHBrno 2024 | Tree | | +| meetup | `rom2` | 2024/Oct | 🇮🇹 Rome | 5 | ETHRome 2024 | PG (+1) | | +| summit | `s3` | 2024/Nov | 🇨🇿 Brno | 16 | ETHBrno 2024 | Tree (+3) | | | meetup | `dc1` | 2024/Q4 | 🏴‍☠️ SE Asia | 5 | [Devcon 7](https://devcon.org/) | - | | `*` - Optional event (can be cancelled due to lack of interest) diff --git a/README.tpl.eta b/README.tpl.eta index 80555a9..3501743 100644 --- a/README.tpl.eta +++ b/README.tpl.eta @@ -27,7 +27,7 @@ research and community of [Web3Privacy Now](https://web3privacy.info). | type | # id | date | location | 🎰 | coincidence | dri | links | | --- | --- | --- | --- | --- | --- | --- | --- | <% it.events.forEach(function(event, i){ %> -| <%= event.type %> | `<%= event.id.replace("w3pm-", "").replace(/^w3p/, '') %>`<% if (event.optional) { %>*<% } %> | <%= event.date.match(/^\d{4}-\d{2}-\d{2}$/) ? `**${event.date}**` : event.date %> | <%= it.getFlagEmoji(event.country) %> <%= event.city %> | <%= event.slots || '-' %> | <%= event.coincidence %> | <%= event.lead || "-" %> | <%= (event.links && Object.keys(event.links).map(k => `[${k}](${event.links[k]})`).join(", ")) || "" %> | +| <%= event.type %> | `<%= event.id.replace("w3pm-", "").replace(/^w3p/, '') %>`<% if (event.optional) { %>*<% } %> | <%= event.date.match(/^\d{4}-\d{2}-\d{2}$/) ? `**${event.date}**` : event.date %> | <%= it.getFlagEmoji(event.country) %> <%= event.city %> | <%= event.slots || '-' %> | <%= event.coincidence %> | <%= event.lead || "-" %><% if (event.helpers && event.helpers.length > 0) { %> (+<%= event.helpers.length%>)<% } %> | <%= (event.links && Object.keys(event.links).map(k => `[${k}](${event.links[k]})`).join(", ")) || "" %> | <% }) %> `*` - Optional event (can be cancelled due to lack of interest) diff --git a/events/events.yaml b/events/events.yaml index a051f11..59ddff3 100644 --- a/events/events.yaml +++ b/events/events.yaml @@ -41,6 +41,8 @@ country: es coincidence: "" lead: Tree + helpers: + - Mykola optional: true slots: 3 @@ -69,6 +71,10 @@ date: "2024/Apr" city: Amsterdam country: nl + lead: PG + helpers: + - Mykola + - Tree # ETHDam 2024 - April 12-14 2024 coincidence: "[ETHDam 2024](https://www.ethdam.com/)" slots: 3 @@ -109,6 +115,10 @@ country: cz coincidence: "ETHPrague 2024" lead: Tree + helpers: + - PG + - Mykola + - Coinmandeer slots: 16 - id: w3ph1 @@ -119,6 +129,10 @@ country: si coincidence: "" lead: Tree + helpers: + - PG + - Mykola + - Coinmandeer slots: 10 - id: w3pm-lju1 @@ -128,6 +142,10 @@ country: si coincidence: "W3PN Hackathon" lead: Tree + helpers: + - PG + - Mykola + - Coinmandeer slots: 5 - id: w3pm-bcn2 @@ -148,6 +166,8 @@ coincidence: "[EthCC 7](https://www.ethcc.io/)" slots: 3 lead: Mykola + helpers: + - Tree - id: w3pm-waw1 type: meetup @@ -167,6 +187,8 @@ coincidence: "ETHRome 2024" lead: PG slots: 5 + helpers: + - Mykola - id: w3ps3 type: summit @@ -175,6 +197,10 @@ country: cz coincidence: "ETHBrno 2024" lead: Tree + helpers: + - PG + - Mykola + - Coinmandeer slots: 16 - id: w3pm-dc1 diff --git a/schema.yaml b/schema.yaml index 7625511..303a3af 100644 --- a/schema.yaml +++ b/schema.yaml @@ -30,6 +30,10 @@ $defs: type: string lead: type: string + helpers: + type: array + items: + type: string slots: type: number visitors: