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

Topics are separated by a hyphen #26

Closed snim2 closed 3 months ago

snim2 commented 3 months ago

Unlike in GitLab, where ':' and '::' are commonly used as label separators, GitHub only allows characters in the range [A-Za-z0-9-] in topics.

This commit changes the colon separator to a hyphen. It does not change the 'skip-mirror' topic.

See: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics

Testing

I don't think much is needed here. A dry-run of the script won't catch this error because the dry-run doesn't actually set a topic. If you want to see the error message, manually setting a topic for this repo will trigger it.