Add version.txt which saves the last publishing date

Bug #1416466 reported by Daniel Holbach
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Help App

Bug Description

<daker> dholbach: if you use static content you will have to update the app each time
<daker> you change something
<dholbach> right... on the plus side, this would allow users to use the content offline
 I don't know what the best way to do this is :)
 daker, we could also set up a daily build, which publishes the html on community.u.c or something
<daker> dholbach: you'll have to put a file "version.txt" which will hold the date of the last content update, once the app starts it will check "version.txt" on the server and compare with the local one, if they are different download the content from the server and cache localy, then the app will only read the local content
<daker> and you can use localstorage to store content

Revision history for this message
Daniel Holbach (dholbach) wrote :

Adnane wrote code which can be used for this:

Revision history for this message
Daniel Holbach (dholbach) wrote :

<daker> dholbach: date or just a version number
<dholbach> whatever you feel is better - adding a small piece of code to write and ship the version number would be easy to add to the create-click script
 or to the Makefile
 so we could do "make click" and "make release" or some such
 date might be even more understandable
 and we could do something like a (today - date).days>7 check to the javascript

Changed in ubuntu-devices-help:
importance: Undecided → Medium
David Planella (dpm)
Changed in help-app:
status: New → Triaged
importance: Medium → Low
David Planella (dpm)
Changed in help-app:
milestone: none → backlog
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.