[Xerte-dev] Re: Auto updater? Backup? Restore?

Ron Mitchell ronm at mitchellmedia.co.uk
Thu Jul 4 15:55:05 BST 2013


This is a can of works because I'm not sure how any such manifest would take
care of local tweaks and customisations. It's a regular challenge for me
upgrading installations e.g. I often update from svn, export to a local
folder, create a copy of that exported folder and remove certain files and
folders before uploading to the server e.g. I often remove the following
before uploading:

error_logs
import
setup
USER-FILES
auth_config.php
Library/Xerte/Authentication/Static.php
modules/xerte/parent_templates/Nottingham/common/styles.css
modules/xerte/templates/Nottingham/data.xml
and in some cases
website_code/images
website_code/styles

A 'clean upgrade' is relatively easy as long as you know what files and
folders to leave in place including backing up directories and database
first.

Ron


-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 03 July 2013 22:31
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: Auto updater? Backup? Restore?

Hmmm... I know what your saying but perhaps not as easy to orchestrate when
in installed in server root as when installed in a sub-folder that can be
switched...

I'm sure it can be done in other ways though involving manifests and
tracking/backing-up changed/added/deleted files...

This might be where Tom's script for building packages from svn could create
a usable manifest of changes between Revisions and uswest that to build a
sub-version...

I'll look at how the major players (wordpress/drupal/moodle/joomla) do it
and feed back to the list...

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:


when i weighed up how to upgrade our install, I wanted to be able to make a
clean install, and then migrate the user data into it. Then I was sure I was
running a clean 2.0. There were quite a lot of changed files, and
structures, so installing over the top would have left a lot of litter, and
we already had quite a lot left over from 1.7 - 1.8 - 1.9 upgrades, which
were all over the top, with a bit of tweaking. Technically it was tricky
because we were trying to run two installs sharing one install's settings,
so paths didn't work, for example - so we had to take a plunge and switch it
all over - we had established the main things were working though. I think
it would be great if we could devise a process that went along that 'clean
install but exissting data' road.


________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
[J.J.Smith at gcu.ac.uk]
Sent: 03 July 2013 20:08
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: Auto updater? Backup? Restore?

Yeah Tom and its great. I use it often...

How easy was it to setup? Can a similar thing be done so that we get
semi-regular releases with the next release being incremental from the
previous? And could a manifest of changes be created (in xml say) that would
list the added, deleted unchanged files?

Would automating these things potentially break peoples installs? I want to
make it easy to setup and patch often but not so easy to shut down someone's
server... We could do a kind of rollback i suppose...

Regards

John Smith
Learning Technologist
School of Health and Life Sciences

Sent from Samsung Galaxy SII



Tom Reijnders <reijnders at tor.nl> wrote:


There is an automatic build of an update .zip with all the patches since the
release. That is far as we got.

Tom

Op 3-7-2013 20:09, Smith, John schreef:
> Has this every been discussed or considered?
>
> We've people coming on the forum still using v1.7 - should we now build in
an auto updater to make updates easy and even more frequent, such as v2.0.1,
v2.0.2 etc? Especially since we've been patching a few things lately that
are bound to catch other people out...
>
> If we did then there's lots to consider but does the benefits outweigh the
risks?
>
> Should we also build a backup option that will zip everything up, backup
database and send a download link when complete? That then leads on to a
restore from backup?
>
> Regards
>
> John Smith
> Learning Technologist
> School of Health and Life Sciences
>
> Sent from Samsung Galaxy SII
>
>
>
> Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
>
>
> I might on Friday, but time to write code is hard to find at the 
> minute
>
> From: xerte-dev-bounces at lists.nottingham.ac.uk 
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, 
> John
> Sent: 03 July 2013 16:37
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Stylesheet/Styles optional properties in 
> Bootstrap
>
> I'll look at it if I get a chance.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] 
> On Behalf Of Julian Tenney
> Sent: Wednesday, July 03, 2013 4:34 PM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Stylesheet/Styles optional properties in 
> Bootstrap
>
> I thought so. Bit busy to test the moment.
>
> If they want to do more than trivial changes, the best thing will be to
look at application.js, and the custom stylesheet in the template itself.
>
> From: 
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] 
> On Behalf Of Smith, John
> Sent: 03 July 2013 15:20
> To: 
> xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.
> uk>
> Subject: [Xerte-dev] Stylesheet/Styles optional properties in 
> Bootstrap
> Importance: High
>
> Hi Julian,
>
> Are these wired up yet? I couldn't get anything that I put into these 
> two fields to appear in my resulting LO source. Someone in the Forum 
> was asking about changing the look.
>
> Regards,
>
> John Smith
> Learning Technologist
> School of Health & Life Sciences
> Glasgow Caledonian University
>
>
> Glasgow Caledonian University is a registered Scottish charity, number 
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html
>
>
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
>
>
> Glasgow Caledonian University is a registered Scottish charity, number 
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html
>
>
> This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
>
>
> Glasgow Caledonian University is a registered Scottish charity, number 
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6
> 219,en.html
>
> Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1
> 5691,en.html _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>

--
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196


_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system,
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.





Glasgow Caledonian University is a registered Scottish charity, number
SC021474

Winner: Times Higher Education's Widening Participation Initiative of the
Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html

Winner: Times Higher Education's Outstanding Support for Early Career
Researchers of the Year 2010, GCU as a lead with Universities Scotland
partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it.   Please do not
use, copy or disclose the information contained in this message or in any
attachment.  Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system,
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.








More information about the Xerte-dev mailing list