Use numeric talk IDs

This commit is contained in:
Oliver Davies 2017-09-06 07:34:18 +01:00
parent b23cdc30c1
commit 113e4e5f3b
21 changed files with 106 additions and 40 deletions

View file

@ -83,114 +83,113 @@ events:
dates: dates:
- event: unifieddiff - event: unifieddiff
date: '2012-09-05' date: '2012-09-05'
talk: what-is-this-drupal-thing talk_id: 1
- event: swdug - event: swdug
date: '2013-07-10' date: '2013-07-10'
talk: talk_title: Drupal and the LDAP Module
title: Drupal and the LDAP Module
type: Talk
- event: drupalcamp-london-14 - event: drupalcamp-london-14
date: '2014-03-01' date: '2014-03-01'
talk: git-flow talk: git-flow
talk_id: 2
- event: drupal-bristol - event: drupal-bristol
date: '2014-08-19' date: '2014-08-19'
talk: drush-make-drupalbristol talk: drush-make-drupalbristol
talk_id: 3
# - event: swdug - event: swdug
# date: '2014-08-19' date: '2014-08-19'
# talk: talk_title: About the Drupal Association
# title: About the Drupal Association
# type: Talk # type: Talk
- event: drupalcamp-brighton-15 - event: drupalcamp-brighton-15
date: '2015-01-18' date: '2015-01-18'
talk: drupalorg-2015 talk_id: 4
- event: drupalcamp-london-15 - event: drupalcamp-london-15
date: '2015-02-28' date: '2015-02-28'
talk: drupalorg-2015 talk_id: 4
- event: phpsw - event: phpsw
date: '2015-04-08' date: '2015-04-08'
talk: drupal-8 talk_id: 5
- event: drupalcamp-north-15 - event: drupalcamp-north-15
date: '2015-07-25' date: '2015-07-25'
talk: test-drive-twig-with-sculpin talk_id: 6
- event: umbristol - event: umbristol
date: '2015-08-25' date: '2015-08-25'
talk: dancing-for-drupal talk_id: 7
- event: phpsw - event: phpsw
date: '2015-10-14' date: '2015-10-14'
talk: sculpin talk_id: 8
feedback: https://joind.in/talk/view/15486 feedback: https://joind.in/talk/view/15486
- event: drupalcamp-london-16 - event: drupalcamp-london-16
date: '2016-03-05' date: '2016-03-05'
talk: drupal-8-module-development talk_id: 9
- event: nwdug - event: nwdug
date: '2016-03-08' date: '2016-03-08'
talk: drupal-vm-generator talk_id: 10
- event: drupal-bristol - event: drupal-bristol
date: '2016-04-02' date: '2016-04-02'
talk: drupal-vm-generator talk_id: 10
- event: phpsc16 - event: phpsc16
date: '2016-06-11' date: '2016-06-11'
talk: drupal-8-rejoining-the-herd talk_id: 11
feedback: https://joind.in/talk/41d0f feedback: https://joind.in/talk/41d0f
- event: drupalcamp-bristol-16 - event: drupalcamp-bristol-16
date: '2016-07-23' date: '2016-07-23'
talk: drupal-vm-meet-symfony-console talk_id: 12
- event: phpsw - event: phpsw
date: '2016-11-09' date: '2016-11-09'
talk: drupal-development-with-composer talk_id: 13
- event: drupal-bristol - event: drupal-bristol
date: '2016-11-17' date: '2016-11-17'
talk: goodbye-drush-make-hello-composer talk_id: 14
- event: drupal-bristol - event: drupal-bristol
date: '2017-01-18' date: '2017-01-18'
talk: getting-your-data-into-drupal-8 talk_id: 15
- event: phpsw - event: phpsw
date: '2017-02-08' date: '2017-02-08'
talk: it-all-started-with-a-patch talk_id: 16
feedback: https://joind.in/event/phpsw-new-skills-february-17/it-started-with-a-patch feedback: https://joind.in/event/phpsw-new-skills-february-17/it-started-with-a-patch
- event: drupalcamp-london-17 - event: drupalcamp-london-17
date: '2017-03-04' date: '2017-03-04'
time: '16:15 - 17:00' time: '16:15 - 17:00'
talk: tdd-test-driven-drupal talk_id: 17
- event: drupalcamp-london-17 - event: drupalcamp-london-17
date: '2017-03-04' date: '2017-03-04'
time: '12:05 - 12:50' time: '12:05 - 12:50'
talk: getting-your-data-into-drupal-8 talk_id: 15
- event: nomad-php - event: nomad-php
date: '2017-04-20' date: '2017-04-20'
time: '19:00 (CET)' time: '19:00 (CET)'
type: Lightning talk type: Lightning talk
talk: deploying-php-fabric talk_id: 18
- event: phpsw - event: phpsw
date: '2017-09-13' date: '2017-09-13'
time: ~ time: ~
feedback: https://joind.in/talk/a5ff3 feedback: https://joind.in/talk/a5ff3
talk: deploying-php-fabric talk_id: 18
- event: phpnw17 - event: phpnw17
date: '2017-10-01' date: '2017-10-01'
time: '09:00 - 09:45' time: '09:00 - 09:45'
talk: deploying-php-fabric talk_id: 18

View file

@ -2,7 +2,7 @@
<h2>Events</h2> <h2>Events</h2>
{% set events = [] %} {% set events = [] %}
{% for date in site.events.dates %} {% for date in site.events.dates if date.talk_id == page.talk_id %}
{% set events = events|merge([{ {% set events = events|merge([{
date: date, date: date,
event: site.events.events[date.event], event: site.events.events[date.event],
@ -11,6 +11,6 @@
{% include 'talks-table' with { {% include 'talks-table' with {
events: events, events: events,
talk_page: true, talk_page: true
} %} } %}
</div> </div>

View file

@ -1,7 +1,7 @@
<div class="w-100 overflow-x-auto overflow-y-hidden"> <div class="w-100 overflow-x-auto overflow-y-hidden">
<table class="w-100 ba b--moon-gray"> <table class="w-100 ba b--moon-gray">
<thead> <thead>
<tr class="striped--light-gray"> <tr class="striped--near-white">
<th class="w-20-l pa2 tl">Date</th> <th class="w-20-l pa2 tl">Date</th>
{% if not talk_page %} {% if not talk_page %}
@ -17,9 +17,9 @@
</thead> </thead>
<tbody> <tbody>
{% for row in events %} {% for row in events %}
<tr> <tr class="striped--near-white">
<td class="pa2"> <td class="pa2">
{{ row.date.date }} {{ row.date.date|date(row.date.fuzzy_date ? 'F Y' : 'j F Y') }}
{% if row.date.time is defined %} {% if row.date.time is defined %}
<small class="db black-50"> <small class="db black-50">
@ -30,20 +30,30 @@
{% if not talk_page %} {% if not talk_page %}
<td class="pa2"> <td class="pa2">
{% if row.date.talk.title is not defined %} {% if row.date.talk_title is not defined %}
{% for talk in data.talks if talk.id ends with '/' ~ row.date.talk ~ '.md' %} {% for talk in data.talks if talk.talk_id == row.date.talk_id %}
<a href="{{ talk.url }}"> <a href="{{ talk.url }}">
{{ talk.title }} {{ talk.title }}
</a> </a>
{% endfor %} {% endfor %}
{% else %} {% else %}
{{ row.date.talk.title }} {{ row.date.talk_title }}
{% endif %} {% endif %}
<small class="db black-50">
{{ row.date.type|default('Talk') }}
</small>
</td> </td>
{% endif %} {% endif %}
<td class="pa2"> <td class="pa2">
{{ row.event.name }} {% if row.event.website is defined %}
<a href="{{ row.event.website }}">
{{ row.event.name }}
</a>
{% else %}
{{ row.event.name }}
{% endif %}
{% if row.event.location is defined %} {% if row.event.location is defined %}
<small class="db black-50"> <small class="db black-50">
@ -52,9 +62,19 @@
{% endif %} {% endif %}
</td> </td>
<td class="pa2"> {% if not upcoming %}
feedback <td class="ph2">
</td> {% if row.date.feedback %}
<a
href="{{ row.date.feedback }}"
class="bg-blue br2 pa2 white-90 no-underline dib dim"
title="Read or leave feedback for this talk">
<i class="fa fa-comment-o mr1"></i>
joind.in
</a>
{% endif %}
</td>
{% endif %}
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 7
title: Dancing for Drupal title: Dancing for Drupal
slides: slides:
url: https://speakerdeck.com/opdavies/umbristol-dancing-for-drupal url: https://speakerdeck.com/opdavies/umbristol-dancing-for-drupal

View file

@ -0,0 +1,30 @@
---
talk_id: 18
title: Deploying PHP Applications with Fabric
slides:
url: https://speakerdeck.com/opdavies/deploying-php-applications-with-fabric
embed: '<script async class="speakerdeck-embed" data-id="c147618ce07546ca92f92983c52d6a41" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>'
video:
embed: '<iframe width="560" height="315" src="https://www.youtube.com/embed/kM0MDUJE8ys" frameborder="0" allowfullscreen></iframe>'
url: https://www.youtube.com/watch?v=kM0MDUJE8ys
tags: [meetup, conference, php, fabric]
meta:
og:
title: Deploying PHP Applcations with Fabric
description: "You've built your PHP application, now learn how to deploy it with Fabric."
type: website
image:
url: /assets/images/talks/deploying-php-fabric.png
width: 1280
height: 800
type: image/png
redirect:
- talks/deploying-php-applications-with-fabric/
---
Youve built your application, and now you just need to deploy it. There are various ways that this could be done from (S)FTP, to SCP and rsync, to running commands like “git pull” and “composer install” directly on the server (not recommended).
My favourite deployment tool of late is [Fabric][1] a Python based command line tool for running commands locally as well as on remote servers. Its language and framework agnostic, and unopinionated so you define the steps and workflow that you need from a basic few-step deployment to a full Capistrano style zero-downtime deployment.
This talk will cover some introduction to Fabric and how to write your own fabfiles, and then look at some examples of different use case deployments for your PHP project.
[1]: http://www.fabfile.org

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 9
title: Getting Started with Drupal 8 Module Development title: Getting Started with Drupal 8 Module Development
tags: [conference, php, drupal, drupalcamp, drupal-8] tags: [conference, php, drupal, drupalcamp, drupal-8]
tweets: yes tweets: yes

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 11
title: Drupal 8: Rejoining the Herd title: Drupal 8: Rejoining the Herd
tags: [conference, php, drupal, drupal-8] tags: [conference, php, drupal, drupal-8]
slides: slides:

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 5
title: Drupal 8 title: Drupal 8
type: Lightning talk type: Lightning talk
slides: slides:

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 13
title: Modern Drupal Development with Composer title: Modern Drupal Development with Composer
type: Lightning talk type: Lightning talk
tags: ['meetups', 'phpsw', 'drupal', 'composer'] tags: ['meetups', 'phpsw', 'drupal', 'composer']

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 10
title: Drupal VM Generator title: Drupal VM Generator
type: Lightning talk type: Lightning talk
code: https://github.com/opdavies/drupal-vm-generator code: https://github.com/opdavies/drupal-vm-generator

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 12
title: Drupal VM, Meet Symfony Console title: Drupal VM, Meet Symfony Console
tags: [conference, php, drupal-vm, symfony] tags: [conference, php, drupal-vm, symfony]
slides: slides:

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 4
title: Drupal.org in 2015: What's Coming Next title: Drupal.org in 2015: What's Coming Next
tags: [conference, drupalcamp, drupalcamp-london, drupal-association] tags: [conference, drupalcamp, drupalcamp-london, drupal-association]
slides: slides:

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 3
title: drush make drupalbristol title: drush make drupalbristol
slides: slides:
url: https://speakerdeck.com/opdavies/drush-make-drupalbristol url: https://speakerdeck.com/opdavies/drush-make-drupalbristol

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 15
title: Getting (Your Data) Into Drupal 8 title: Getting (Your Data) Into Drupal 8
slides: slides:
url: https://speakerdeck.com/opdavies/getting-your-data-into-drupal-8-drupal-bristol url: https://speakerdeck.com/opdavies/getting-your-data-into-drupal-8-drupal-bristol

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 2
title: Never Commit to Master - An Introduction to Git Flow title: Never Commit to Master - An Introduction to Git Flow
slides: slides:
url: https://speakerdeck.com/opdavies/never-commit-to-master-an-introduction-to-git-flow url: https://speakerdeck.com/opdavies/never-commit-to-master-an-introduction-to-git-flow

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 14
title: Goodbye Drush Make. Hello Composer! title: Goodbye Drush Make. Hello Composer!
tags: ['meetup', 'drupal', 'composer'] tags: ['meetup', 'drupal', 'composer']
slides: slides:

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 16
title: It All Started With A Patch title: It All Started With A Patch
type: Lightning talk type: Lightning talk
tags: [meetup, phpsw, open-source] tags: [meetup, phpsw, open-source]

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 8
title: Building Static Websites with Sculpin title: Building Static Websites with Sculpin
type: Lightning talk type: Lightning talk
slides: slides:

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 17
title: TDD - Test Driven Drupal title: TDD - Test Driven Drupal
slides: slides:
url: https://speakerdeck.com/opdavies/test-driven-drupal-development-with-simpletest-and-phpunit-drupalcamp-london-17 url: https://speakerdeck.com/opdavies/test-driven-drupal-development-with-simpletest-and-phpunit-drupalcamp-london-17

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 6
title: Test Drive Twig with Sculpin title: Test Drive Twig with Sculpin
slides: slides:
url: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin url: https://speakerdeck.com/opdavies/test-drive-twig-with-sculpin

View file

@ -1,4 +1,5 @@
--- ---
talk_id: 1
title: So, what is this Drupal thing? title: So, what is this Drupal thing?
video: video:
url: https://vimeo.com/49827006 url: https://vimeo.com/49827006