Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/updateserver/files/sitescripts

Issue 5071748311547904: Issue 1094 - Generate update manifests on the update server (Closed)
Patch Set: Reduced duplication Created July 25, 2014, 7:17 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/updateserver/files/sitescripts
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/updateserver/files/sitescripts
@@ -0,0 +1,21 @@
+[extensions]
+hg_root=/var/lib/adblockplus
Wladimir Palant 2014/07/25 09:50:11 We usually keep the repositories under /opt (see d
Felix Dahlke 2014/07/25 10:31:15 Based on the file system hierarchy standard, /var/
+abp_repository=%(hg_root)s/adblockplus
+abpsafari_repository=%(hg_root)s/adblockpluschrome
+abpsafari_type=safari
+abpsafari_key=%(hg_root)s/adblockplussafari.pem
Wladimir Palant 2014/07/25 09:50:11 Ouch, keeping that key on the update server only f
Felix Dahlke 2014/07/25 10:31:15 Yes, I believe that's the best approach. For now w
+abpandroid_repository=%(hg_root)s/adblockplusandroid
+abpandroid_type=android
+ehh_repository=%(hg_root)s/elemhidehelper
+watcher_repository=%(hg_root)s/abpwatcher
+customization_repository=%(hg_root)s/abpcustomization
+urlfixer_repository=%(hg_root)s/urlfixer
+downloadsrepo=%(hg_root)s/downloads
+downloadsurl=https://downloads.adblockplus.org/
+web_root=/var/www/update
+geckoUpdateManifestPath=%(web_root)s/adblockplus/update.rdf
Wladimir Palant 2014/07/25 09:50:11 That's a rather misleading path given that this fi
Felix Dahlke 2014/07/25 10:31:15 Went even further and called the thing "gecko". Bu
Wladimir Palant 2014/07/25 11:11:02 Note that splitting up is better done before we re
Felix Dahlke 2014/07/25 14:17:56 Messy how? We don't need redirects for the individ
+geckoUpdateManifest=extensions/template/update.rdf
+safariUpdateManifestPath=%(web_root)s/adblockplussafari/updates.plist
+safariUpdateManifest=extensions/template/updates.plist
+androidUpdateManifestPath=%(web_root)s/adblockplusandroid/androidupdates.xml
Wladimir Palant 2014/07/25 09:50:11 updates.xml please - it was only called androidupd
Felix Dahlke 2014/07/25 10:31:15 Done.
+androidUpdateManifest=extensions/template/androidupdates.xml

Powered by Google App Engine
This is Rietveld