Skip to content
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
1 change: 1 addition & 0 deletions .github/workflows/__check-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
Agenda: Speaker "Wrong Speaker" is not in the list of speakers
Agenda: Entry "- Wrong agenda entry" must follow the format: "- <speaker>: <talk_description>"
Meetup Link: Must be a valid Meetup link, e.g. https://www.meetup.com/fr-FR/devops-aix-marseille/events/123456789
CNCF Link: Must be a valid CNCF link, e.g. https://community.cncf.io/events/details/cncf-cloud-native-aix-marseille-presents-quiz-conteneurs-et-observabilite
Drive Link: Must be a valid Drive Link, e.g. https://drive.google.com/drive/folders/1a2b3c4d5e6f7g8h9i0j
EOF
)
Expand Down
227 changes: 116 additions & 111 deletions __tests__/meetup-issue-template.yml
Original file line number Diff line number Diff line change
@@ -1,115 +1,120 @@
name: Meetup
description: Gather meetup event organization data
title: "[Meetup]"
labels:
- meetup
body:
- type: input
id: event_title
attributes:
label: Event Title
description: Provide the title of the event
placeholder: Enter the event title
- type: input
id: event_date
attributes:
label: Event date
description: |
Specify the proposed date for the event.
Format: YYYY-MM-DD
placeholder: YYYY-MM-DD
- type: dropdown
id: hoster
attributes:
label: Hosting
description: Pick a hoster
options:
- EasyPartner
- Sept Lieues
- Axians Communication & Cloud Aix
- FGTECH
- Softway medical
- Free Pro
- La Briqueterie
- Devoteam
- SmartTribune
- OnePoint
- Linxo
- Squad
- Doinsport
- Numbr Marseille
- La plateforme
- Smile
- TheCamp
- type: textarea
id: event_description
attributes:
label: Event Description
description: Short describe the event
- type: textarea
id: agenda
attributes:
label: Agenda
description: Outline the schedule and topics to be discussed
placeholder: |
- <speaker_1>: <talk_description_1>
- <speaker_2>: <talk_description_2>
- type: input
id: meetup_link
attributes:
label: Meetup Link
description: Provide the link to the Meetup event page
placeholder: https://www.meetup.com/fr-FR/devops-aix-marseille/events/xxxxxxx
- type: input
id: drive_link
attributes:
label: Drive Link
description: Provide the link to the Google Drive folder
placeholder: https://drive.google.com/drive/folders/xxxxxxxxxxxxxxxxxxxx
- type: checkboxes
id: slides
attributes:
label: Slides & Content
description: Check items for slides and event content
options:
- label: Basic Slides
- label: Announcements / surveys / news etc...
- label: Slides hosting
- label: Slides speaker(s)
- label: Kahoot / Game
- type: checkboxes
id: communication
attributes:
label: Communication
description: Select communication items to be prepared
options:
- label: Announcement
- label: Cover image
- label: Social networks
- label: Goodies
- type: dropdown
id: aperitif
attributes:
label: Aperitif
description: To be provided?
options:
"name": "Meetup"
"description": "Gather meetup event organization data"
"title": "[Meetup]"
"labels":
- "meetup"
"body":
- "type": "input"
"id": "event_title"
"attributes":
"label": "Event Title"
"description": "Provide the title of the event"
"placeholder": "Enter the event title"
- "type": "input"
"id": "event_date"
"attributes":
"label": "Event date"
"description": "Specify the proposed date for the event.

Format: YYYY-MM-DD\n"
"placeholder": "YYYY-MM-DD"
- "type": "dropdown"
"id": "hoster"
"attributes":
"label": "Hosting"
"description": "Pick a hoster"
"options":
- "Hoster 1"
- "Hoster 2"
- "type": "textarea"
"id": "event_description"
"attributes":
"label": "Event Description"
"description": "Short describe the event"
- "type": "markdown"
"attributes":
"value": "<!-- Available speakers -->

<!--

Speaker One; Speaker Two

-->"
- "type": "textarea"
"id": "agenda"
"attributes":
"label": "Agenda"
"description": "Outline the schedule and topics to be discussed"
"placeholder": "- <speaker_1>: <talk_description_1>

- <speaker_2>: <talk_description_2>\n"
- "type": "input"
"id": "meetup_link"
"attributes":
"label": "Meetup Link"
"description": "Provide the link to the Meetup event page"
"placeholder": "https://www.meetup.com/fr-FR/devops-aix-marseille/events/xxxxxxx"
- "type": "input"
"id": "cncf_link"
"attributes":
"label": "CNCF Link"
"description": "Provide the link to the CNCF event page"
"placeholder": "https://community.cncf.io/events/details/cncf-cloud-native-aix-marseille-presents-xxx"
- "type": "input"
"id": "drive_link"
"attributes":
"label": "Drive Link"
"description": "Provide the link to the Google Drive folder"
"placeholder": "https://drive.google.com/drive/folders/xxxxxxxxxxxxxxxxxxxx"
- "type": "checkboxes"
"id": "slides"
"attributes":
"label": "Slides & Content"
"description": "Check items for slides and event content"
"options":
- "label": "Cover image"
- "label": "Basic Slides"
- "label": "Announcements / surveys / news etc..."
- "label": "Slides hosting"
- "label": "Slides speaker(s)"
- "label": "Kahoot / Game"
- "label": "Openfeedback"
- "label": "Goodies"
- "type": "checkboxes"
"id": "communication"
"attributes":
"label": "Communication"
"description": "Select communication items to be prepared"
"options":
- "label": "Announcement"
- "label": "Cover image"
- "label": "Slack - AixMarseille.Tech"
- "label": "Slack - OpenBaR"
- "label": "LinkedIn"
- "label": "BlueSky"
- "type": "dropdown"
"id": "aperitif"
"attributes":
"label": "Aperitif"
"description": "To be provided?"
"options":
- "Yes"
- "No"
- type: dropdown
id: restaurant
attributes:
label: Restaurant / Bar
description: Afterwards?
options:
- "type": "dropdown"
"id": "restaurant"
"attributes":
"label": "Restaurant / Bar"
"description": "Afterwards?"
"options":
- "Yes"
- "No"
- type: checkboxes
id: post-event
attributes:
label: Post event
description: Select Post event items to be done
options:
- label: Thanks hoster
- label: Thanks speakers
- label: Share slides to meetup
- label: Social networks
- "type": "checkboxes"
"id": "post-event"
"attributes":
"label": "Post event"
"description": "Select Post event items to be done"
"options":
- "label": "Thanks hoster"
- "label": "Thanks speakers"
- "label": "Share slides to Meetup"
- "label": "Social networks"
40 changes: 40 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/__fixtures__/hosters.fixture.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function getHostersFixture(): [string, ...string[]] {
return ["hoster 1", "hoster 2"];
return ["Hoster 1", "Hoster 2"];
}
2 changes: 2 additions & 0 deletions src/__fixtures__/meetup-issue.fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export function getMeetupIssueFixture(override?: Partial<MeetupIssue>): MeetupIs
event_description: "Description",
agenda: `- ${speakers[0]}: Talk description One\n- ${speakers[1]}: Talk description Two`,
meetup_link: "https://www.meetup.com/fr-FR/devops-aix-marseille/events/123456789",
cncf_link:
"https://community.cncf.io/events/details/cncf-cloud-native-aix-marseille-presents-quiz-conteneurs-et-observabilite",
drive_link: "https://drive.google.com/drive/folders/1a2b3c4d5e6f7g8h9i0j",
...(override?.body ?? {}),
},
Expand Down
2 changes: 2 additions & 0 deletions src/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { HosterLinterAdapter } from "./linter/adapter/hoster-linter.adapter";
import { AgendaLinterAdapter } from "./linter/adapter/agenda-linter.adapter";
import { MeetupLinkLinterAdapter } from "./linter/adapter/meetup-link-linter.adapter";
import { DriveLinkLinterAdapter } from "./linter/adapter/drive-link-linter.adapter";
import { CNCFLinkLinterAdapter } from "./linter/adapter/cncf-link-linter.adapter";

const container = new Container();

Expand All @@ -33,6 +34,7 @@ container.bind<LinterAdapter>(LINTER_ADAPTER_IDENTIFIER).to(HosterLinterAdapter)
container.bind<LinterAdapter>(LINTER_ADAPTER_IDENTIFIER).to(EventDescriptionLinterAdapter);
container.bind<LinterAdapter>(LINTER_ADAPTER_IDENTIFIER).to(AgendaLinterAdapter);
container.bind<LinterAdapter>(LINTER_ADAPTER_IDENTIFIER).to(MeetupLinkLinterAdapter);
container.bind<LinterAdapter>(LINTER_ADAPTER_IDENTIFIER).to(CNCFLinkLinterAdapter);
container.bind<LinterAdapter>(LINTER_ADAPTER_IDENTIFIER).to(DriveLinkLinterAdapter);

export { container };
Loading
Loading