Skip to content

Instantly share code, notes, and snippets.

@floriankraemer
Last active July 31, 2023 08:01
Show Gist options
  • Save floriankraemer/c0776a89fe501bfffb901b14c94b3906 to your computer and use it in GitHub Desktop.
Save floriankraemer/c0776a89fe501bfffb901b14c94b3906 to your computer and use it in GitHub Desktop.
Shared AA Config for the Time Logging App
<?php
const MEETINGS = 'CC-25574'; // General Work -meeting participation, team activities
const ARCHITECTURE = 'CC-25882'; // Design and planning of Spaceship features - arch leadership
const EDUCATION = 'CC-26282'; // Education & Time Logging
const BILLABLE = 'CC-26268'; // Billable hours
return [
'mainAttendeeEmail' => '',
'skippedEvents' => [
'Architects\' Virtual Coffee Break',
'Out of office'
],
'eventMappings' => [
'name' => [
'Jedi daily' => MEETINGS,
'Mandalorian Daily' => MEETINGS,
'CC Q&A Weekly' => MEETINGS,
'AA Weekly Sync' => MEETINGS,
'2023 CoreCommerce Weekly Sync' => MEETINGS,
'ART: SCCOS' => MEETINGS,
'Jedi Retro' => MEETINGS,
'CC-26282' => ARCHITECTURE,
'Misc' => ARCHITECTURE,
],
'prefix' => [
'[' . MEETINGS . ']' => MEETINGS,
'[' . ARCHITECTURE . ']' => ARCHITECTURE,
'[' . EDUCATION . ']' => EDUCATION,
'[' . BILLABLE . ']' => BILLABLE,
MEETINGS . ':' => MEETINGS,
ARCHITECTURE . ':' => ARCHITECTURE,
BILLABLE . ':' => BILLABLE,
EDUCATION . ':' => EDUCATION,
],
'strategy_ticket' => '',
'generic_meeting_ticket' => MEETINGS,
'regex' => [
'/^[A-Za-z]{2,5}-\d{1,10}/' => null, // Null will use the result as ticket number
]
],
'jiraUsername' => '',
'jiraApiToken' => '',
'jiraBaseUrl' => 'https://spryker.atlassian.net/',
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment