Skip to content

Verify a specific plugin version#108

Merged
danielbachhuber merged 10 commits intowp-cli:mainfrom
reflexive-communications:verify-plugin-version
May 23, 2023
Merged

Verify a specific plugin version#108
danielbachhuber merged 10 commits intowp-cli:mainfrom
reflexive-communications:verify-plugin-version

Conversation

@semseysandor
Copy link
Contributor

closes #106

@semseysandor semseysandor requested a review from a team as a code owner May 22, 2023 15:41
@semseysandor
Copy link
Contributor Author

Functional tests are failing, and I don't know the reason. I've tried a few variations and I think the code is working as expected.

Checking the output from "Run Behat" step:

  • wp plugin verify-checksums duplicate-post --format=json --version=3.2.2 returns with exit code 1
  • stdout lists differences between 3.2.1 and 3.2.2
  • stderr has the error message

I believe the same assertions are specified in the scenario (or at least that was my intention), and this is what should happen.

@danielbachhuber do you have any idea?

@semseysandor semseysandor changed the title Verify a specific plugin version WIP: Verify a specific plugin version May 22, 2023
@semseysandor
Copy link
Contributor Author

OK, now tests are passing, it's ready for review!

@semseysandor semseysandor changed the title WIP: Verify a specific plugin version Verify a specific plugin version May 22, 2023
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

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

Looks pretty good! Just a few nits to address, and then it should be ready to ship.

semseysandor and others added 3 commits May 23, 2023 15:46
Co-authored-by: Daniel Bachhuber <daniel@bachhuber.co>
Co-authored-by: Daniel Bachhuber <daniel@bachhuber.co>
@danielbachhuber danielbachhuber added this to the 2.2.1 milestone May 23, 2023
@danielbachhuber danielbachhuber added the command:plugin-verify-checksums Related to 'plugin verify-checksums' command label May 23, 2023
@danielbachhuber danielbachhuber self-requested a review May 23, 2023 16:50
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

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

Thanks for your work on this, @semseysandor !

@danielbachhuber danielbachhuber merged commit 058df1e into wp-cli:main May 23, 2023
@semseysandor semseysandor deleted the verify-plugin-version branch May 23, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command:plugin-verify-checksums Related to 'plugin verify-checksums' command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --version param to wp plugin verify-checksums

3 participants