--- /dev/null
+[submodule "checkmk-static"]
+path = content/stands/Checkmk
+url = https://github.com/tribe29/checkmk-fosdem-static.git
+
+[submodule "checkmk-code"]
+path = static/stands/Checkmk
+url = https://github.com/tribe29/checkmk-fosdem-content.git
+
+[submodule "free software foundation europe-static"]
+path = content/stands/Free Software Foundation Europe
+url = https://git.fsfe.org/FSFE/fosdem21-static.git
+
+[submodule "free software foundation europe-code"]
+path = static/stands/Free Software Foundation Europe
+url = https://git.fsfe.org/FSFE/fosdem21-content.git
+
+[submodule "kiwi tcms-static"]
+path = content/stands/Kiwi TCMS
+url = https://github.com/kiwitcms/fosdem-2021-stand-static.git
+
+[submodule "kiwi tcms-code"]
+path = static/stands/Kiwi TCMS
+url = https://github.com/kiwitcms/fosdem-2021-stand-content.git
+
+[submodule "pharo-static"]
+path = content/stands/Pharo
+url = https://github.com/pharo-divulgation/pharo-fosdem-static.git
+
+[submodule "pharo-code"]
+path = static/stands/Pharo
+url = https://github.com/pharo-divulgation/pharo-fosdem-content.git
+
Please not that you cannot load any assets (images, css or js) from any other domain than stands.fosdem.org.
+## Local development environment
+To test your changes locally, this is what you can do.
+
+
+
## Feedback
We realise this is certainly not the best possible option, but while we are fairly confident we can organise a physical edition,
going virtual is new for us as well. If you have any ideas for improvements, feedback or anything else, please contact us
--- /dev/null
+---
+title: Database engines
+description: |
+ None
+logo: img/lib/material-icons/database-engines.svg
+---
--- /dev/null
+---
+title: Desktop environments
+description: |
+ None
+logo: img/lib/material-icons/desktop-environments.svg
+---
--- /dev/null
+---
+title: Developer environment
+description: |
+ None
+logo: img/lib/material-icons/developer-environment.svg
+---
--- /dev/null
+---
+title: Education
+description: |
+ None
+logo: img/lib/material-icons/education.svg
+---
--- /dev/null
+---
+title: Gaming
+description: |
+ None
+logo: img/lib/material-icons/gaming.svg
+---
--- /dev/null
+---
+title: HAM Radio
+description: |
+ None
+logo: img/lib/material-icons/ham-radio.svg
+---
--- /dev/null
+---
+title: Hardware
+description: |
+ None
+logo: img/lib/material-icons/hardware.svg
+---
--- /dev/null
+---
+title: IoT
+description: |
+ None
+logo: img/lib/material-icons/iot.svg
+---
--- /dev/null
+---
+title: Multimedia and graphics
+description: |
+ None
+logo: img/lib/material-icons/multimedia-and-graphics.svg
+---
--- /dev/null
+---
+title: Office suites and productivity
+description: |
+ None
+logo: img/lib/material-icons/office-suites-and-productivity.svg
+---
--- /dev/null
+---
+title: Programming languages
+description: |
+ None
+logo: img/lib/material-icons/programming-languages.svg
+---
--- /dev/null
+---
+title: System administration
+description: |
+ None
+logo: img/lib/material-icons/system-administration.svg
+---
import requests
from os import mkdir
from os.path import exists, isfile, isdir
+import configparser
def fetch():
return result.json()
+def create_submodule_config(stand_o, config):
+ if stand_o['submission']['digital_edition']['stand_website_static']:
+ config['submodule "{0}-static"'.format(stand_o['submission']['project']['name'].lower())] = {
+ 'path': 'content/stands/{0}'.format(stand_o['submission']['project']['name']),
+ 'url': stand_o['submission']['digital_edition']['stand_website_static']
+ }
+ if stand_o['submission']['digital_edition']['stand_website_static']:
+ config['submodule "{0}-code"'.format(stand_o['submission']['project']['name'].lower())] = {
+ 'path': 'static/stands/{0}'.format(stand_o['submission']['project']['name']),
+ 'url': stand_o['submission']['digital_edition']['stand_website_code']
+ }
+
+
def create_skeleton(stand_o):
path = '../content/stands/{0}'.format(stand_o['submission']['project']['name'].lower())
static_path = '../static/stands/{0}'.format(stand_o['submission']['project']['name'].lower())
def main():
print('Fetching list of accepted stands ... ', end=None)
+ submodule_config = configparser.ConfigParser()
try:
accepted_stands = fetch()
except Exception as e:
except Exception as e:
print('[FAILED]')
print('\t\t {0}'.format(e))
+
+ try:
+ create_submodule_config(stand, submodule_config)
+ except Exception as e:
+ print('[FAILED]')
+ print('\t\t {0}'.format(e))
else:
print('[OK]')
+
+ with open('../.gitmodules', 'w') as configfile:
+ submodule_config.write(configfile)
return 0
+++ /dev/null
----
-hosts: localhost
-tasks:
- - name: Fetch list of accepted stands
- uri:
- url: https://stands.fosdem.org/submission/api/accepted/
- return_content: yes
- register: accepted_stands
- - name: Create stands content directories
- file:
- path: "/var/opt/app/fosdem_stands/html/content/stands/{{item['submission']['project']['name']}}"
- state: directory
- with_items: "{{accepted_stands.json}}"
- - name: Download content files
- git:
-
\ No newline at end of file