Module Upgrade from Command Line?
|
rrsIPOV
Joined: 2007-10-29
Posts: 4 |
Posted: Fri, 2009-04-24 19:37
|
|
Hi, I'm running a customized G2 interface w/ several custom modules. My question is: does anyone out there have a command line interface to manage the upgrade process (mainly for modules/plugins)? It would be really convent to be able to run this via an SSH session. I'm sure we could write one, but given my resource constraints it would be really great if there was one in existence somewhere, even a example script that could be built on. If you have a fully working script, I can reimburse you for it, let me know what it does and how much you want for it. |
|
| Login or register to post comments |

Posts: 3869
You can always upgrade the code itself directly from the repository with a subversion client, but you'll still need to run the graphical front end to get Gallery to recognise new module versions, update configurations etc. It would be a vast amount of work on a now end-of-life project to script that part of it. Especially when you consider that some modules need input into their Admin pages to be configured etc.
Posts: 4
Yeah, that's kind of what I figured. Right now I am upgrading from my SVN repository, although I am planning on moving to tar.gz files stored in S3. Note that I'm not talking about replacing the entire administrative section; but rather taking an existing install and running the upgrade on several plugins (and a custom theme) as a command line option so that the upgrade process for multiple servers can be done without having to login to multiple interfaces (e.g. first ssh and run download then web interface to running the upgrade scripts). Since we tend to rollout updates that span several plugins at as one 'release' it would be very useful to be able to cut down on the possible points of human error when this occurs.
Posts: 3869
If it helps any, nobody's really expecting any of the official modules to be updated ever again (maybe a security update at some point in the future if something horrendous crops up - but aside from that, nada).