wearerequired / traduttore

🗼 A WordPress plugin to improve the I18N workflow for your own projects based on @GlotPress.
https://wearerequired.github.io/traduttore/
72 stars 15 forks source link

WP-CLI Project Update command does not add VCS type and Repo URL #125

Closed grappler closed 5 years ago

grappler commented 5 years ago

Issue Overview When running wp traduttore project update 17 the VCS type and Repo URL are not updated when viewing it in wp traduttore project info 17

To Reproduce Steps to reproduce the behavior:

  1. Run wp traduttore project update 17
  2. Run wp traduttore project info 17
  3. See that the VCS type and Repo URL are still unknown

Expected behavior VCS type and Repo URL should be updated like when the request to the route is made.

Screenshots image

swissspidy commented 5 years ago

Hmm not so sure about that 😕

When we receive an incoming webhook we can be pretty sure about VCS type, repo URL, visibility, etc.

If all that information is missing and you run wp traduttore project update, we can only guess that data.

grappler commented 5 years ago

Just for documentation. The following information are only provided from the GitHub webhook.

Repository URL:     (unknown)
Repository VCS Type:    (unknown)