Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updater rewrite #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updater rewrite #3

wants to merge 1 commit into from

Conversation

Mike-Hermans
Copy link
Member

This update fixes a problem where the updater would stop working if:

  1. A package has a description
  2. An error message is present

For example, if composer outdated --direct -m shows this:
Screenshot from 2020-08-20 14-35-41

Since the updater checks the first word, and then keeps skipping 2 words everytime to check if there are versions present, the updater will try to update some words of the description, such as 'logs' or 'inboxes,'. This also messes up the packages that follow after.

This change also updates the changelog to show what versions are changed. The commit message will change from:
update wpackagist-plugin/woocommerce plugin
To;
update wpackagist-plugin/woocommerce [3.8.4 => 4.4.2]

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

Successfully merging this pull request may close these issues.

None yet

1 participant