Skip to content

Commit 68f685a

Browse files
Revert "Remove WP-CLI files unrelated to wp package *"
This reverts commit 749466f.
1 parent 749466f commit 68f685a

263 files changed

Lines changed: 43201 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This file is for unifying the coding style for different editors and IDEs
2+
# editorconfig.org
3+
4+
# WordPress Coding Standards
5+
# http://make.wordpress.org/core/handbook/coding-standards/
6+
7+
root = true
8+
9+
[*]
10+
charset = utf-8
11+
end_of_line = lf
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
indent_style = tab
15+
indent_size = 4
16+
17+
[*.{json,yml,feature}]
18+
indent_style = space
19+
indent_size = 2
20+
21+
[composer.json]
22+
indent_style = space
23+
indent_size = 4

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform EOL normalization
2+
* text=auto eol=lf

.github/ISSUE_TEMPLATE

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!--
2+
3+
Thanks for taking the time to help improve WP-CLI!
4+
5+
Found a bug or want to suggest an enhancement to an existing command? Before creating an issue, please review our best practices: http://wp-cli.org/docs/bug-reports/
6+
7+
But first, make sure you're running the most recent version of WP-CLI! The current version is the only officially supported version.
8+
9+
Need help with something? Github issues aren't for general support questions, but there are other venues you can try: http://wp-cli.org/#support
10+
11+
Want to suggest a feature? Check out the roadmap for how feature development happens: https://wp-cli.org/docs/roadmap/
12+
13+
You can safely delete this comment.
14+
15+
-->

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.DS_Store
2+
config.yml
3+
PHAR_BUILD_VERSION
4+
/cache
5+
/packages
6+
/vendor
7+
/*.phar
8+
/phpunit.xml.dist
9+
/codesniffer
10+
/PHP_Codesniffer-VariableAnalysis

.mailmap

Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,234 @@
1+
2ndkauboy <bernhard@kau-boys.de>
2+
Akeda Bagus <admin@gedex.web.id>
3+
Alex Mills <git@viper007bond.com>
4+
Anant Shrivastava <anant@anantshri.info>
5+
Andreas Heigl <andreas@heigl.org>
6+
andreascreten <andreas@madewithlove.be>
7+
Andrew Patton <andrew@acusti.ca>
8+
andyexeter <palmer.andy@gmail.com>
9+
BA <kau@connecticum.de>
10+
bartaakos <akos@netpositive.hu>
11+
bendoh <ben@thinkoomph.com>
12+
Bernhard Kau <github@kau-boys.de>
13+
Bobby Walters <bobbymwalters@gmail.com>
14+
BoiteAWeb <juliobosk@gmail.com>
15+
boonebgorges <boonebgorges@gmail.com>
16+
Borek Bernard <borekb@gmail.com>
17+
borekb <borekb@gmail.com>
18+
Brad Parbs <brad@bradparbs.com>
19+
Brandon Kraft <public@brandonkraft.com>
20+
Brian MacKinney <brian@getpantheon.com>
21+
builtbylane <lanegoldberg@gmail.com>
22+
c10b10 <alex.ciobica@gmail.com>
23+
c10b10 <alex.ciobica@gmail.com>
24+
Chris Montgomery <chris@montchr.io>
25+
clemens-tolboom <clemens@build2be.com>
26+
conatus <alex@recordsonribs.com>
27+
Corey Worrell <proskater55@gmail.com>
28+
ctayloroomphinc <ctaylor@thinkoomph.com>
29+
cyberhobo <dylan.k.kuhn@gmail.com>
30+
daithi-coombes <webeire@gmail.com>
31+
dangardner <dan@web.nearest.to>
32+
Daniel Bachhuber <daniel.bachhuber@fusion.net>
33+
danielbachhuber <d@danielbachhuber.com>
34+
danielbachhuber <daniel@handbuilt.co>
35+
danielbachhuber <danielbachhuber@gmail.com>
36+
Dave Leach <dave@dmleach.com>
37+
dd32 <contact-atlassian@dd32.id.au>
38+
dlh01 <david@alleyinteractive.com>
39+
drrobotnik <B@Brandons-Mac-Pro-4.local>
40+
Duncan Brown <duncanjbrown@gmail.com>
41+
dwightjack <marco.solazzi@gmail.com>
42+
Eduardo Alencar <ealencar10@gmail.com>
43+
eliorivero <eliorivero@gmail.com>
44+
Enrico Sorcinelli <enrico.sorcinelli@italiaonline.it>
45+
ericandrewlewis <eric.andrew.lewis@gmail.com>
46+
ericmann <eric@eamann.com>
47+
ernilambar <nilambar@outlook.com>
48+
erwanlr <erwan.lr@gmail.com>
49+
eugeneware <eugene@noblesamurai.com>
50+
Evan Mattson <me@aaemnnost.tv>
51+
Fabian Isele <uxdmm@student.kit.edu>
52+
francescolaffi <francesco.laffi@gmail.com>
53+
Frank Staude <frank@staude.net>
54+
Frankie Jarrett <fjarrett@godaddy.com>
55+
future500 <ramon@future500.nl>
56+
Gary Jones <gamajo@gamajo.com>
57+
Geo <geo.artemenko@gmail.com>
58+
getsource <mike.schroder@dreamhost.com>
59+
Gilbert Pellegrom <gilbert@pellegrom.me>
60+
glebis <glebis@gmail.com>
61+
goldenapples <goldenapplesdesign@gmail.com>
62+
goldenapples <ntaintor@janrain.com>
63+
Grant McInnes <grant.mcinnes@eyesopen.ca>
64+
Greg Anderson <greg.1.anderson@greenknowe.org>
65+
hideokamoto <kokkoku214@gmail.com>
66+
Hidetaka Okamoto <kokkoku214@gmail.com>
67+
hina <hina@hinaloe.net>
68+
hinoue-work <wpuser@wp-cli-14.04>
69+
Hiroshi Urabe <mail@torounit.com>
70+
Ian Dunn <ian@iandunn.name>
71+
itsananderson <will@itsananderson.com>
72+
j3lamp <j3lamp@gmail.com>
73+
jacobischwartz <jacob@schwambell.com>
74+
Jakub Juszczak <netghost03@gmail.com>
75+
Jan Voráček <jan@voracek.net>
76+
Japh <japhie@gmail.com>
77+
Jeff Gould <jrgould@gmail.com>
78+
jeichorn <joshua.eichorn@pagely.com>
79+
Jeremy Pry <jeremy.pry@gmail.com>
80+
jghazally <jeff@bigfish.co.uk>
81+
jghazally <jghazally@gmail.com>
82+
Jim Reevior <jim@thinkoomph.com>
83+
jmslbam <jmslbam@gmail.com>
84+
John Blackbourn <john@johnblackbourn.com>
85+
johnbillion <johnbillion@gmail.com>
86+
johnpbloch <jbloch@John-Blochs-iMac.local>
87+
johnpbloch <johnpbloch@gmail.com>
88+
jonathanbardo <jonathanbardo@users.noreply.github.com>
89+
Jorge A. Torres <j@jorgetorres.co>
90+
Josh Eaton <josh@josheaton.org>
91+
joshbetz <j@joshbetz.com>
92+
joshlevinson <joshalevinson@gmail.com>
93+
joshstoik1 <joshstoik@gmail.com>
94+
Joshua Priddle <jpriddle@me.com>
95+
JQ <JeyKeu@users.noreply.github.com>
96+
jtsternberg <me@jtsternberg.com>
97+
KDoole <dev@Kevins-iMac.local>
98+
Keanan Koppenhaver <keanan@doejo.com>
99+
Keith Grennan <keith@nearlyfree.org>
100+
Kevin Doole <kdoole@farmmedia.com>
101+
Kevinlearynet <info@kevinleary.net>
102+
kidfiction <ejdanderson@gmail.com>
103+
lackingpenguin <benjamin.j.brooks@gmail.com>
104+
leewillis77 <leewillis77@gmail.com>
105+
lkwdwrd <woodward.lucas@gmail.com>
106+
Marc Addeo <marcaddeo@gmail.com>
107+
Marco <mcastelluccio@mozilla.com>
108+
marcoceppi <marco@ceppi.net>
109+
Mark Jaquith <mark.github@txfx.net>
110+
Mark Kimsal <metrofindings@gmail.com>
111+
Mark McEver <mark@fastmail.net>
112+
matiskay <matiskay@gmail.com>
113+
mattes <matthias.kadenbach@gmail.com>
114+
mattheu <matthew@matth.eu>
115+
MattiaG <bots@mattiaghedin.it>
116+
mbovel <matthieu@bovel.net>
117+
mboynes <mboynes@alleyinteractive.com>
118+
mgburns <mgburns@bu.edu>
119+
mgburns <mike@grady-etc.com>
120+
Mihail Minkov <Mihail.Minkov.BG@gmail.com>
121+
Mike Pretzlaw <pretzlaw@gmail.com>
122+
mikey dubs <mike@herebox.org>
123+
milesj <mileswjohnson@gmail.com>
124+
MiteshShah <Mitesh.Shah@rtCamp.com>
125+
miya0001 <miya@wpist.me>
126+
Morgan Estes <morgan.estes@gmail.com>
127+
mpeshev <mario@peshev.net>
128+
mwilliamson <michael.williamson@red-gate.com>
129+
mwilliamson <mike@zwobble.org>
130+
mwithheld <vhmark@gmail.com>
131+
nacin <andrewnacin@gmail.com>
132+
Nate Wright <natew@notthisway.com>
133+
navitronic <adrian@navitronic.co.uk>
134+
nb <nb@nikolay.bg>
135+
Ned Zimmerman <ned@bight.ca>
136+
nickdaugherty <ndaugherty987@gmail.com>
137+
nikhilc@bsf.io <nikhilc@bsf.io>
138+
nikolay <nikolay@users.noreply.github.com>
139+
nikolay <nikolaynkolev@gmail.com>
140+
Nilambar Sharma <ernilambar@users.noreply.github.com>
141+
Nilambar Sharma <nilambar@outlook.com>
142+
nschoenholtz <noah@alleyinteractive.com>
143+
nullvariable <nullvariable@gmail.com>
144+
nyordanov <me@nyordanov.com>
145+
ocean90 <dominikschilling+git@gmail.com>
146+
oknoway <nate@oknoway.com>
147+
om4james <james@jamesc.id.au>
148+
om4james <james@om4.com.au>
149+
oneumyvakin <oneumyvakin@gmail.com>
150+
Otto Kekäläinen <otto@seravo.fi>
151+
ozh <ozh@ozh.org>
152+
Patrick Karjala <pkarjala@gmail.com>
153+
Pete Nelson <pete@petenelson.com>
154+
pete@petenelson.com <petenelson@fortress.local>
155+
Peter J. Herrel <peterherrel@gmail.com>
156+
phh <phh@peytz.dk>
157+
Pippin Williamson <pippin@pippinsplugins.com>
158+
QWp6t <QWp6t+github@xpdnc.org>
159+
Rachel Baker <rachel@rachelbaker.me>
160+
Radu Dan <za_creature@yahoo.com>
161+
Rahul Prajapati <rahul.prajapati@rtcamp.com>
162+
Rarst <contact@rarst.net>
163+
robertboloc <robertboloc@gmail.com>
164+
Robin Schneider <ypid@riseup.net>
165+
rodrigoprimo <rodrigo@hacklab.com.br>
166+
rodrigoprimo <rodrigosprimo@gmail.com>
167+
Roel Veldhuizen <roel@inesta.nl>
168+
roelveldhuizen <roel@inesta.nl>
169+
roelven <roel@soundcloud.com>
170+
Ross Hattori <rhattori@saymedia.com>
171+
Ryan Hoover <ryanshoover@gmail.com>
172+
Ryan McCue <me@ryanmccue.info>
173+
Ryan Williams <ryrowi@gmail.com>
174+
ryanduff <ryan@fusionized.com>
175+
santagada <santagada@gmail.com>
176+
sboisvert <stephane.boisvert@automattic.com>
177+
scribu <mail@scribu.net>
178+
scribu <scribu@gmail.com>
179+
sebastiaandegeus <sebastiaan@hoppinger.com>
180+
Shinichi Nishikawa <shinichi.nishikawa@gmail.com>
181+
sibprogrammer <ayuzhakov@parallels.com>
182+
simonwheatley <simonw@codeforthepeople.com>
183+
smhmic <smhmic@gmail.com>
184+
soulou <leo@soulou.fr>
185+
spacedmonkey <spacedmonkey2@gmail.com>
186+
SpikesDivZero <wesley.spikes@gmail.com>
187+
spuriousdata <spuriousdata@gmail.com>
188+
Stephen Beemsterboer <balbuf@users.noreply.github.com>
189+
Stephen Edgar <stephen@netweb.com.au>
190+
Stephen Harris <contact@stephenharris.info>
191+
Stephen Harris <Stephen.Harris@gov.scot>
192+
Stephen Harris <Stephen.Harris@scotland.gsi.gov.uk>
193+
Steve Grunwell <steve.grunwell@10up.com>
194+
Steve Grunwell <steve@stevegrunwell.com>
195+
Steve Grunwell <stevegrunwell@gmail.com>
196+
Steve Persch <steve.persch@pantheon.io>
197+
Steven K Word <stevenword@gmail.com>
198+
stianlik <stianlik@gmail.com>
199+
Stéphane HULARD <s.hulard@chstudio.fr>
200+
svaj <chris@chrisbot.(none)>
201+
Svetoslav Marinov (Slavi) <slavi@orbisius.com>
202+
szepeviktor <viktor@szepe.net>
203+
taupecat <tracy@taupecat.com>
204+
tddewey <td@tddewey.com>
205+
thisislawatts <luke@thisis.la>
206+
tiagohillebrandt <tiagohillebrandt@ubuntu.com>
207+
tlovett1 <admin@taylorlovett.com>
208+
tolgap <tolga@hoppinger.com>
209+
tollmanz <tollmanz@gmail.com>
210+
tollmanz <zack@zackdev.com>
211+
toszcze <toszcze@gmail.com>
212+
tott <tott@automattic.com>
213+
Travis Northcutt <travis@memberup.co>
214+
trepmal <trepmal@gmail.com>
215+
Tristan Penman <tristan@tristanpenman.com>
216+
twisty <tim@brayshaw.com>
217+
twratajczak <tomasz.ratajczak@espeo.pl>
218+
Utkarsh Patel <iamutkarsh@live.com>
219+
Veered <lucashansne@gmail.com>
220+
veganista <liam@nanothree.net>
221+
Ville Vuorenmaa <villevuor@gmail.com>
222+
voldemortensen <voldemortensen@users.noreply.github.com>
223+
Wendell Júnior <wrnx00@gmail.com>
224+
Wes Moberly <wesm87@gmail.com>
225+
Wes Moberly <wesm87@users.noreply.github.com>
226+
westonruter <weston@x-team.com>
227+
westonruter <westonruter@gmail.com>
228+
William Turrell <william@wturrell.co.uk>
229+
willmot <tom@humanmade.co.uk>
230+
wojsmol <wojsmol@wp.pl>
231+
wopr42 <john@zippykid.com>
232+
yivi <ivan@ojiva.es>
233+
yivi <ivan@yivoff.com>
234+
ziz <justin@crowdfavorite.com>

.travis.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
sudo: false
2+
3+
language: php
4+
5+
env:
6+
global:
7+
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
8+
9+
matrix:
10+
include:
11+
- php: 7.1
12+
env: WP_VERSION=latest
13+
- php: 7.0
14+
env: WP_VERSION=latest
15+
- php: 5.6
16+
env: WP_VERSION=trunk
17+
- php: 5.6
18+
env: WP_VERSION=latest
19+
- php: 5.6
20+
env: WP_VERSION=latest BUILD=git WP_CLI_BIN_DIR=''
21+
- php: 5.6
22+
env: WP_VERSION=3.7.11
23+
- php: 5.3
24+
env: WP_VERSION=3.7.11 DEPLOY_BRANCH=master
25+
26+
before_script: ./ci/prepare.sh
27+
28+
script: ./ci/test.sh
29+
30+
after_success: ./ci/deploy.sh
31+
32+
cache:
33+
directories:
34+
- vendor
35+
- $HOME/.composer/cache
36+
37+
branches:
38+
only:
39+
- master
40+
41+
notifications:
42+
email:
43+
on_success: never
44+
on_failure: change

CONTRIBUTING.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Contributing
2+
============
3+
4+
Welcome and thanks!
5+
6+
We appreciate you taking the initiative to contribute to WP-CLI. It’s because of you, and the community around you, that WP-CLI is such a great project.
7+
8+
**Contributing isn’t limited to just code.** We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.
9+
10+
Please take a moment to read these guidelines at depth. Following the guidelines helps to communicate that you respect the time of the other contributors to the project. In turn, they’ll do their best to reciprocate that respect when working with you, across timezones and around the world.
11+
12+
### Reporting a bug
13+
14+
Think you’ve found a bug? We’d love for you to help us get it fixed.
15+
16+
Before you create a new issue, you should [search existing issues](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version of WP-CLI. You should also check our [documentation on common issues and their fixes](https://wp-cli.org/docs/common-issues/).
17+
18+
Once you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [follow our guidelines for submitting a bug report](http://wp-cli.org/docs/bug-reports/) to make sure it gets addressed in a timely manner.
19+
20+
### Creating a pull request
21+
22+
Want to contribute a new feature? WP-CLI is a mature project, and already chock-full of useful functionality. Please first [open a new issue](https://github.com/wp-cli/wp-cli/issues/new) to discuss whether the feature is a good fit for WP-CLI core, or might be better suited as a [community package](https://wp-cli.org/package-index/).
23+
24+
New to the WP-CLI codebase? Check out [issues labeled 'good-first-issue'](https://github.com/wp-cli/wp-cli/labels/good-first-issue) for a place to start. These issues are specially earmarked for new contributors.
25+
26+
Once you've decided to commit the time to seeing your pull request through, please [follow our guidelines for creating a pull request](https://wp-cli.org/docs/pull-requests/) to make sure it's a pleasant experience.
27+
28+
### Improving our documentation
29+
30+
Is documentation your strength? Take a look at the currently open [documentation issues](https://github.com/wp-cli/wp-cli/issues?q=is%3Aopen+is%3Aissue+label%3Ascope%3Adocumentation) and see if you can tackle any of those.
31+
32+
If you believe you’ve found an issue with the documentation, you should [search existing issues](https://github.com/wp-cli/wp-cli/issues?utf8=%E2%9C%93&q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version of WP-CLI.
33+
34+
There are a couple different types of documentation currently part of WP-CLI:
35+
36+
* Documentation for individual WP-CLI commands (anything underneath [http://wp-cli.org/commands](http://wp-cli.org/commands)) is contained in the PHPDoc for each command. This means that to edit the documentation for a command, you will need to edit the file that actually provides the functionality for that command. The web documentation is generated from these files at the time of release, so you may not see your changes until the next release.
37+
* Individual documentation pages (anything under [http://wp-cli.org/docs/](http://wp-cli.org/docs/) can be edited by contributing to the [wp-cli.github.com repository on GitHub](https://github.com/wp-cli/wp-cli.github.com). You don't necessarily need to navigate the Github repo though; any page that is part of this repository will have an 'Edit' link in the top right of the page which will take you to the corresponding file on GitHub.
38+
39+
### Contributing in other ways
40+
41+
Feel free to [create an issue](https://github.com/wp-cli/wp-cli/issues/new) with your question, and we'll see if we can find an answer for it.
42+
43+
Alternatively, if you have a WordPress.org account, you may also consider joining the `#cli` channel on the [WordPress.org Slack organization](https://make.wordpress.org/chat/).

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (C) 2011-2017 WP-CLI Development Group (https://github.com/wp-cli/wp-cli/contributors)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

0 commit comments

Comments
 (0)