Skip to content

wp-cli support to index by date range#20

Merged
mboynes merged 20 commits intomasterfrom
feature/cli_index_by_range_date
Dec 11, 2015
Merged

wp-cli support to index by date range#20
mboynes merged 20 commits intomasterfrom
feature/cli_index_by_range_date

Conversation

@alexisbellido
Copy link
Copy Markdown
Contributor

No description provided.

@xmattus
Copy link
Copy Markdown

xmattus commented Dec 2, 2015

This seems good to me, but please look into the travis errors and make sure all the tests pass before merging. It looks like this isn't related to the actual functionality here, but has to do with some missing unrelated WP-API libraries. If you're stuck, ping me and we'll look at it. We just need to make sure Travis is working so we diagnose legitimately non-passing tests in the future.

@mboynes
Copy link
Copy Markdown
Contributor

mboynes commented Dec 2, 2015

Please make it such that you can specify the start or end and not have to specify both. I will definitely want to use this to index all posts after a certain date, and there should be no need to have to specify a future date as the end

bin/wp-cli.php Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please declare this property in the class

@alexisbellido
Copy link
Copy Markdown
Contributor Author

Tests passing now. I borrowed the travis setup from Fieldmanager. I think I could just remove bin/install-wp-tests.sh as everything is setup in .travis.yml now.

@danielbachhuber
Copy link
Copy Markdown

I think I could just remove bin/install-wp-tests.sh as everything is setup in .travis.yml now.

If you use bin/install-wp-tests.sh, you can more easily apply the myriad of improvements we continue to make to the script.

.travis.yml Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these versions are all outdated. plus update this to 4.2, 4.3, and master (and remove the 4th version)

@xmattus
Copy link
Copy Markdown

xmattus commented Dec 8, 2015

Looks like we get a bonus modernization of the SP testing framework out of this PR too. Nice work!

🐴

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to revert the changes to this file. I'm sure there's a reason why you did this, so let's discuss in Slack, but this was very deliberate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants