dxw-wordpress-plugins / mirror-wordpress-plugins

Mirrors WordPress.org plugins to GitHub as versioned repos for use by Whippet
0 stars 0 forks source link

WordPress mirror does not catch all errors #19

Open snim2 opened 3 months ago

snim2 commented 3 months ago

The last run of the WordPress mirror said this:

==> Updated the following 5 plugin(s):
login-lockdown updated to version v2.10
category-specific-rss-feed-menu updated to version v2.3.1
contact-form-7 updated to version v5.9.5
final-tiles-grid-gallery-lite updated to version v3.6.0
rewrite-rules-inspector updated to version v1.4.0

However:

==> login-lockdown is v2.10 on WordPress and vv1.8.1 on GitHub
...mirroring to it now
==> Cloning the login-lockdown GitHub repo...
Cloning into '/home/runner/work/mirror-gitlab-plugins/mirror-gitlab-plugins/login-lockdown'...
==> Fetching and extracting latest release from wordpress.org
==> Committing and tagging the repo with both full and major version tags...
fatal: tag 'v2.10' already exists

...

==> Checking status of category-specific-rss-feed-menu...
==> Querying GitHub for latest version ...
==> Querying api.wordpress.org for latest version ...
==> category-specific-rss-feed-menu is v2.3.1 on WordPress and vv2.3 on GitHub
...mirroring to it now
==> Cloning the category-specific-rss-feed-menu GitHub repo...
Cloning into '/home/runner/work/mirror-gitlab-plugins/mirror-gitlab-plugins/category-specific-rss-feed-menu'...
==> Fetching and extracting latest release from wordpress.org
==> Committing and tagging the repo with both full and major version tags...
fatal: tag 'v2.3.1' already exists

The other updates were fine, but these should have raised an exception.