summaryrefslogtreecommitdiffstats
path: root/roles/publish/templates/emacsconf-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'roles/publish/templates/emacsconf-config.el')
-rw-r--r--roles/publish/templates/emacsconf-config.el28
1 files changed, 25 insertions, 3 deletions
diff --git a/roles/publish/templates/emacsconf-config.el b/roles/publish/templates/emacsconf-config.el
index cfb554e..e9e4fcc 100644
--- a/roles/publish/templates/emacsconf-config.el
+++ b/roles/publish/templates/emacsconf-config.el
@@ -1,9 +1,6 @@
;; {{ ansible_managed }}
(add-to-list 'load-path "{{ emacsconf_el_dir }}")
-(require 'emacsconf)
-(require 'emacsconf-publish)
-(require 'emacsconf-schedule)
(org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (shell . t)))
(setq emacsconf-year "{{ emacsconf_year }}")
(setq emacsconf-org-file "{{ emacsconf_org_file }}")
@@ -19,3 +16,28 @@
{% endif %}
(setq emacsconf-pad-api-key "{{ etherpad_api_key }}")
(setq emacsconf-publishing-phase '{{ emacsconf_publishing_phase }})
+(setq emacsconf-backstage-password "{{ emacsconf_backstage_password }}")
+
+(setq emacsconf-backstage-dir "/ssh:orga@media.emacsconf.org:/var/www/media.emacsconf.org/2022/backstage")
+(setq emacsconf-upload-dir "/ssh:orga@media.emacsconf.org:/srv/upload")
+{% if ansible_host == "res.emacsconf.org" %}
+(setq emacsconf-res-dir (format "/ssh:orga@res.emacsconf.org:/data/emacsconf/%s" emacsconf-year))
+(setq emacsconf-cache-dir "/data/{{ emacsconf_id }}/cache")
+(setq emacsconf-stream-host "localhost")
+{% else %}
+(setq emacsconf-res-dir "/data/{{ emacsconf_id }}/{{ emacsconf_year}}")
+{% endif %}
+(add-to-list 'load-path "~/compile-media")
+(require 'compile-media)
+(require 'emacsconf)
+(require 'emacsconf-publish)
+(require 'emacsconf-schedule)
+(require 'emacsconf-erc)
+(require 'emacsconf-stream)
+
+(setq emacsconf-tracks
+ '((:name "General" :color "peachpuff" :id "gen" :channel "emacsconf-gen"
+ :tramp "/ssh:gen:")
+ (:name "Development" :color "skyblue" :id "dev" :channel "emacsconf-dev"
+ :tramp "/ssh:dev:")))
+