Skip to content

Commit 782cd64

Browse files
Update package with latest scaffolded components
1 parent 489cd34 commit 782cd64

File tree

15 files changed

+728
-103
lines changed

15 files changed

+728
-103
lines changed

.github/ISSUE_TEMPLATE

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!--
2+
3+
Thanks for creating a new issue!
4+
5+
Found a bug or want to suggest an enhancement? Before completing your issue, please review our best practices: https://make.wordpress.org/cli/handbook/bug-reports/
6+
7+
Need help with something? GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
8+
9+
You can safely delete this comment.
10+
11+
-->

.github/PULL_REQUEST_TEMPLATE

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!--
2+
3+
Thanks for submitting a pull request!
4+
5+
Here's an overview to our process:
6+
7+
1. One of the project committers will soon provide a code review.
8+
2. You are expected to address the code review comments in a timely manner.
9+
3. Please make sure to include functional tests for your changes.
10+
4. The reviewing committer will merge your pull request as soon as it passes code review (and provided it fits within the scope of the project).
11+
12+
You can safely delete this comment.
13+
14+
-->

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ node_modules/
44
vendor/
55
*.zip
66
*.tar.gz
7-
composer.lock

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ matrix:
2929
env: WP_VERSION=latest
3030
- php: 5.6
3131
env: WP_VERSION=latest
32+
- php: 5.6
33+
env: WP_VERSION=3.7.11
3234
- php: 5.6
3335
env: WP_VERSION=trunk
3436
- php: 5.3
@@ -46,4 +48,4 @@ before_script:
4648
- composer validate
4749

4850
script:
49-
- ./bin/test.sh
51+
- bash bin/test.sh

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Contributing
2+
============
3+
4+
We appreciate you taking the initiative to contribute to this project.
5+
6+
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.
7+
8+
For a more thorough introduction, [check out WP-CLI's guide to contributing](https://make.wordpress.org/cli/handbook/contributing/). This package follows those policy and guidelines.

README.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Manage WordPress plugins and themes.
55

66
[![Build Status](https://travis-ci.org/wp-cli/extension-command.svg?branch=master)](https://travis-ci.org/wp-cli/extension-command)
77

8-
Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing)
8+
Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contributing) | [Support](#support)
99

1010
## Using
1111

@@ -1226,30 +1226,25 @@ We appreciate you taking the initiative to contribute to this project.
12261226

12271227
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.
12281228

1229+
For a more thorough introduction, [check out WP-CLI's guide to contributing](https://make.wordpress.org/cli/handbook/contributing/). This package follows those policy and guidelines.
1230+
12291231
### Reporting a bug
12301232

12311233
Think you’ve found a bug? We’d love for you to help us get it fixed.
12321234

12331235
Before you create a new issue, you should [search existing issues](https://github.com/wp-cli/extension-command/issues?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.
12341236

1235-
Once you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [create a new issue](https://github.com/wp-cli/extension-command/issues/new) with the following:
1236-
1237-
1. What you were doing (e.g. "When I run `wp post list`").
1238-
2. What you saw (e.g. "I see a fatal about a class being undefined.").
1239-
3. What you expected to see (e.g. "I expected to see the list of posts.")
1240-
1241-
Include as much detail as you can, and clear steps to reproduce if possible.
1237+
Once you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [create a new issue](https://github.com/wp-cli/extension-command/issues/new). Include as much detail as you can, and clear steps to reproduce if possible. For more guidance, [review our bug report documentation](https://make.wordpress.org/cli/handbook/bug-reports/).
12421238

12431239
### Creating a pull request
12441240

12451241
Want to contribute a new feature? Please first [open a new issue](https://github.com/wp-cli/extension-command/issues/new) to discuss whether the feature is a good fit for the project.
12461242

1247-
Once you've decided to commit the time to seeing your pull request through, please follow our guidelines for creating a pull request to make sure it's a pleasant experience:
1243+
Once you've decided to commit the time to seeing your pull request through, [please follow our guidelines for creating a pull request](https://make.wordpress.org/cli/handbook/pull-requests/) to make sure it's a pleasant experience. See "[Setting up](https://make.wordpress.org/cli/handbook/pull-requests/#setting-up)" for details specific to working on this package locally.
1244+
1245+
## Support
12481246

1249-
1. Create a feature branch for each contribution.
1250-
2. Submit your pull request early for feedback.
1251-
3. Include functional tests with your changes. [Read the WP-CLI documentation](https://wp-cli.org/docs/pull-requests/#functional-tests) for an introduction.
1252-
4. Follow the [WordPress Coding Standards](http://make.wordpress.org/core/handbook/coding-standards/).
1247+
Github issues aren't for general support questions, but there are other venues you can try: http://wp-cli.org/#support
12531248

12541249

12551250
*This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*

bin/test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
set -ex
44

5+
# Run the unit tests, if they exist
6+
if [ -f "phpunit.xml" ] || [ -f "phpunit.xml.dist" ]
7+
then
8+
phpunit
9+
fi
10+
511
# Run the functional tests
612
BEHAT_TAGS=$(php utils/behat-tags.php)
713
behat --format progress $BEHAT_TAGS --strict

0 commit comments

Comments
 (0)