joomla-projects / cli-update Goto Github PK
View Code? Open in Web Editor NEWProof of concept on how to update Joomla! from the command line
Proof of concept on how to update Joomla! from the command line
Is it notIs not it better to exclude core extensions in the response of these methods?
They will anyway be updated with the Core.
Last update was 10 months ago, but local testing appears to be working.
I'd like to contribute. One immediate change I'd make is to compare the update version with the current version and skip if they match (maybe with a force re-install option). Right now it appears that when an update is requested, it's performed if needed or not.
Hi
I noticed this issue when using this to update from Joomla 3.7.4 to 3.8.1.
The error message was...
Error displaying the error page: Class 'JDocument' not found: Class 'JExtensionHelper' not found
Which I found a good thread about on...
joomla/joomla-cms#18316
I'll try and code up a fix.
We are literally removing support in 3.5.0 from updating via JInstaller because of the ordering the update is done in and you are about to reintroduce it with this script.....
When updating this way/through Extension Manager the following process happens:
preflight
method, trigger thatupdate
method, trigger thatpostflight
method, trigger thatIn the update component, it's more like this
preflight
if it exists (it doesn't right now)update
method in extension script if it exists (it does)postflight
method in extension script if it exists (it doesn't right now)The important thing being is the postflight is called with the new versions code rather than the old versions code.....
If you keep the current code as is the Core Updates are going to go badly badly wrong......
#1 TODO
Priorise extensions before core
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.