The way you describe the environment, it's impossible to bring 
deterministic automated updates. If you have users customizing views, css, 
etc., there is bound to be some manual intervention needed if your updates 
also include views, css, etc.

You could use git, mercurial or a similar tool, but users would need to be 
versed enough to merge their own changes, etc. I don't see this approach as 
really being viable unless it's a very specific target group, ie. 
developers, system administrators, etc. Well, not even then... People do 
crazy things, or at least things you don't expect. User creativity (and 
"creativity") never stops to amaze me... So, it would be better to request 
users to submit their changes first and then create personalized updates - 
hopefully, you'll be getting paid for such support :)

I'd approach this problem as any other OS package - use separate config 
files that don't get updated, have app files that get overwritten on every 
update. Each operating system or a distribution has pretty good tools to 
achieve this - rpm, deb, etc. But if you need to, let's say, update the 
views, users will simply loose their customized views. There is no way 
around this.

Regards,
Ales

On Monday, June 24, 2013 7:56:47 PM UTC+2, [email protected] wrote:
>
> How do you guys release upgrades of your own apps?
>
> The setup is:
>
> - You write a web2py app and release the code.
> - Several people install it on their servers.
> - They change the database connection string, and little more. It works 
> for real.
> - Over time, they customize css files, even some views.
> - You write non-radical updates for your web2py app, but that includes 
> models, controllers, views, and static js and css files.
>
> Now you want them to install the new code, but they have to update the one 
> line in db.py that connects to the database, and they want to keep their 
> data, logos, css, and views.
>
> I didn't find a standard place in the book for this.
>
> Thanks for your ideas/suggestions
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to