summaryrefslogtreecommitdiff
path: root/templates/configurators
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-11-21 17:49:56 -0400
committerJoey Hess <joey@kitenet.net>2013-11-21 17:49:56 -0400
commite2f17e9da3d4794e9ec9fb784e90c938d4b9b486 (patch)
tree209318da008ba52c02db5fa930ae9dec409b5fb1 /templates/configurators
parentff2b0a9df6e3dc88f5266d0e4a5cf80b6105eecd (diff)
upgrade alerts
The webapp will check twice a day, when the network is connected, to see if it can download a distributon upgrade file. If a newer version is found, display an upgrade alert. This will need the autobuilders to set UPGRADE_LOCATION to the url it can be downloaded from when building git-annex. Only builds with that set need automatic upgrade alerts. Currently, the upgrade page just requests the user manually download and upgrade it. But, all the info is provided to do automated upgrades in the future. Note that urls used will need to all be https. This commit was sponsored by Dirk Kraft.
Diffstat (limited to 'templates/configurators')
-rw-r--r--templates/configurators/upgrade.hamlet12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/configurators/upgrade.hamlet b/templates/configurators/upgrade.hamlet
new file mode 100644
index 0000000000..dbe72288b6
--- /dev/null
+++ b/templates/configurators/upgrade.hamlet
@@ -0,0 +1,12 @@
+<div .span9 .hero-unit>
+ <h2>
+ Upgrade git-annex
+ <p>
+ Version #{distributionVersion d} was released #
+ #{fromDuration upgradeage} ago.
+ <p>
+ To upgrade to this version, you will need to manually download and #
+ install it. (Sorry, upgrades are not automated yet..)
+ <p>
+ <a .btn .btn-primary href="#{distributionUrl d}">
+ Download