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 <[email protected]>
2+
Akeda Bagus <[email protected]>
3+
Alex Mills <[email protected]>
4+
Anant Shrivastava <[email protected]>
5+
Andreas Heigl <[email protected]>
6+
andreascreten <[email protected]>
7+
Andrew Patton <[email protected]>
8+
andyexeter <[email protected]>
9+
10+
bartaakos <[email protected]>
11+
12+
Bernhard Kau <[email protected]>
13+
Bobby Walters <[email protected]>
14+
BoiteAWeb <[email protected]>
15+
boonebgorges <[email protected]>
16+
Borek Bernard <[email protected]>
17+
18+
Brad Parbs <[email protected]>
19+
Brandon Kraft <[email protected]>
20+
Brian MacKinney <[email protected]>
21+
builtbylane <[email protected]>
22+
23+
24+
Chris Montgomery <[email protected]>
25+
clemens-tolboom <[email protected]>
26+
27+
Corey Worrell <[email protected]>
28+
ctayloroomphinc <[email protected]>
29+
cyberhobo <[email protected]>
30+
daithi-coombes <[email protected]>
31+
dangardner <[email protected]>
32+
Daniel Bachhuber <[email protected]>
33+
danielbachhuber <[email protected]>
34+
danielbachhuber <[email protected]>
35+
danielbachhuber <[email protected]>
36+
Dave Leach <[email protected]>
37+
38+
39+
drrobotnik <[email protected]>
40+
Duncan Brown <[email protected]>
41+
dwightjack <[email protected]>
42+
Eduardo Alencar <[email protected]>
43+
eliorivero <[email protected]>
44+
Enrico Sorcinelli <[email protected]>
45+
ericandrewlewis <[email protected]>
46+
47+
ernilambar <[email protected]>
48+
49+
eugeneware <[email protected]>
50+
Evan Mattson <[email protected]>
51+
Fabian Isele <[email protected]>
52+
francescolaffi <[email protected]>
53+
Frank Staude <[email protected]>
54+
Frankie Jarrett <[email protected]>
55+
future500 <[email protected]>
56+
Gary Jones <[email protected]>
57+
58+
getsource <[email protected]>
59+
Gilbert Pellegrom <[email protected]>
60+
61+
goldenapples <[email protected]>
62+
goldenapples <[email protected]>
63+
Grant McInnes <[email protected]>
64+
Greg Anderson <[email protected]>
65+
hideokamoto <[email protected]>
66+
Hidetaka Okamoto <[email protected]>
67+
68+
hinoue-work <[email protected]>
69+
Hiroshi Urabe <[email protected]>
70+
71+
itsananderson <[email protected]>
72+
73+
jacobischwartz <[email protected]>
74+
Jakub Juszczak <[email protected]>
75+
Jan Voráček <[email protected]>
76+
77+
Jeff Gould <[email protected]>
78+
79+
Jeremy Pry <[email protected]>
80+
jghazally <[email protected]>
81+
jghazally <[email protected]>
82+
Jim Reevior <[email protected]>
83+
84+
John Blackbourn <[email protected]>
85+
johnbillion <[email protected]>
86+
johnpbloch <[email protected]>
87+
johnpbloch <[email protected]>
88+
jonathanbardo <[email protected]>
89+
Jorge A. Torres <[email protected]>
90+
Josh Eaton <[email protected]>
91+
92+
joshlevinson <[email protected]>
93+
joshstoik1 <[email protected]>
94+
Joshua Priddle <[email protected]>
95+
96+
jtsternberg <[email protected]>
97+
98+
Keanan Koppenhaver <[email protected]>
99+
Keith Grennan <[email protected]>
100+
Kevin Doole <[email protected]>
101+
Kevinlearynet <[email protected]>
102+
kidfiction <[email protected]>
103+
lackingpenguin <[email protected]>
104+
leewillis77 <[email protected]>
105+
106+
Marc Addeo <[email protected]>
107+
108+
marcoceppi <[email protected]>
109+
Mark Jaquith <[email protected]>
110+
Mark Kimsal <[email protected]>
111+
Mark McEver <[email protected]>
112+
113+
114+
115+
116+
117+
118+
119+
120+
Mihail Minkov <[email protected]>
121+
Mike Pretzlaw <[email protected]>
122+
mikey dubs <[email protected]>
123+
124+
MiteshShah <[email protected]>
125+
126+
Morgan Estes <[email protected]>
127+
128+
mwilliamson <[email protected]>
129+
mwilliamson <[email protected]>
130+
mwithheld <[email protected]>
131+
132+
Nate Wright <[email protected]>
133+
navitronic <[email protected]>
134+
135+
Ned Zimmerman <[email protected]>
136+
nickdaugherty <[email protected]>
137+
138+
139+
140+
Nilambar Sharma <[email protected]>
141+
Nilambar Sharma <[email protected]>
142+
nschoenholtz <[email protected]>
143+
nullvariable <[email protected]>
144+
nyordanov <[email protected]>
145+
146+
147+
148+
149+
oneumyvakin <[email protected]>
150+
Otto Kekäläinen <[email protected]>
151+
152+
Patrick Karjala <[email protected]>
153+
Pete Nelson <[email protected]>
154+
155+
Peter J. Herrel <[email protected]>
156+
157+
Pippin Williamson <[email protected]>
158+
159+
Rachel Baker <[email protected]>
160+
161+
Rahul Prajapati <[email protected]>
162+
163+
robertboloc <[email protected]>
164+
Robin Schneider <[email protected]>
165+
rodrigoprimo <[email protected]>
166+
rodrigoprimo <[email protected]>
167+
Roel Veldhuizen <[email protected]>
168+
roelveldhuizen <[email protected]>
169+
170+
Ross Hattori <[email protected]>
171+
Ryan Hoover <[email protected]>
172+
Ryan McCue <[email protected]>
173+
Ryan Williams <[email protected]>
174+
175+
santagada <[email protected]>
176+
sboisvert <[email protected]>
177+
178+
179+
sebastiaandegeus <[email protected]>
180+
Shinichi Nishikawa <[email protected]>
181+
sibprogrammer <[email protected]>
182+
simonwheatley <[email protected]>
183+
184+
185+
spacedmonkey <[email protected]>
186+
SpikesDivZero <[email protected]>
187+
spuriousdata <[email protected]>
188+
Stephen Beemsterboer <[email protected]>
189+
Stephen Edgar <[email protected]>
190+
Stephen Harris <[email protected]>
191+
Stephen Harris <[email protected]>
192+
Stephen Harris <[email protected]>
193+
Steve Grunwell <[email protected]>
194+
Steve Grunwell <[email protected]>
195+
Steve Grunwell <[email protected]>
196+
Steve Persch <[email protected]>
197+
Steven K Word <[email protected]>
198+
199+
Stéphane HULARD <[email protected]>
200+
svaj <chris@chrisbot.(none)>
201+
Svetoslav Marinov (Slavi) <[email protected]>
202+
szepeviktor <[email protected]>
203+
204+
205+
thisislawatts <[email protected]>
206+
tiagohillebrandt <[email protected]>
207+
208+
209+
210+
211+
212+
213+
Travis Northcutt <[email protected]>
214+
215+
Tristan Penman <[email protected]>
216+
217+
twratajczak <[email protected]>
218+
Utkarsh Patel <[email protected]>
219+
220+
veganista <[email protected]>
221+
Ville Vuorenmaa <[email protected]>
222+
voldemortensen <[email protected]>
223+
Wendell Júnior <[email protected]>
224+
Wes Moberly <[email protected]>
225+
Wes Moberly <[email protected]>
226+
westonruter <[email protected]>
227+
westonruter <[email protected]>
228+
William Turrell <[email protected]>
229+
230+
231+
232+
233+
234+

.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)