folletto / wpdo Goto Github PK
View Code? Open in Web Editor NEWSimple command line tool to install WordPress TRUNK and patches from make.wordpress.com
Simple command line tool to install WordPress TRUNK and patches from make.wordpress.com
It should be possible to also upload a patch from it, not just try it out.
On install, WPdo should move to a system folder to be always available.
The same script should also make sure the latest version is installed, ideally.
SVN would be ideal since WordPress Core is based on that.
However there's also a GIT repository that mirrors every 15 minutes: https://github.com/WordPress/WordPress
GIT might be easier to setup on a clean OSX install.
Or, try to extract it from Brew (formula)?
I was trying to apply a patch today and came across these issues:
From the root directory in terminal, I typed wpdo patch https://core.trac.wordpress.org/attachment/ticket/40702/40702.diff
and got this:
It also created a src
directory which I had to delete afterwards.
Is this an issue with how wpdo patch
works, or with the patch itself?
The install command should be able to setup MySQL in a zero-configuration way, with zero or close to zero interactions.
Maybe something borrowed from brew
, see here.
Compiles from: https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-5.7.13.tar.gz
We need to be careful with this as there might be working files from the user, however ideally when doing revert it should restore the initial state, thus removing any new file that could have been created.
Use case: a patch doesn't just edit files, it also adds new files. So when the patch is re-applied, the files gets doubled up, and break.
Maybe a question after it runs if it detects such files?
Install SVN... or suggest at least a way to install it.
brew might make all the tasks here simpler.
Pros:
Cons:
If this gets introduced, it's important to introduce both the install and the uninstall script at the same time. Check also different package managers.
WPdo should reach a point where these instructions are the way to get started:
curl -s http://example.org/wpdo | bash -s install
in TerminalA 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.