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.
This commit is contained in:
parent
ff2b0a9df6
commit
e2f17e9da3
14 changed files with 191 additions and 3 deletions
12
templates/configurators/upgrade.hamlet
Normal file
12
templates/configurators/upgrade.hamlet
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue