Remove Git Updater Lite dependency#237
Conversation
Signed-off-by: Andy Fragen <andy@thefragens.com>
|
Remove the |
Signed-off-by: Andy Fragen <andy@thefragens.com>
For other reviewersAs stated in the PR's description:
|
|
@afragen I'm flagging this for 1.2 :) |
Signed-off-by: Andy Fragen <andy@thefragens.com>
Signed-off-by: Andy Fragen <andy@thefragens.com>
|
Blocked by #236 |
|
I believe since the 1.4 the plugin is using the DID update mechanism instead of the bundled Secondly, the git-updater doesn't appear to work with the DID suffixed plugin directories like https://api.fair.pm/git-updater/v1/update-api/?slug=fair-32405b (returns |
|
@kasparsd Git Updater does work with hashed slugs in plugins or themes directories. We were not yet removing this as there was concern that if we did, anyone still on a version earlier than FAIR Connect 1.4.1 wouldn't see any updates. |
|
That endpoint is accurate as there is not an installed repository at |
@afragen Can you please elaborate on this? On future upgrades from v1.4 the DID update path is used which also triggers the directory rename to include the did-hash. I confirmed this by lowering a v1.4 install to
The {"error":"Specified repo does not exist."}Even if it did return a response, the lifecycle order of hooks makes the DID response override the So older versions with bundled
Can you please elaborate on that? Every version of FAIR connect until (and including) 1.4 has the |
|
I thought we fixed it so that if a package was installed via DID it would retain the hashed slug and if it was installed by any other means then the slug would stay unhashed. This would prevent any updates from resulting in a deactivated plugin. This was previously tested and working. Can you provide explicit instructions on how your testing changed the slug? Was it due to new code changes? |
|
I'm confused. It appears that your installation of the plugin is incorrect. The plugin slug should be |

Do NOT merge until
fair-pluginhas a registered DID and it is set in the plugin headers.This will remove the GIt Updater Lite dependency for updating the
fair-plugin.See #236